Jump to content

Error adding products to cart in PS 1.4.2.5


Recommended Posts

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

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

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

  • 2 weeks later...
×
×
  • Create New...