Hi,
Like the topic says, I was wondering how one would disable the inventory control.
Thanks,
Max
Hi,
Like the topic says, I was wondering how one would disable the inventory control.
Thanks,
Max
While you can not actually turn this off - you can render it almost non functional rheough several settings....look at admin > config > stockLike the topic says, I was wondering how one would disable the inventory control.
And when entering an item enter a stock level like 1,000 or 100,000 to keep from having to constantly add stock or just set it not to subtract stock??
Actually I have a zencart install done by another web developer and inventory control was actually removed. If this was a critical thing I'd just have her do it but I'd rather learn myself ;). Where in the PHP files is the inventory control handled?
Thanks.
This is most probably not in the file but more likely the admin settings under config > stock and catalog > product typae > genreal > edit layout - for the display
I don't quite know if I follow. If you're talking about turning off the display of stock quantity in the userland, thats not what I'm talking about. I'm talking about disabling inventory control completely.
I.e., if an item is purchased, no counter or anything else is decremented. You can put 0 in the box for product quantity available and it doesn't affect in-stock/out of stock status of the product. I was wondering where in the source the inventory control was so that I could rewrite it.
Settings in the admin...........Like:
Check stock level
Subtract stock
Allow Checkout
Mark product out of stock
Stock Re-order level
Products status in Catalog when out of stock should be set to
Show Sold Out Image in place of Add to Cart
Setting the correct combinations effectively gets you what you want and no code requires re-writing
I figured out what I was looking for in the code. Thanks though for your help. I wasn't precisely looking to flat out disable it that way. There were a couple other things I needed to do.
Thanks for your help.
-Max
This is what you asked for and this is controllable via the admin with no code re-writing. If you had other issues you need to state themI.e., if an item is purchased, no counter or anything else is decremented. You can put 0 in the box for product quantity available and it doesn't affect in-stock/out of stock status of the product.
Not wanting to start a flame war here, I just wanted to point out that you're last comment was very standoffish. I thank you for your help, but there's really no need for that.
My "other issue" isn't a software issue but a deployment issue. I'm going to be setting up multiple sites this way. It's easier to fix it once than it is to go in and make the changes each time. I didn't think think that explaining all of this was really all that critical to my rather simple second question about where the source was located.
What Kobra is saying is that there is often no need to modify the code; switches are available from the admin panel to do many things. The fewer code changes you make, the easier your upgrade path, so this is the preferred mode of operation where possible.
Scott
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.