Jump to content

solved help please how do you hide short product discription


Recommended Posts

You can do this by modifying the product-list.tpl file. You can find the file in the folder of your theme. For example, if you're using the default prestashop theme and your PrestaShop is installed directly in the public_html directory on your account, the path would be public_html/themes/prestashop/product-list.tpl. Comment out or delete the following code:

 

<p class="product_desc"><a href="{$product.link|escape:'htmlall':'UTF-8'}" title="{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'|escape:'htmlall':'UTF-8'}">{$product.description_short|truncate:360:'...'|strip_tags:'UTF-8'}</a></p>

 

To comment it out just put an exclamation mark and two hyphens after the first bracket (e.g. <!--p), and two hyphens before the last bracket (e.g. p-->).

 

Don't forget that when you edit template files you have to enable the Force Compile option from the back office (Preferences tab>Performance sub-tab) so that you can see the changes on the frontend.

 

Hope this helps.

Link to comment
Share on other sites

×
×
  • Create New...