Stock Management

Phoca Cart - complex e-commerce extension
User avatar
nzrunner
Phoca Member
Phoca Member
Posts: 33
Joined: 27 Jul 2017, 15:52

Stock Management

Post by nzrunner »

I am looking at the stock management process, and can see that I can have the stock levels managed for each product variation. I have selected that option, and when an item is sold, the stock level for that product variation decreases by one. Perfect!

However, on the front-end product screen, when a customer selects an attribute, for example, an Audi A5 (Red), the availability shows the stock of the Audi A5 (None).

As an example: -

NB: The color attribute is set as REQUIRED
  • Audi A5 (None) - On Hand 0
  • Audi A5 (Red) - On Hand 5 (Default)
  • Audi A5 (Blue) - On Hand 9
When you first look at a product, the availability is Out of Stock, as it is looking at the Audi A5 (None). I thought, as the Red attribute is the default, that it would display the availability of the Audi A5 (Red).

Then, when I select the Blue attribute, I would expect the stock availability level to change to 9. Instead it remains at 0 as that is what is on the Audi A5 (None).

Am I missing a setting somewhere that tells it to display the product variation stock level?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Stock Management

Post by Jan »

Hi, thank you for the info, the stock status in product view only displays the basic stock value, not the value of variants - this is managed in the checkout. I will take a look at it - e.g. to add the same function like for changing prices - to set the status dynamically. This means the same like by price:

- if there is a default options, the status will be reloaded at start to this option
- if the option will be changed, the status will change by the selected options

Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
nzrunner
Phoca Member
Phoca Member
Posts: 33
Joined: 27 Jul 2017, 15:52

Re: Stock Management

Post by nzrunner »

That would be great :-)

Sorry to bombard you with issues :-(
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Stock Management

Post by Jan »

Sorry to bombard you with issues
:-) This is exactly what I need for now - getting all the possible issues, to test the cart properly and make it stable soon.

Thank you, Jan
If you find Phoca extensions useful, please support the project
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Stock Management

Post by Jan »

Hi, added in version 3.0.0 RC9.2
https://www.phoca.cz/download/category/ ... -component

In product view, the stock can be dynamically changed by changing of attributes.

Jan
If you find Phoca extensions useful, please support the project
Post Reply