Hi Guys,
Does anyone knows how to show the product main image on the downloads list in the customer account?
Thanks in advance
Here's an XML file you can use; tested on OC v2.1.0.1 release.
Then, in your catalog/view/theme/<your_theme>/template/account/download.tpl file,
find this portion from an entire line:
Copy the entire line and paste it right above. Then, replace the portion above with the following:
This should provide what you need.
Then, in your catalog/view/theme/<your_theme>/template/account/download.tpl file,
find this portion from an entire line:
Code: Select all
<?php echo $download['name']; ?>
Code: Select all
<img src="<?php echo $download['thumb']; ?>" alt="<?php echo $download['heading_title']; ?>" title="<?php echo $download['heading_title']; ?>" class="img-thumbnail" />
Attachments
Account Download Image
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Who is online
Users browsing this forum: No registered users and 26 guests