- Priority: 0
- Status: Waiting on customer
- Theme: Alysum
-
Assigned To:
Fred
- Private: No
- Open Date: 21.11.23, 23:50
- Opened by: Juan Arcila
Ticket #25069 - AMP Can't add product to cart
When we try to add a product to the cart, it shows an error message that reads “Cannot be added to cart”. But if you reload the page, the cart gets updated with the correct information.
Comments
Hi, Juan Arcila.
Please fill out all necessary fields in your profile https://support.promokit.eu/myprofile to access to your Back-office and FTP Server to let me check and fix the issue
Done. Thank you for answering so quickly.
The issue has been fixed. Please test to confirm the change
Yes, now it's working. May I ask what was the error? We are programmers so we would like to understand a bit more about the failure. And while we are discussing AMP, do you mind if I ask you where to edit the pages for AMP? All I see is homepage but like for example, https://kuipersparrilla.com/demopresta/mobile/page/4-sobre-kuipers-parrilla is mostly text.
There was a wrong way to get product price in this file /httpdocs/shop/modules/pkamp/controllers/front/ajaxCart.php
But that's strange you are first who get this issue. We have checked that locally and everything works fine with the same code that causes an error in your store
Ok, thank you for taking the time on explaining the issue.
You are welcome!