Dettrich Posted February 16, 2012 Share Posted February 16, 2012 Hi there. I have an issue. I'm using Prestashop 1.4.5.1 with Block cart, ajax cart enabled. When I try to add more items to the cart, than available on stock, an error message pops up (a modal window). In this error message the character encoding is wrong, displaying accented characters in ISO format. Like this: Nem rendelhetsz többet, mint ami készleten van! It should appear like this: Nem rendelhetsz többet, mint ami készleten van! In the ../translations/hu/errors.php it's fine, written like UTF-8. In the admin area, at translations, it also displays properly. Where could be the error? Site: http://ongyjto.net Link to comment Share on other sites More sharing options...
darvidc Posted October 22, 2012 Share Posted October 22, 2012 Hi Has anybody found the answer to this, as I have exactly the same problem (using 1.4.7.3) with the Swedish letters "öäåÖÄÅ" ? Thanks in advance David C Link to comment Share on other sites More sharing options...
Puriom Posted December 6, 2012 Share Posted December 6, 2012 The same here. Any idea? PS 1.5.2 Link to comment Share on other sites More sharing options...
goatee2905 Posted December 11, 2012 Share Posted December 11, 2012 (edited) I fixed it by editing blockcart-json.tpl in modules/blockcart in PS 1.5.2: Change line 38 to this: "name": "{$product.name|truncate:15:'...'|escape:html:'UTF-8'}", Edited December 11, 2012 by goatee2905 (see edit history) 2 Link to comment Share on other sites More sharing options...
Puriom Posted January 4, 2013 Share Posted January 4, 2013 Thank you goatee2905!!! IT WORKED!!! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now