- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 04.04.19, 09:06
- Opened by: Grégoire FALQUE
- Closed by: Marek
- Closed on: 01.05.19, 16:07
- Reason: Closed
- Comment: Glad to help!
Ticket #14180 - AMP - Add to cart is not working
Hello,
Hope you are well today.
The add to cart and the filter options are not working when I use the AMP option.
Certainly a cache issue, but how to fix it ?
Regards.
Grégoire
Comments
Add to cart works for me http://take.ms/JpmCm As for the filter, did you edit Amp templates files?
Hello,
“Add to cart works for me http://take.ms/JpmCm As for the filter, did you edit Amp templates files?” –> Yes I have created a template Default with Builder.
1 - The fact is, when you add to cart, that one stay empty.
I need to refresh all the page to see the change. AND when the cart is refreshed, the message “THE CART IS EMPTY” is displayed, While the product is juste below.
2 - When I delete a product in the cart I need to refresh the page to see the change.
Here is a video
https://vimeo.com/328405354
Thank you
I see such problem first time. And it seems a security settings of your server.
Do you have access to server error logs? to try to figure our what is the reason
Yes I have.
Here is the log when I add a product in the cart using the AMP template. All seems OK in the log.
GET /fr/module/pk_amp/ajaxCart?cart_id=11&__amp_source_origin=https%3A%2F%2Fchezbelette.fr HTTP/1.0
The research is not working too, as the filter.
Regards
Please forget the picture, I can’t delete it.
Hi, Grégoire FALQUE.
I spent whole weekend for this issue and still have no solution. I suppose your server has some strict Content Security Policy. Could you please ask your hosting support to help us to figure out what’s the problem.
Hello Marek.
Thank you.
Yes I will try to ask.
I have spent a lot of time too on that issue.
I have started from scratch with a new server without out any success.
I let you know If my hosting support will be able to help us.
Thank you
Ok, please write me. You are the first with such problem, so would be great to find out the reason of the issue