• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 14.06.20, 01:51
  • Opened by: Nadir Delimi
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #18319 - problem on AMP cart it refuses to add product to cart

Hi,
i have a problem with add to cart in AMP version of my website it refuses to add to cart, i tryed to see what happens on consol there is an HTTP 307 code that return from the add to cart i took a screenshot for that. the error doesn’t show in all products.
can you please help me with that issue my website is on production and customers are going crazy with calls
www.marjory-dz.com this is the website
if you want to connect to BO or FTP please let me know.

Attachments:

Capture d’écran 2020-06-14 a... (95.5 KiB)
Capture d’écran 2020-06-14 a... (103.8 KiB)

Comments

Fred 14 Jun 2020, 09:32

Hi, Nadir Delimi. Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your back office and FTP

Nadir Delimi 14 Jun 2020, 13:13

Hi Fred, it’s done

Fred 15 Jun 2020, 10:54

The cart seems works fine for me https://take.ms/0LqET

Nadir Delimi 15 Jun 2020, 16:24

Hi fred, i’ve precised in the message that the error does’nt concerne all products, just some products
try with this one https://marjory-dz.com/mobile/product/45-seiko-presage-ssa343-montre-homme on product page and try it too in category page here : https://marjory-dz.com/mobile/category/10-montres-pour-hommes try to add to cart the product Seiko presage SSA343

Attachments:

Capture d’écran 2020-06-15 a... (628.9 KiB)
Fred 16 Jun 2020, 17:55

Yes, I see he error 307 now. That is a Temporary Redirect message indicating that the requested resource has been temporarily moved to another URI.
Did you modify URL‘s or SEO settings in your prestashop?

Nadir Delimi 16 Jun 2020, 17:56

no i modified nothing in urls setting

Fred 17 Jun 2020, 10:52

I have no idea what’s happened but now it seems works https://take.ms/JCfMr

Nadir Delimi 17 Jun 2020, 12:15

still the same problem here, i think the problem is with AMP cdn that respond 307 on the first call then it responds 200 after two or three calls

Attachments:

Capture d’écran 2020-06-17 a... (64.1 KiB)
Nadir Delimi 17 Jun 2020, 12:21

i think that the problem is from one of this files (screenshot) when fetching

Attachments:

Capture d’écran 2020-06-17 a... (418.3 KiB)
Capture d’écran 2020-06-17 a... (412.8 KiB)
Fred 17 Jun 2020, 12:22

it just works for me https://take.ms/CxmJI how to reproduce the issue?

Nadir Delimi 17 Jun 2020, 12:23

clear cache

Fred 17 Jun 2020, 21:44

Tried in Incognito Mode and works the same https://take.ms/mz8jR The same result in mobile phone

Nadir Delimi 17 Jun 2020, 21:47

it is on some products only not all the products : try again with this one on incognito https://marjory-dz.com/mobile/product/45-seiko-presage-ssa343-montre-homme on product page and try it too in category page here : https://marjory-dz.com/mobile/category/10-montres-pour-hommes try to add to cart the product Seiko presage SSA343

Fred 17 Jun 2020, 22:27

Yes, I see now.
I have found out strange “content type” of the request https://take.ms/xHxCO it seems your server do that, I have no idea how. You are only one who report such problems, so it’s definitely a question of server configuration

Nadir Delimi 17 Jun 2020, 23:54

I will try to send a mail to the hosting company

Fred 18 Jun 2020, 00:20

yes, please