• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 28.12.23, 16:09
  • Opened by: Marc Berthold

Ticket #25159 - Available quantities of a product on Google AMP website

Hello,

I’m looking to disable the display of in-stock products on my product page for my mobile Google AMP website (XX products in stock). While there’s an option for the regular website, I can’t find it for the Google AMP version, and it’s causing issues.

Thanks in advance.

Best regards,
vazy

Comments

Fred 28 Dec 2023, 20:36

Hi,
Could you please show me on a screenshot where you can disable to display of in-stock products?

Marc Berthold 28 Dec 2023, 21:37

Sure,

Here you can see in the back office where you can turn off the display for desktop.

Other screenshot shows you the Google AMP mobile website where it's still on.

Attachments:

File.jpg (234 KiB)
Marc Berthold 28 Dec 2023, 21:38

second screenshot

Attachments:

Fred 29 Dec 2023, 10:17

Please fill out all necessary fields in your profile https://support.promokit.eu/myprofile to access to your Back-office and FTP Server to let me fix the issue

Marc Berthold 29 Dec 2023, 10:54

Done

Fred 30 Dec 2023, 09:30

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

/themes/alysum/templates/mobile/catalog/product.tpl
Marc Berthold 31 Dec 2023, 13:38

It works, thank you.
However, I face another issue with the Google AMP version of the website.

Even when a product is out of stock, it can still be added to the cart and purchased, even when the option is disabled from the back office (and you can't add it to the cart from the desktop version of the website, only with the Google AMP version).

How can I fix that?

Best regards,
vazy

Fred 02 Jan 2024, 09:15

please give me a link to that product

Marc Berthold 02 Jan 2024, 09:43

Here you go

Fred 02 Jan 2024, 10:55

Ok, we will try to fix it as soon as possible

Fred 12 Jan 2024, 11:16

Please check it out now, it should be ok.
Sorry for the delay

Marc Berthold 17 Jan 2024, 22:58

Hello,

It seems ok and I cannot add it anymore to the cart when it's out of stock.
However, I don't have the Out of Stock label on the category page nor on the product page (on google AMP website), even though I have it on the desktop version.

Fred 18 Jan 2024, 10:29

Which product is out of stock, because I can't find

Marc Berthold 18 Jan 2024, 10:37

This one

Fred 19 Jan 2024, 22:03

Please check it now

Marc Berthold 21 Jan 2024, 13:53

The label Out of Stock is now on the product page. But it is not on the category page or the homepage for the thumbnails. Can you please fix that?

Thanks a lot in advance.

Fred 22 Jan 2024, 09:50

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

Marc Berthold 22 Jan 2024, 10:33

The label Out of Stock is now on the product page. But it is not on the category page or the homepage for the thumbnails. Can you please fix that?

Thanks a lot in advance.

Marc Berthold 22 Jan 2024, 10:35

The label now shows on the category page as well.
However, still not showing on AMP "Products" widget for home page where you can see latest, most popular and promotion items.

Fred 22 Jan 2024, 11:39

Please try now