- Priority: 0
- Status: Closed
- Theme: Alysum
-
Assigned To:
Marek
- Private: No
- Open Date: 19.04.19, 11:56
- Opened by: tommaso marcuccio
- Closed by: Marek
- Closed on: 13.06.19, 16:09
- Reason: Closed
- Comment: Glad to help!
Ticket #14298 - AMP checkout issue
In mobile checkout page: domain.ext/module/pk_amp/checkout
It is no possible to place an order.
Clicking “Continue” button browser console throws these errors:
action attribute is invalid for method=POST: [object HTMLFormElement] log.js:187:6
Only XHR based (via action-xhr attribute) submissions are support for POST requests.
<form id=”customer-form” class=”js-customer-form i-ampht…ror amp-form-submitting” action=”https://ps-17.efficasa.it/module/pk_amp/checkout” method=”post” novalidate=”“>
template-impl.js:271:8
Error: Only XHR based (via action-xhr attribute) submissions are support for POST requests. form#customer-form log.js:343:20
It is no possible to continue
Comments
Yes, I see. Working on that…
Something strange is going on here. Do you have access to server error logs?
I don’t know, I should ask to our sysadmin. Why you ask?
Any news?
because I need to read error messages to figure out the reason
Hi Marek,
I have the same issue, https://mrbolita.com/module/pk_amp/checkout page can’t continue creating orders.
Can you check it please??. The site is on production.
We are working hard on that. The issue has highest priority
to Laura.
Please test it out now
to Tomasso.
The main problem for me now what doesn’t let me fix checkout issue is that prestashop doesn’t return any error messages, that’s why I need to take a look at error logs
Hi Marek,
I think it’s OK, but at the checkout page cookie button does not work now.
Thank you very much.
Try now
It’s OK, thank you :))
Hi Marek,
I see the checkout process seems to work now but I have lost all my customizations.
I placed some css and some js in child_alysum/templates/mobile/layouts/layaout-main.tpl
I was using that file for assets ‘cause it was loaded for each page, where can I put my customizations now?
I restored CSS and js in the same file and it works as expected.
I’m having trouble with the product page template.
I cannot restore my customized template in /templates/mobile/catalog/product.tpl
It seems to be ignored
Please let me know asap about the product page mobile template
Do you mean your modified product.tpl file is not working in child theme?
yes, that
For now I advice you to modify that file in the “alysum” and keep a copy on your computer. I’m not sure that is the theme’s problem but I’ll try to figure out why it doesn’t work
Didn’t work out. Even replacing parent template /alysum/templates/mobile/catalog/product.tpl
It semms it shows something else
Please let me know asap
Maybe I missed something, but product.tpl file in your child theme works fine.
Please open it /prestashop/themes/child_alysum/templates/mobile/catalog/product.tpl and find there “===” in the very top http://take.ms/huWz2
Yes, it works now, before it wasn’t.
Just one last thing, svg icons are no longer visible both in product’s page (https://ps-17.efficasa.it/mobile/product/417 after “add to cart” butto) and in contacts page (https://ps-17.efficasa.it/module/pk_amp/cms?id_cms=21 are visible only 2 on 4).
I added some svg in child_alysum/templates/mobile/partials/svg.tpl, before they was loaded correctly, now they aren’t.
Am I missing something?
Thanks in advance
make sure icon names are the same in svg.tpl file and in the pages. Read more about SVG icons here https://alysum5.promokit.eu/promokit/documentation/#svg
I’m sure names are correct, icons was working before “mobile” folder were renamed
That was a cache issue