Jump to content

[SOLVED] cross-selling in cart block shows incomplete product name with "..."


Recommended Posts

Hey folks,

 

I noticed that the cross-selling in cart block shows incomplete product names with "...".

(See attached picture)

 

Do you know in what file do I have to modify the "truncate" value so it will show the complete product names?

 

I tried to change the default truncate value from 15 to 45 in the crossselling.tpl located under modules/blockcart but this has no effets.

 

Any help would be appreciated.

 

Cheers

Dan

 

 

post-406825-0-96608500-1399309849_thumb.jpg

Link to comment
Share on other sites

open file: themes/default-bootstrap/modules/crosseling/crosseling.tpl

there is a code like

{$orderProduct.name|truncate:15:'...'|escape:'html':'UTF-8'}

remove |truncate modifier or increase its value

 

for example:

{$orderProduct.name|truncate:45:'...'|escape:'html':'UTF-8'}
  • Like 1
Link to comment
Share on other sites

Thanks vekia,

 

I tried what you mentioned but that's not working...

 

Please note that I don't have the "Cross-selling" module installed. This is the cross-selling that is part of the Cart Block v1.5 Module.

 

I also cleared smarty cache and browser cache to make sure but still no effects.

Link to comment
Share on other sites

×
×
  • Create New...