• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 07.12.21, 10:32
  • Opened by: Thomas Ullrich
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #22731 - No sold out label on AMP

Sold out procducts are not labelled on AMP Version. They do have a label in desktop version, though. Can you help me to add the label in AMP Mobile version for all products with qty 0, too?

Comments

Fred 07 Dec 2021, 13:31

Hi, Thomas.
I can’t find a product that is “out of stock”. Could you please give me a link to category page where I can see such product?

Thomas Ullrich 07 Dec 2021, 14:57

That’s because I deactivated all products with qty of 0 in order not to confuse customers. I had complaints.

I activated one style now for testing purposes. It is called ‘sailorlove’ in black. If you use the search for ‘sailorlove’ you will find it. I attached both views in desktop and AMP mobile. In the AMP mobile version the product list does not say it is sold out. If you go into product detail, it is shown - but this is vey frustrating, if it happens with many articles. It should show ‘sold out’ in the list already just like in the desktop version.

Attachments:

black sailorlove desktop sold... (150.2 KiB)
black sailorlove AMP Mobile s... (302.2 KiB)
Thomas Ullrich 07 Dec 2021, 15:00

Another thing just found my attention: in AMP version the default pic is not shown. See the same attachments. Why that?

Thomas Ullrich 07 Dec 2021, 17:15

That’s because I deactivated all products with qty of 0 in order not to confuse customers. I had complaints.

I activated one style now for testing purposes. It is called ‘sailorlove’ in black. If you use the search for ‘sailorlove’ you will find it. I attached both views in desktop and AMP mobile. In the AMP mobile version the product list does not say it is sold out. If you go into product detail, it is shown - but this is vey frustrating, if it happens with many articles. It should show ‘sold out’ in the list already just like in the desktop version.

Attachments:

black sailorlove desktop sold... (150.2 KiB)
black sailorlove AMP Mobile s... (302.2 KiB)
Fred 08 Dec 2021, 12:03

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

Thomas Ullrich 08 Dec 2021, 15:05

Hi Fred, thanks a lot. As our website is German spoken, please let me know where I can change this label to ‘Ausverkauft’.

Fred 08 Dec 2021, 16:53

It should be available for translations in the following translation domain Shop.Theme.Amp but I can’t find it.
You can try to change the text directly in the file

/themes/alysum/templates/mobile/catalog/_partials/miniatures/product-miniature.tpl

the line

<li class="label-outofstock">{l s='Out of stock' d='Shop.Theme.Amp'}</li>