WebSite X5Help Center

 
Václav K.
Václav K.
User

Product available quantity not shown  en

Autor: Václav K.
Visitado 1523, Followers 1, Compartido 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!

Publicado en
11 RESPUESTAS - 1 ÚTIL
Andre E
Andre E
Moderator

Check settings in the shop object , TAB Settings.

Leer más
Publicado en de Andre E
Václav K.
Václav K.
User
Autor

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.

Leer más
Publicado en de 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

Leer más
Publicado en de Andre E
Václav K.
Václav K.
User
Autor

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).

Leer más
Publicado en de 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)

Leer más
Publicado en de Andre E
Václav K.
Václav K.
User
Autor

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".

Leer más
Publicado en de 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.

Leer más
Publicado en de 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?

Leer más
Publicado en de Andre E
Václav K.
Václav K.
User
Autor

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.

Leer más
Publicado en de 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.

Leer más
Publicado en de Andre E