PrestaShop 1.6. How to change number of symbols in different sections

This tutorial shows how to change the number of symbols in category short description, product short description, and product name in category listing of PrestaShop 1.6.x.

zemez wordpress themes
  1. Inspect the class of the element you need to update you want to change using Firebug tool. It can be enabled with the right click on the screen and selecting Inspect Element from the drop down menu: 
  2. Copy class or element ID and open the themes/themeXXX directory of the template package. Use the Search tool to find the class. Open and edit the required file on the server.
  3. Connect to server via FTP or open cPanel File Manager and go to themes/themeXXX directory.
  4. Open the category.tpl to change category short description length. Find the following code:
  5. Change it to:
  6. Replace 25 with the number of symbols you would like to display.

  7. To change product name length on category listing page, open the product-list.tpl file located in the themes/themeXXX directory of PrestaShop installation, find the following line:
  8. Replace the number of symbols in truncate with yours.

  9. To change product short description length on category listing page, open the product-list.tpl file located in the themes/themeXXX directory of PrestaShop installation, find the following line:
  10. Save the changes and refresh your website.

Hopefully, this tutorial was helpful for you.

monster one