WebSite X5Help Center

 
Václav K.
Václav K.
User

Product available quantity not shown  en

Autore: Václav K.
Visite 1575, Followers 1, Condiviso 0  

Hi, 

I've set available quantities for some products. The exact quantity is not shown though, see the attached picture. It did work some time ago. Now it only shows Availabe[quantity] instead of e.g. Availabe 7.

Is there a setting I missed?

Thank you!

Postato il
11 RISPOSTE - 1 UTILE
Andre E
Andre E
Moderator

Check settings in the shop object , TAB Settings.

Leggi di più
Postato il da Andre E
Václav K.
Václav K.
User
Autore

Thank you, I have the same settings... The quantity field is shown, but not the quantity itself. If the quantity in stok is 0, "Product not available" is shown correctly. If the product is available, the green light is on correctly, but as described before, the quantity is not show.

Leggi di più
Postato il da Václav K.
Andre E
Andre E
Moderator

If you have set in your shop at the product (step 1, shopping card) the availability, it will show that, if you set another product approximate then it will show that, it can differs for every product.

Is the setting is step 1 correct for the shop item?

If all is correct but  you have recently changed it, try refreshing webbrowser onsite with ctrl-F5

Leggi di più
Postato il da Andre E
Václav K.
Václav K.
User
Autore

Yes, in step 1, the settings are as follows:

I have tried Ctrl- F5 :)

And still there is only [Quantity] shown in the browser instead of the number (which slould be 8 in this case).

Leggi di più
Postato il da Václav K.
Andre E
Andre E
Moderator

Does it work for other products? or do you have none on all products where you have set stock quantity?

check php settings at your host (if you are not using host from website x5, see that is set to 8.0 at least.

Are you sure, your database settings are correct? (if not using website x5 host)

Leggi di più
Postato il da Andre E
Václav K.
Václav K.
User
Autore

Hi Andre, the php version was indeed set to a lower version, but after setting to 8.0 and refreshing the page (even the next day) it still doesn't work.

I have more products set like this, none shows the actual value.

It looks like the database connection works well, as when the quantity in stock gets to 0, my page correctly shows "out of stock".

Leggi di più
Postato il da Václav K.
Andre E
Andre E
Moderator

maybe share a website adress and give info about which product is set and not shown correctly?

At my test site ( i recently checked for you) it works as it should.

Leggi di più
Postato il da Andre E
Andre E
Andre E
Moderator

It realy looks like the database connection is faulty.

If you press in the shop (step1) the update button, do you get a pop up with download completed succesfully?

Do you have your own provider or the provider from X5?

Leggi di più
Postato il da Andre E
Václav K.
Václav K.
User
Autore

Hello Andre,

I found out what the problem was.

Someone was too active when translating to my languate (Czech). 

Tha translation was like this:

And should be:

It's necessary to preserve the word [QUANTITY] untranslated.

Now it works fine.

Leggi di più
Postato il da Václav K.
Andre E
Andre E
Moderator

Thanks for the feedback, very helpfull, and yes (also for other users) that name (all names between [....] ) should not be changed.

Again thanks, good job.

Leggi di più
Postato il da Andre E