kinkibcn Posted December 6, 2014 Share Posted December 6, 2014 Hi, I am using PS 1.4.2.5 and in my online shop I am using some fields to personalize the products. A client has warn me that he got an error message every time that clicked to add the product to the cart. The error message was: TECHNICAL ERROR: unable to add the product. Details: Error thrown: [object XMLHttpRequest] Text status: parsererror I have been able to find out that the error shows up when the client has personalized the product using single quotes for example: l’arbre Can any body help me to fix this problem?. Thanks!!! Link to comment Share on other sites More sharing options...
shacker Posted December 7, 2014 Share Posted December 7, 2014 well, thats we call bug. the ' is used for escape, etc. try our free module visible customizations (in our site) and check if works Link to comment Share on other sites More sharing options...
vekia Posted December 9, 2014 Share Posted December 9, 2014 Hi, I am using PS 1.4.2.5 and in my online shop I am using some fields to personalize the products. A client has warn me that he got an error message every time that clicked to add the product to the cart. The error message was: TECHNICAL ERROR: unable to add the product. Details: Error thrown: [object XMLHttpRequest] Text status: parsererror I have been able to find out that the error shows up when the client has personalized the product using single quotes for example: l’arbre Can any body help me to fix this problem?. Thanks!!! can you share url to your page where i can test and inspect it ? Link to comment Share on other sites More sharing options...
kinkibcn Posted December 9, 2014 Author Share Posted December 9, 2014 Hi Vekia, no problem, the URL is www.kdekids.com Thanks, Link to comment Share on other sites More sharing options...
shacker Posted December 10, 2014 Share Posted December 10, 2014 in the product.tpl of the template, at the beginning you can add this code {literal} <script type="text/javascript"> $(document).on('keydown',function(e) { var key = e.charCode || e.keyCode; if(key == 39 ) {} else e.preventDefault(); }); </script> {/literal} Link to comment Share on other sites More sharing options...
kinkibcn Posted December 10, 2014 Author Share Posted December 10, 2014 Hi shacker, I have tested your solution puting the code at the very beginnig of the product.tpl theme and the problem is still there. Thanks, Link to comment Share on other sites More sharing options...
shacker Posted December 15, 2014 Share Posted December 15, 2014 have you force compile? Link to comment Share on other sites More sharing options...
kinkibcn Posted December 15, 2014 Author Share Posted December 15, 2014 Yes I did ... Link to comment Share on other sites More sharing options...
shacker Posted December 15, 2014 Share Posted December 15, 2014 ok, in the source code i cant find the script, so maybe is not applied Link to comment Share on other sites More sharing options...
kinkibcn Posted December 15, 2014 Author Share Posted December 15, 2014 Sorry, I have tested the script in my test page http://test.kdekids.com Link to comment Share on other sites More sharing options...
shacker Posted December 27, 2014 Share Posted December 27, 2014 cant find here too Link to comment Share on other sites More sharing options...
Recommended Posts