We need the ability to not track inventory on certain products, so that it never says out of stock.
I know I can set it to do this for the entire store, but I only want this for certain products. Is there a way to do that?
Thanks!
We need the ability to not track inventory on certain products, so that it never says out of stock.
I know I can set it to do this for the entire store, but I only want this for certain products. Is there a way to do that?
Thanks!
I am surprised that there is not an add-on for this.
Is there any direction that you could send me to help me 'fix' ZenCart? Or is this an adventure I should endeavour on my own?
Me, too!
The two store-side settings are housed in the database configuration elements named STOCK_ALLOW_CHECKOUT (values 'true' or 'false') and STOCK_LIMITED (values 'true' or 'false'). You can use your admin's Tools->Developers Tool Kit to see where those store-wide settings are used.
The first setting (as its name implies) identifies whether or not to allow checkout with a quantity greater than that in stock. The second setting (where its name came from is anyone's guess) identifies whether or not the product's database-held quantity value is to be reduced by any quantity checked-out.
I wonder if STOCK_LIMITED or STOCK_ALLOW_CHECKOUT would be able to be added to the spreadsheet I have for EasyPopulate 4.0. Hmmmmmm.
Before you head down the EP4 path, you'll need to think about how to update your database to allow product and/or category-specific override values for the two site-wide settings and then to update your products' configuration to display/update those settings.
Working on the KISS priciple...
Why not just give these products a ridiculously high quantity of stock so that they never run out?
If the question is then "I don't want to show this quantity to the public"
The edit product_info.php something like
if quantity > 100000 then display "something else" otherwise display quantity
Yeah it can be tough to remember kind of all sides: that cutoff might be 1000, that started with 10,000 (without the comma) or 100,000, or even larger... When if ever did the quantitiy get reset, etc... :) but still better than trying toadd anadditional field to "track" for eachand every product... But that's considering an existing store and having to figure out which product had to be controlled which way.
Have to remember (if using something that tracks attribute quantities) to also consider some form of cutoff quantity there as well when considering which "product" should show quantities and which should not...
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...