Jump to content

Truncated Product Names in Accessories?


don@ptg

Recommended Posts

I am looking for advise on what file truncates the product name to 17 characters in the accessories section on the bottom of the product pages. I did a search of all files in my prestashop folder and four files came up with truncate:18.

\modules\blockcart\blockcart-json.tpl

\modules\blockcart\blockcart.tpl

\themes\default-bootstrap\modules\blockcart\blockcart-json.tpl

\themes\default-bootstrap\modules\blockcart\blockcart.tpl

 

I tried changing the instances of truncate:18 in the files to truncate:40, one file at a time, then returning it to its original configuration if no change was noted after a refresh of the page. So far no changes in the files above have increased the product description length. It looks like the files names truncated above have something to do with a discount and are not what I need to change to see the results I am hoping for.  

 

Any advice is appreciated. 

Edited by don@ptg (see edit history)
Link to comment
Share on other sites

One more thing - you searched for truncate:18. 

Instead, you should have searched for 17 chars from the name + 3 dot chars ('...') - so the correct search is after truncate:20.

 

See Smarty > truncate function for more details:

 

Second parameter: 

This is a text string that replaces the truncated text. Its length is included in the truncation length setting.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...