• Closed by: Fred
  • Closed on: 17.05.22, 16:41
  • Reason: Closed
  • Comment: Glad to help!

Ticket #23328 - Bug Version AMP

Hello,
we are having issues with the mobile version (AMP).
When you are on a product page, and you click on “Add to basket”, the price of the product changes and goes excluding tax and the reference becomes “NULL”. (bug-1.jpg /bug1-1.jpg / bug1-2.jpg)
Almost the same if we add quantities to the basket from the product sheet, the reference becomes “NULL”.

https://www.spade-design.fr/fr/Smartphone/product/405-bracelet-regate-argente-rose-pastel

In the computer version:
The pop-up icons (the cross and the arrow) are no longer displayed? (bug2.jpg)

Thanks !!

Attachments:

bug1.jpg (48.3 KiB)
bug1-1.jpg (41.6 KiB)
bug1-2.JPG (55.7 KiB)
bug2.JPG (51.2 KiB)

Comments

Fred 09 May 2022, 11:37

Hi, Sea tech and fun europe Danielle Martin.
Please provide permissions in your back office to access to performance settings

Sea tech and fun europe Danielle Martin 09 May 2022, 11:50

Hello !
It's OK now.
Sorry.

Fred 09 May 2022, 12:02

The issue has been fixed. Please test to confirm the change https://take.ms/HSsywr

Sea tech and fun europe Danielle Martin 09 May 2022, 13:53

Hello,
It still doesn't work in AMP mode.
Now on the quantity there is a "NULL" and the price always goes excluding tax.... bug3-1.jpg (source)+ bug3-2 + bug3-3 (errors).

And the cross and arrow in the pop-up still does not show in computer mode. (bug2.jpg)
Thanks for your feedback.

Attachments:

bug3-1.JPG (44.9 KiB)
bug3-2.JPG (51.2 KiB)
bug3-3.JPG (47.5 KiB)
bug2.JPG (51.2 KiB)
Sea tech and fun europe Danielle Martin 09 May 2022, 17:28

Hello,
another very big concern:
In "AMP" mode, the basket is common to all sessions.
Several users on the site, with the same basket?!!

Fred 09 May 2022, 20:35

Please check out AMP troubleshooting page and find a solution regarding the cart there https://alysum5.promokit.eu/promokit/documentation/amp/troubleshooting.html

Fred 09 May 2022, 21:55

quantity issue is fixed https://take.ms/XUYVI

Sea tech and fun europe Danielle Martin 10 May 2022, 13:58

Hello,
ok for the quantity part. The price and the reference no longer change.
Still not good, on addition to cart.
And see also for the pop-up buttons in computer mode.
Please keep me informed.

Attachments:

bug1-1.jpg (41.6 KiB)
bug2.JPG (51.2 KiB)
Sea tech and fun europe Danielle Martin 11 May 2022, 09:58

Hello,
did you see what the problem is?
Did you find a solution ?
Thank you this is quite urgent as we have a google campaign just brought.
Thank you

Fred 11 May 2022, 11:08

Icons in the popup window are fixed
The price is in progress...

Fred 11 May 2022, 11:23

I just make AMP product page work the same as desktop version - https://take.ms/TrLrN

Please check it out

Sea tech and fun europe Danielle Martin 11 May 2022, 14:22

Hello,
it seems to work.
Could you tell me what you modified (code, page, parameters,...)?
We will come back with other points.
Thank you all for your responsiveness!

Sea tech and fun europe Danielle Martin 11 May 2022, 14:49

Hello,
I can't find a translation, I searched in modules, themes,... I can't find.
If you could tell me where to find?
Thank you

Attachments:

traduction.JPG (105.5 KiB)
Sea tech and fun europe Danielle Martin 11 May 2022, 16:15

Hello,
the "Add to favourites" function does not work in AMP mode?
Whether the client is connected or not.
Could you watch?
Thank you

Sea tech and fun europe Danielle Martin 11 May 2022, 16:30

