Page 1 of 1

Error when adding to cart

Posted: Thu Jan 31, 2019 5:06 pm
by zoom
When the product is added to the shopping basket, an error appears

What is the solution to this problem and the steps to solve?

Image

Re: Error when adding to cart

Posted: Thu Jan 31, 2019 5:54 pm
by xxvirusxx
Provide an URL....

Re: Error when adding to cart

Posted: Thu Jan 31, 2019 7:01 pm
by zoom

Re: Error when adding to cart

Posted: Thu Jan 31, 2019 7:07 pm
by xxvirusxx
Seem to be .htacces issue redirect.

Try to disable SEO URL and rename .htaccess and see if work.

Re: Error when adding to cart

Posted: Wed Feb 06, 2019 10:57 am
by zoom
I did this and still have the problem

Re: Error when adding to cart

Posted: Wed Mar 13, 2019 10:16 am
by zoom
So far the problem has not been solved :drunk:

I needed help to solve it ???

Re: Error when adding to cart

Posted: Wed Mar 13, 2019 10:21 am
by letxobnav
Access to XMLHttpRequest at 'https://zoom-c.com/index.php?route=exte ... g/cart/add' from origin 'https://www.zoom-c.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Re: Error when adding to cart

Posted: Wed Mar 13, 2019 10:24 am
by letxobnav
suggest you have a little chat with your template provider.

Re: Error when adding to cart

Posted: Wed Mar 13, 2019 1:49 pm
by zoom
The site was working properly
htaccess

I need to rewrite the code in this file htaccess correctly. Can anyone help me?

Re: Error when adding to cart

Posted: Wed Mar 13, 2019 2:39 pm
by letxobnav
Access to XMLHttpRequest at 'https://zoom-c.com/index.php?route=exte ... g/cart/add' from origin 'https://www.zoom-c.com' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

you are requesting a cross origin data maipulatiom from www.zoom-c.com (origin) to zoom-c.com (target).
Suggest to either use www. on both or lose the www. on both.

btw. your google font api links return 400 as the links are partially encoded.

Re: Error when adding to cart

Posted: Thu Mar 14, 2019 1:00 pm
by zoom
The problem is in this file htaccess

Need settings settings with certificate SSL

Is there anyone who can help me do this ?

Re: Error when adding to cart

Posted: Thu Mar 14, 2019 2:03 pm
by letxobnav
if you use
https://zoom-c.com/index.php?route=prod ... uct_id=519

it adds just file.

https://www.zoom-c.com/index.php?route= ... uct_id=519

does not.

Like I said, you are cross-origin you requests which are rejected.

Re: Error when adding to cart

Posted: Sat Mar 16, 2019 12:51 am
by joakimcom
Adjust your .htaccess to redirect www.zoom-c.com to zoom-c.com, so no user lands on the www page and your issue would be resolved.