• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #19688 - Problem with PrestaShop Checkout and AMP (again)

When I try to check out on a mobile device (with AMP and only PrestaShop Checkout module active) in the payment section there are no payment methods available.

Now I have activated the PayPal module and deactivated PrestaShop Checkout. To test the problem you have to deactivate the PayPal module and reactivate only PrestaShop Checkout.

Comments

Alessandro Mancini 04 Nov 2020, 10:25

This problem had occurred before but seemed to be solved. I believe it came back after updating the PrestaShop Checkout module

 FS#16406  - No payment method available in AMP
 FS#16667  - Prestashop Checkout doesn’t work in AMP

Fred 04 Nov 2020, 10:37

Hi, Alessandro Mancini.
Fixed.
Updated file is /public_html/themes/alysum/templates/mobile/layouts/layout-main.tpl

Fred 04 Nov 2020, 10:38

correct body tag

<body id="{if $page.page_name == 'module-pkamp-order'}checkout{else}{$page.page_name|replace:'module-pkamp-':''}{/if}" class="{$page.body_classes|classnames}">
Alessandro Mancini 04 Nov 2020, 10:57

I still have the problem

Attachments:

Screenshot_20201104-105344.jpg (223.5 KiB)
Fred 04 Nov 2020, 10:58

I see, you have previous AMP module version, if you want I can update it to the latest one

Alessandro Mancini 04 Nov 2020, 10:59

Ok

Fred 04 Nov 2020, 11:17

AMP is updated now, please test it out

Alessandro Mancini 04 Nov 2020, 11:37

now it doesn’t work anymore

Attachments:

Screenshot_20201104-113548.jpg (606.1 KiB)
Fred 04 Nov 2020, 11:49

Please try now

Alessandro Mancini 04 Nov 2020, 12:06

now it works, thanks

Fred 04 Nov 2020, 12:06

you are welcome