Hello, curently I'm strugling with AMP (Accelerated Mobile Pages) conversion of my store.
I read this: https://github.com/ampproject/amphtm...-user-state.md
and this https://ampbyexample.com/introductio...w-and-payments
and many more... My conclusion is that AMP is not good for E-commers (especialy in this time period) because it has very downfalls...
What is the situation:
I have my store lets name it: my-store.com wich is non AMP and I have amp.my-store.com wich is the AMP version of my-store.
I sucsesfuly managed to transform almost all parts of zencart to the AMP format but still strugling with: login, cart and all other cookie related parts of zencart because AMP does not use COOKIES instead uses USERID.
In short if you visit first the AMP version its not possible to checkout or login or register.
So what I decided to do is a shortcut but not as simple as I wanted it to be :)
I want to Re-direct users to the checkout flow on my-store.com what I think will do the trick is simply to change all the add_to_cart, login, register links of buttons on the amp.my-store.com by simply removing amp. from the url...
What it will be very nice for the custtomers is when they come from the amp.my-site.com to be redirected for example to the login2; register2 page wich will be styled to look the same as the amp version. Also when amp users register on the non AMP store to be redirected back to the AMP version.
Is that possible, all toughts are wellcome.
Bookmarks