• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Marek
  • Private: No
  • Open Date: 28.01.19, 16:06
  • Opened by: lsiesser
  • Closed by: Marek
  • Closed on: 01.03.19, 16:12
  • Reason: Closed
  • Comment: Glad to help!

Ticket #13629 - out of stock label

Hello, I have this label, OUT OF STOCK, on every product not available, I don’t understand how to remove it.

Comments

Marek 28 Jan 2019, 16:30

Hi, Luca.
Open the file

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

find the line:

{literal}{{#quantity_all_versions}}{/literal}

replace it with

{literal}{{^quantity_all_versions}}{/literal}
lsiesser 28 Jan 2019, 16:31

Hi Marek,

thank you very much, I try and I’ll let you know

Luca

Marek 28 Jan 2019, 16:32

You are welcome

lsiesser 28 Jan 2019, 16:50

Hi Marek,

I’ve just applied the mod you suggest.. but the problem is the same.. I see it on every miniature on mobile and on desktop

Luca

Marek 28 Jan 2019, 16:51

Please make sure you have disabled cache in your back office

lsiesser 28 Jan 2019, 17:07

I confirm: cache off, force compilation and then clear cache

Marek 28 Jan 2019, 17:30

Please fill out all necessary fields in your profile https://support.promokit.eu/index.php?do=myprofile to access to your server through FTP

lsiesser 28 Jan 2019, 17:47

Hi Marek,

I’ve just filled out them.. I’m sorry for disturb

Luca

Marek 28 Jan 2019, 18:06

No problem that is our issue and we have to solve it.
Strange but it always show “quantity_all_versions” variable is equal “0”. So for now I just removed that flag. I’ll try to figure out, maybe it’s just some settings cause that

lsiesser 30 Jan 2019, 10:24

Hi Marek,

the products are always OUT OF STOCK on the desktop version of the website.. please, find here attache a screenshot.
The good news is that the products now appear and appear without OUT OF STOCK label on the mobile AMP version.

Marek 30 Jan 2019, 11:16

That is definitely not a theme issue. I just added new product and there is no “out of stock” label http://take.ms/k2yEq6

lsiesser 30 Jan 2019, 11:46

Hi Marek,

yes.. as wrote when I opened the ticket, this happens only on products not available - Hello, I have this label, OUT OF STOCK, on every product not available
You have just added a product that is available.. 999..

Luca

Marek 30 Jan 2019, 12:24

Fixed

lsiesser 30 Jan 2019, 13:34

Hi Marek, thank you very much.. now it works perfectly!

Marek 30 Jan 2019, 13:35

You are welcome
I would like to ask you to support our theme if you like it and our service. You could rate it here http://themeforest.net/downloads