Page 2 of 2

Re: Remove description from product preview thumb

Posted: Fri Jun 10, 2016 7:40 pm
by fido-x
coldrex wrote:Like this:

<span class="price-tax"><?php echo $text_tax; ?><br /><?php echo $product['tax']; ?></span>

Nothing.
No. Put the <br /> before the opening <span class="price-tax">. Also, don't forget to clear and refresh your modifications.

Re: Remove description from product preview thumb

Posted: Fri Jun 10, 2016 7:54 pm
by coldrex
Done, but nothing.

Also cleared all modifications.

Re: Remove description from product preview thumb

Posted: Fri Jun 10, 2016 8:01 pm
by fido-x
Could you provide a link to your site?

Re: Remove description from product preview thumb

Posted: Fri Jun 10, 2016 8:05 pm
by coldrex
PM.

Re: Remove description from product preview thumb

Posted: Sat Jun 11, 2016 8:53 pm
by coldrex
fido-x wrote:
fido-x wrote:Look in the modules folder in your theme's template directory (catalog/view/theme/default/template/module/). The files you should be looking for are:
  • bestseller.tpl
    featured.tpl
    latest.tpl
    special.tpl
Just the files listed. They are the only modules that have a product description.
Restored initial css file and done again.

Nothing.

Re: Remove description from product preview thumb

Posted: Sat Jun 11, 2016 10:00 pm
by fido-x
Did you refresh your modification cache?

Re: Remove description from product preview thumb

Posted: Sat Jun 11, 2016 10:03 pm
by coldrex
I got it work here:

catalog/view/theme/default/template/product/category.tpl

On the category page now there is no description.

Re: Remove description from product preview thumb

Posted: Sat Jun 11, 2016 10:16 pm
by fido-x
fido-x wrote:Look in the modules folder in your theme's template directory (catalog/view/theme/default/template/module/). The files you should be looking for are:
  • bestseller.tpl
    featured.tpl
    latest.tpl
    special.tpl
You'll find this:

Code: Select all

<p><?php echo $product['description']; ?></p>
at line 9 in the above modules.

Don't forget to refresh your modification cache.

Re: Remove description from product preview thumb

Posted: Sun Jul 10, 2016 4:13 am
by coldrex
A very very strange thing again.

I deleted the string with $product['description']; , refreshed mod cache , but when I add featured products for any product- it still shows the description! :(

Wtf.

I really deleted this string from all possible files.

Re: Remove description from product preview thumb

Posted: Mon May 14, 2018 8:03 pm
by sunnet
hello, I'm updating the site to the 3x version of opencart. I had made this change on version 2, but on 3 I can not find the files and the string to edit