If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Products Quantity help

Products Quantity help

Started by deb040404 on 14 Jul 2012, 5:21 PM · Views: 583

Results 1 to 8 of 8
14 Jul 2012, 5:21 PM
#1
deb040404 avatar

deb040404

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

Products Quantity help

Hi there i am trying to figure this out and have looked everywhere and need some help
One section of products i have Products Quantity this is set to 4,(I do know if it is at 0 this is when out of stock and shows the picture)
I have had 4 orders from people and thought these items would be out of stock as i set to 4 but people can still add them to there account,

How is this done so only 4 people can have an order then they are out of stock?
Thanks for your time

14 Jul 2012, 5:26 PM
#2
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Products Quantity help

admin->configuration->stock->subtract stock should be set to true. Then the quantity will go from 4 to 0 after 4 orders.

There are several settings on this page you'll want to look at to get the stock behavior you want- this is just one of them.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

14 Jul 2012, 5:31 PM
#3
deb040404 avatar

deb040404

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

Re: Products Quantity help

i do have this set
admin->configuration->stock->subtract stock should be set to true. Then the quantity will go from 4 to 0 after 4 orders.

so i am puzzled as why more than 4 people can get the item

14 Jul 2012, 5:34 PM
#4
deb040404 avatar

deb040404

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

Re: Products Quantity help

this is my settings in stock
Attachment 10803

14 Jul 2012, 6:50 PM
#5
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Products Quantity help

What is the products quantity now? It should be 0, if you started with 4 and got 4 orders.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

14 Jul 2012, 7:23 PM
#6
deb040404 avatar

deb040404

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

Re: Products Quantity help

it is still at 4,i also tested another section where i have them at 100 and this has also stayed the same

14 Jul 2012, 7:30 PM
#7
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,760
Plugin Contributions:
56

Re: Products Quantity help

ok. Then compare the file includes/classes/order.php to a fresh copy and see if you have changed it.

That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.

14 Jul 2012, 7:39 PM
#8
deb040404 avatar

deb040404

New Zenner

Join Date:
Oct 2010
Posts:
6
Plugin Contributions:
0

Re: Products Quantity help

not quiet sure what you mean,I uploaded a new order.php and still same