Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /data/e/7/e76990b9-3372-4d88-8089-fce36e16744a/webperfection.net/sub/rady-nosu/wp-content/plugins/seo-ultimate/modules/class.su-module.php on line 1195
prestashop cart utf8 character problem with substr truncate title

May 4, 2013 | In: Programovanie

Prestashop – cart utf8 – truncate

prestashop cart utf8 character problem with substr title

modules/blockart/blockart-json.tpl
!!!! be aware of theme specific module folder!!!

around line 13 json format with smarty sh!t:

"name": "{{"%-'.15s"|sprintf:{$product.name|mb_substr:0:12}}|truncate:13:'...':true}",

this will overcome stupid smarty mb limits

prestashop? NEVER EVER AGAIN

Share This:

Comments are closed.