Interactive Stock Change not working

Phoca Cart - complex e-commerce extension
Gerste
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 21 May 2024, 09:44

Interactive Stock Change not working

Post 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
Gerste
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 21 May 2024, 09:44

Re: Interactive Stock Change not working

Post 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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48345
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Interactive Stock Change not working

Post 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
If you find Phoca extensions useful, please support the project
Post Reply