Jump to content

Major error Impossible to add product to cart


Recommended Posts

Please help ASAP

For some reasion when a customer tries to add a product to the shopping cart it comes up with a box saying;

The page at www.cwshealing.eu says

Impossible to add the product to the cart

text status: 'error'

error thrown: "

responce text:

I am using v1.5.4.0

Thanks

Chris

Ok if you disable the cart block module it solves the problem but of a less urgent matter now is there a fix for this anywhere?

Edited by cwshealing (see edit history)
Link to comment
Share on other sites

Hi,

There is likely a parse error in the code, could you turn the cart back on, and see what you get in the "network" tab of chrome dev tools as a response, or in firebug's console?

 

I just tried and the ajax cart seems to be disabled atm

Link to comment
Share on other sites

Hi thanks for getting back to me.

I am a bit of a novice so not sure what you mean about Google tools bit but I have turned the cart block back on so you can have a look for me thanks.

Let me know when you have had a look so I can turn it back off.

Thanks

Chris

Link to comment
Share on other sites

This is definitely WEIRD. You're site is making a options request instead of post :/ and you get an empty response. You can turn in off now.

 

I'm clueless, you should better ask somebody to fix it if you're not a developer

 

In any case, the request says

 

XMLHttpRequest cannot load https://www.cwsheali...d=1365590899081. Origin http://www.cwshealing.eu is not allowed by Access-Control-Allow-Origin.

 

Citing a post on stackoverflow:

 

"This error you're seeing is the server restricting your domain from accessing it's resources via ajax requests"

Edited by Nemo1 (see edit history)
Link to comment
Share on other sites

Thanks once again for your help. All I can say is it was working before I upgraded from 1.5.3.1 to 1.5.4.0 so not sure what is wrong.

I am also having trouble with Google sitemap don't know if you could help with that or not.

Copy of my post regarding that is below;

I have spent hours on this and found this issue over and over again and even though some say solved it is not for me.

When I submit my sitemap to Google using the URL provided by the Google sitemap modules I get HTML error 404.

If I put the URL into my browser it loads fine.

I was hoping the update for the module would solve the problem but no.

Also I can not get the CRON job to work.

Below are the URL's I get from the module;

https://www.cwsheali...dex_sitemap.xml

https://www.cwsheali...n_0_sitemap.xml

None work even with the wght and a space as mentioned in other posts.

Below is the CRON job URL;

http://www.cwshealin...itemap-cron.php

I installed Prestashop at https://www.cwshealing.eu/store

As you can see the Google sitemap is at HTTPS and the cron job is at HTTP could this be the problem?

Hope you can help and thanks for reading.

I have looked at your site and it was very useful. Also downloaded your delete orders module, great stuff. Will look into your others later and thanks once more for your help.

Link to comment
Share on other sites

×
×
  • Create New...