Page 1 of 1

Interactive Stock Change not working

Posted: 21 May 2024, 10:18
by Gerste
Hi,

right now I try to set up a webshop on
Joomla 4.4.4
phoca cart 4.0.10
php 8.2.19

I have products with two different attributes and 3-4 options per attribute.
Unfortunately the interactive stock change is not working (anymore). It was working until last week. I was then adding real prices and SKU to the main product. I also set real stocks to the advanced stock management. Before this, the interactive stock change worked with the dummy stocks.
Now the frontend only shows the stock of the default product combination.
I tried to set up new dummy products, without SKU, with only one attribute and three options -> only the default product stock is shown and there are no stockchanges when you change the product option. It stays always the default product stock. If I switch off the default product, then stock is 0 for every product option.
If a product has no attributes/options the stock is shown correctly.

My settings:
Product: Advanced Stockmanagement enabled
Options:
interactiv change (stock) enabled

What am I missing?

https://i.imgur.com/lr6QTX2.jpeg

https://i.imgur.com/EUu2HNR.jpeg

https://i.imgur.com/wRyhjK3.jpeg

https://i.imgur.com/2RiBLEw.jpeg

Re: Interactive Stock Change not working

Posted: 22 May 2024, 10:09
by Gerste
Hi,

I de- and reinstalled the whole component today, but the interactive stock change is not working. What you initially see is the stock of your default product. But the stock won't change when you choose a other option... Any Ideas?

Re: Interactive Stock Change not working

Posted: 28 May 2024, 16:33
by Jan
Hi, did you check the Javascript console and network options in browser dev tools. To see if there is no error when returning back the output?

Jan