Hello,
still in AMP mode, no way to confirm password modification, button inactive!?

Favorites:
You cannot add favorites in AMP mode.
So I added in computer mode.
I went back to AMP mode, no way to delete the favorites...

Could you check all the modules of the "AMP" smartphone version.
There are plenty of other errors, with IPAD, or smartphone...

Thank you

Attachments:

password.JPG (50.9 KiB)
Favorites.JPG (78.1 KiB)
Sea tech and fun europe Danielle Martin 11 May 2022, 16:52

Hello,
could you update the theme and the modules that go with it, i think the versions are too old?
Thanks for your quick return !

Fred 12 May 2022, 10:02

1. Updated files are:

/modules/pkamp/controllers/front/ajaxCart.php
/modules/pkamp/controllers/front/ajaxProduct.php
Fred 12 May 2022, 10:08

2. Please provide permissions to access to Translation page

Sea tech and fun europe Danielle Martin 12 May 2022, 10:14

Hello,
I have added the rights to "Translations".
On the other hand, the favorites still do not work in AMP mode... See images

Attachments:

Sea tech and fun europe Danielle Martin 12 May 2022, 10:35

Hello,
another image for error Favorites module in AMP mode.

Attachments:

Fred 12 May 2022, 10:54

You can find Contact form translation here https://take.ms/AI1kp

Sea tech and fun europe Danielle Martin 12 May 2022, 11:02

Hello,
OK thanks for the translation.
Waiting for the concern of favorites.
Thanks for your quick feedback!

Fred 12 May 2022, 11:06

Did you disable AMP module?

Sea tech and fun europe Danielle Martin 12 May 2022, 11:11

No,
We have not disabled the AMP module.
On the other hand, there is no more website!!!

Fred 12 May 2022, 11:11

I don't have permissions in your back office to check out what I need

Sea tech and fun europe Danielle Martin 12 May 2022, 11:15

hello,
I added rights to all your modules and all Prestashop settings.

Fred 12 May 2022, 11:21

ok, trying to find out what's happened

Fred 12 May 2022, 11:23

Did you change some setting related to the URLs? for some reason I'm not able to open any other page then Home

Sea tech and fun europe Danielle Martin 12 May 2022, 11:25

No,
I changed nothing.
No parameters or modules...

Sea tech and fun europe Danielle Martin 12 May 2022, 11:34

HELP !
AMP mode no longer works at all!
And we only stay on the home page in computer mode!
Help!

Sea tech and fun europe Danielle Martin 12 May 2022, 11:43

It's not related to the update of the "Favorites" module?
Thank you

Sea tech and fun europe Danielle Martin 12 May 2022, 11:50

Update ?

Attachments:

Sea tech and fun europe Danielle Martin 12 May 2022, 11:57

Error 302 computer mode.
AMP mode KO

Attachments:

errors1.JPG (61.1 KiB)
Fred 12 May 2022, 12:11

We are working, please be patient...

Fred 12 May 2022, 12:20

I see a lot of Prestashop Core files were modified - https://take.ms/9lT3b Did you do that?
Another question, is this your file /ROOT/script.php and this /ROOT/liste.txt ? If not, I suspect your website was hacked.

Sea tech and fun europe Danielle Martin 12 May 2022, 13:49

Hello,
Yes the file was mine.
I deleted it.
On the other hand after I made "Override" but no other modifications.
The site worked at the beginning of your support, again this very morning. That's when you started working on "favorites".
Thank you

Sea tech and fun europe Danielle Martin 12 May 2022, 13:58

So I renamed the "pkfavorites" folder to "pkfavorites-NEW", from there the site works again.
If you could see where it comes from? Thank you

Attachments:

Fred 12 May 2022, 14:19

Really strange, never seen such problem earlier. Maybe you just have too outdated Prestashop version ad the new Favorites module just doesn't compatible

Sea tech and fun europe Danielle Martin 12 May 2022, 14:24

Hello,
Prestashop version is 1.7.6.5.
It's not very old...
Could you see to find a solution please.

