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.
Agree, will be something to address down the line, but if/when you get whatever equivalent field into the products table then it would be easy for EP4 to provide further support. Just have to get through all the coding to which lat9 was referring based on the homework she's already done... (Would surprise me though if she doesn't already have a full solution already. :) )
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
I tried adding STOCK_LIMITED to the EP4 configuration page, exported the complete product list, with no success. I am working on gaining access to the database (another guy set it up and is trying to figure out the password).
Can anyone confirm the proper heading in a stock database for me, sounds like it might be a while before he can get back to me with the login info. Thanks!!
I don't use EP, so I've no idea what this is referring to/
This is easy to find. It is stored in the configure.php files.
The stock quantities are stored in the 'products' table, with the field name 'products_quantity'
I'm not sure if this is what you are really asking for though.
Cheers
RodG
The field STOCK_LIMITED is not in a default installation of ZC. It appears that there is some misunderstanding of facts provided earlier in the thread.
What appears to be requested is to have one or more fields associated with each product that holds information similar to STOCK_LIMITED and STOCK_ALLOW_CHECKOUT. Currently, STOCK_LIMITED and STOCK_ALLOW_CHECKOUT are each a single database entry and apply to the entire store not dfferently to each product, category, etc...
So untill something is done to add and use a field that can be independently populated for each product into the database, there is not much that EP4 could do to help and "changes" to those constants will apply store wide...
ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...
Bookmarks