Page 1 of 2 12 LastLast
Results 1 to 10 of 13
  1. #1
    Join Date
    Jul 2015
    Location
    Virginia
    Posts
    57
    Plugin Contributions
    0

    Default Setting A Product to Not Track Inventory

    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!

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: Setting A Product to Not Track Inventory

    Quote Originally Posted by Blenderite View Post
    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!
    Yep, it's called custom programming!

    Note: Yours is not the first request to move Zen Cart's default stock management (i.e. Stock->Allow Checkout, Stock->Subtract Stock) down a notch so that the handling could be configured at the category- or product-level.

  3. #3
    Join Date
    Jul 2015
    Location
    Virginia
    Posts
    57
    Plugin Contributions
    0

    Default Re: Setting A Product to Not Track Inventory

    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?

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: Setting A Product to Not Track Inventory

    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.

  5. #5
    Join Date
    Jul 2015
    Location
    Virginia
    Posts
    57
    Plugin Contributions
    0

    Default Re: Setting A Product to Not Track Inventory

    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.

  6. #6
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    12,478
    Plugin Contributions
    88

    Default Re: Setting A Product to Not Track Inventory

    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.

  7. #7
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Setting A Product to Not Track Inventory

    Quote Originally Posted by Blenderite View Post
    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.
    Quote Originally Posted by lat9 View Post
    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...

  8. #8
    Join Date
    Jul 2015
    Location
    Virginia
    Posts
    57
    Plugin Contributions
    0

    Default Re: Setting A Product to Not Track Inventory

    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!!

  9. #9
    Join Date
    Jan 2007
    Location
    Australia
    Posts
    6,167
    Plugin Contributions
    7

    Default Re: Setting A Product to Not Track Inventory

    Quote Originally Posted by Blenderite View Post
    I tried adding STOCK_LIMITED to the EP4 configuration page, exported the complete product list, with no success.
    I don't use EP, so I've no idea what this is referring to/

    Quote Originally Posted by Blenderite View Post
    I am working on gaining access to the database (another guy set it up and is trying to figure out the password).
    This is easy to find. It is stored in the configure.php files.

    Quote Originally Posted by Blenderite View Post
    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!!
    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

  10. #10
    Join Date
    Jul 2012
    Posts
    16,732
    Plugin Contributions
    17

    Default Re: Setting A Product to Not Track Inventory

    Quote Originally Posted by Blenderite View Post
    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!!
    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...

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. v151 Keep track of attributes with inventory
    By Kevin205 in forum General Questions
    Replies: 5
    Last Post: 26 Aug 2013, 08:31 PM
  2. Inventory track by size
    By Colfax in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 12 Jan 2011, 09:56 PM
  3. Track inventory by attribute
    By djstern in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 15 Jun 2007, 06:21 AM
  4. Inventory question - how to track components of assembled products
    By rbobzin in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 4 Apr 2007, 05:09 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR