PsMax Posted January 7, 2014 Share Posted January 7, 2014 When add to cart with ajax it display the product name with trunct, i need to remove the trunct! where?? Link to comment Share on other sites More sharing options...
shailendra Posted January 7, 2014 Share Posted January 7, 2014 When add to cart with ajax it display the product name with trunct, i need to remove the trunct! where?? If you are using default theme then go to modules/blockcart/blockcart.tpl line no. 71 there you can find {$product.name|truncate:13:'...'|escape:html:'UTF-8'} Link to comment Share on other sites More sharing options...
PsMax Posted January 8, 2014 Author Share Posted January 8, 2014 It effect the product name after refresh, but when i add the product to cart with ajax) and i open the header cart, it display the product name trunct!! Link to comment Share on other sites More sharing options...
shailendra Posted January 9, 2014 Share Posted January 9, 2014 It effect the product name after refresh, but when i add the product to cart with ajax) and i open the header cart, it display the product name trunct!! Did you made changes in root/themes/your-active-theme/modules/blockcart/blockcart.tpl file Link to comment Share on other sites More sharing options...
vekia Posted January 9, 2014 Share Posted January 9, 2014 blockcart-json.tpl probably, not blockcart.tpl there is a code: "name": "{$product.name|html_entity_decode:2:'UTF-8'|truncate:15:'...':true|escape:'htmlall'}", Link to comment Share on other sites More sharing options...
Recommended Posts