Page 1 of 1

Stock levels for different options?

Posted: Tue Mar 02, 2010 1:18 am
by Poppy
I've searched quite a bit and can't find a clear answer... does OpenCart track stock levels for the products options? There is the stock level under "Data" and the one under "Option" but it appears it's only using the Data one. I did see the Options Plus add on on unbannable, but don't necessarily need all the features, but I DO need stock levels for each variant. Does OpenCart do this by default?

Re: Stock levels for different options?

Posted: Tue Mar 02, 2010 2:42 am
by Qphoria
as of 1.3.4, option quantities are built in to opencart.

Re: Stock levels for different options?

Posted: Tue Mar 02, 2010 2:57 am
by Poppy
So is it ignoring the quantity in the Data tab? I tried setting it to 0 with my option levels at the correct amounts but the item shows out of stock.

Re: Stock levels for different options?

Posted: Tue Apr 06, 2010 11:23 pm
by smorelli
I would like an answer to this too. I'm having the same issue. If there is 0 quantity in the data tab, and positive quantity in the option values, then the cart still shows 0. If I put 1 in the data tab quantity, and have other values in the option tab, which will the cart subtract from?

Re: Stock levels for different options?

Posted: Sat Feb 19, 2011 5:04 pm
by gavema
Does any body have an idea how to show the option plus quantity in the product list?

example
opt.1 = 3 instock
opt.2 = 4 instock
opt.3 = 1 instock

So i would like to have the product list quantity 3+4+1=8 in stock.
And if possilble change the color if any option = 0

Maybe some one can put me in the right direction?

Re: Stock levels for different options?

Posted: Sun Nov 20, 2011 7:55 am
by bethauthau
I have the same question too, can anyone please help?

Re: Stock levels for different options?

Posted: Sun Dec 11, 2011 11:45 pm
by mwd
I was just doing a search for this same thing.

How exactly does the option quantity and the overall quantity work?

Re: Stock levels for different options?

Posted: Mon Dec 12, 2011 1:07 pm
by Qphoria
Currently they are just separate. Its not the ideal way, but if you want the options to control your stock, just set the product stock to 9999 and ignore it. Let the option stock handle inventory.

Re: Stock levels for different options?

Posted: Wed Dec 14, 2011 4:11 am
by mwd
Hi Q,

The problem with that is it will cause a lot of confusion and emails from customers when a product is out of stock.
The product will still show as "In Stock" but can't be added to the cart because all of the options are out of stock.

Ideally the product admin would have something like a checkbox on the data page to choose which stock levels the cart will use, main quantity or options quantity.
If checked, the cart will use the total quantities in the options.
Default unchecked, it uses the main quantity.

I smell the need for a VQmod here, but it may be way more complicated than I imagine.

As it stands, the only way to make this work properly now is to manually adjust the main quantity to match the total of all option quantities for each product individually.