Hi,
I want to remove Featured, latest, Latest by category, specials product Description on home page of opencart 2.0.1.1. I just want to display only Product Image, price, Add to cart, wish list, compare.
Please help me to this problem. how do i solve it.
Thanks in Advance.
Hi Indicsoft. Did you ever find a solution for controlling where the product short descriptions are displayed and not displayed.
We can hack it out of the code by modifying some files, but since we're running multi-store I'd like to have a method to surpress the description depending on A) the store and B) the view (ie Category list, specials, featured, etc.)
Anyone have a suggested extension? We'll gladly buy one but we can find any.
We can hack it out of the code by modifying some files, but since we're running multi-store I'd like to have a method to surpress the description depending on A) the store and B) the view (ie Category list, specials, featured, etc.)
Anyone have a suggested extension? We'll gladly buy one but we can find any.
This is a very simplistic solution. To remove the description from modules. By using a custom theme, simply find in your catalog/theme/<your_theme>/template/module folder each of the subject lines mentioned above with:
remove the line from each subjects. This should resolved the problem.
Code: Select all
<p><?php echo $product['description']; ?></p>
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Thanks Straightlight. Worked fine for me.
I'm getting PHP Notice: Undefined index: description in /home/xxxxxxx/public_html/vqmod/vqcache/vq2-system_modification_catalog_view_theme_default_template_product_category.tpl on line 100
PHP Notice: Undefined index: status in /home/xxxxxx/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_common_column_left.php on line 212
and a few others. Must have chopped a little deep!! At least it's working without the hideous descriptions!
Cheers.
I'm getting PHP Notice: Undefined index: description in /home/xxxxxxx/public_html/vqmod/vqcache/vq2-system_modification_catalog_view_theme_default_template_product_category.tpl on line 100
PHP Notice: Undefined index: status in /home/xxxxxx/public_html/vqmod/vqcache/vq2-system_modification_catalog_controller_common_column_left.php on line 212
and a few others. Must have chopped a little deep!! At least it's working without the hideous descriptions!
Cheers.
VQCache errors are part of installed contributions from XML files. Not part of the core.
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 66 guests