Fred 12 May 2022, 14:25

Ok, will try to debug the Favorites module...

Sea tech and fun europe Danielle Martin 12 May 2022, 14:34

Thanks !!!

Sea tech and fun europe Danielle Martin 12 May 2022, 16:23

Hello did you find something?
Because the "favorites" module worked in computer mode but not in AMP mode, that's all.
Thank you

Fred 12 May 2022, 16:24

not yet... in progress...

Sea tech and fun europe Danielle Martin 13 May 2022, 10:24

Hello,
Thanks for your quick feedback!

Fred 13 May 2022, 11:34

The issue has been fixed. Please test to confirm the change
Sorry for the delay, we have also other customers who waiting our help

Sea tech and fun europe Danielle Martin 13 May 2022, 11:52

Hello,
then in Computer mode, it works, except for the "favorites" button, on the product image in the list of products (thereby you cannot add or delete favourites).
In smartphone mode (AMP) You cannot delete favourites... And how can I have the "Favorites" icon in AMP mode?
Thank you

Attachments:

Fred 13 May 2022, 12:09

it works in AMP as well

Sea tech and fun europe Danielle Martin 13 May 2022, 13:47

Hello,
I confirm that it does not work in AMP.
We can add (the heart turns red), I click again, the heart turns black, but if I go back to the product, the heart is red again!?
- Also how to see the list of favorite products in the header in AMP mode?
- In computer mode, there was a number on the heart at the top in the header, not anymore?
Thank you

Sea tech and fun europe Danielle Martin 13 May 2022, 13:52

Hello, and this.
It's not normal?
Thanks

Attachments:

Sea tech and fun europe Danielle Martin 13 May 2022, 14:12

Hello,
how to add the "Heart" icon for favorites in AMP mode?
I couldn't find any settings?
Thank you

Attachments:

Fred 13 May 2022, 16:03

I just added Heart icon to the header for you.
As for the "unlike" issue, we need more time to find a solution

Sea tech and fun europe Danielle Martin 13 May 2022, 16:09

Hello,
Thank you for the heart".
I'm waiting to hear from you for the proper functioning of the "favorites" module in computer and AMP mode.
Thank you

Fred 14 May 2022, 11:05

The issue has been fixed. Please test to confirm the change

Sea tech and fun europe Danielle Martin 16 May 2022, 09:17

Hello thank you very much.
Question, why the "favorites" button on the products does not work? it brings back to the detailed product sheet but does not add to favorites? see photo
Another thing: In computer mode, you don't need to be connected to have the additions/deletions of favorites, whereas on AMP, you have to be connected with your account?
Thank you

Attachments:

Sea tech and fun europe Danielle Martin 16 May 2022, 15:58

Hello,
another question: the customer of the site, tells me that he does not see from time to time on Google Analytics the navigations of the customers. I saw in AMP mode, an area for Google Analytics, but not in Computer mode? Where can I find that? Thank you

Attachments:

Fred 17 May 2022, 10:20

1. Favorires works fine for me, see the screenshot https://take.ms/M6A0p6

2. For the desktop you have to enable and configure Google Analytics module

Sea tech and fun europe Danielle Martin 17 May 2022, 11:42

Hello,
great for Favorites!!
On the other hand for google analytics, where to find in the theme settings or add the settings?
Thank you

Fred 17 May 2022, 12:06

That's another module - https://take.ms/YMMtF

Sea tech and fun europe Danielle Martin 17 May 2022, 14:40

OK thanks

Sea tech and fun europe Danielle Martin 17 May 2022, 14:50

Hello,
can we remove the "Main URL Slug", leave it empty?
If so, what should be changed after emptying this field?
Thank you

Attachments:

amp.JPG (52.1 KiB)
Fred 17 May 2022, 16:34

No, it doesn't work. It must be present and can't be empty

Sea tech and fun europe Danielle Martin 17 May 2022, 16:39

Hello, ok thanks

Fred 17 May 2022, 16:40

no problem