Configuration > Stock

The stock configuration settings control stock management as well as various things on the shopping cart page.

Check stock level

Key: STOCK_CHECK
Path: Configuration > Stock
Description: Check to see if sufficient stock is available

Subtract stock

Key: STOCK_LIMITED
Path: Configuration > Stock
Description: Subtract product in stock by product orders

Allow Checkout

Key: STOCK_ALLOW_CHECKOUT
Path: Configuration > Stock
Description: Allow customer to checkout even if there is insufficient stock

Mark product out of stock

Key: STOCK_MARK_PRODUCT_OUT_OF_STOCK
Path: Configuration > Stock
Description: Display something on screen so customer can see which product has insufficient stock

Stock Re-order level

Key: STOCK_REORDER_LEVEL
Path: Configuration > Stock
Description: Define when stock needs to be re-ordered

Products status in Catalog when out of stock should be set to

Key: SHOW_PRODUCTS_SOLD_OUT
Path: Configuration > Stock
Description: Show Products when out of stock

0= set product status to OFF
1= leave product status ON

Show Sold Out Image in place of Add to Cart

Key: SHOW_PRODUCTS_SOLD_OUT_IMAGE
Path: Configuration > Stock
Description: Show Sold Out Image instead of Add to Cart Button

0= off
1= on

Enable disabled product by available date

Key: ENABLE_DISABLED_UPCOMING_PRODUCT
Path: Configuration > Stock
Description: How should hidden (disabled) product with a future available date be made visible (active) to customers when the date is reached?

Product Quantity Decimals

Key: QUANTITY_DECIMALS
Path: Configuration > Stock
Description: Allow how many decimals on Quantity

0= off

Show Shopping Cart - Delete Checkboxes or Delete Button

Key: SHOW_SHOPPING_CART_DELETE
Path: Configuration > Stock
Description: Show on Shopping Cart Delete Button and/or Checkboxes

1= Delete Button Only
2= Checkbox Only
3= Both Delete Button and Checkbox

Show Shopping Cart - Update Cart Button Location

Key: SHOW_SHOPPING_CART_UPDATE
Path: Configuration > Stock
Description: Show on Shopping Cart Update Cart Button Location as:

1= Next to each Qty Box
2= Below all Products
3= Both Next to each Qty Box and Below all Products

Show New Products on empty Shopping Cart Page

Key: SHOW_SHOPPING_CART_EMPTY_NEW_PRODUCTS
Path: Configuration > Stock
Description: Show New Products on empty Shopping Cart Page
0= off or set the sort order
Key: SHOW_SHOPPING_CART_EMPTY_FEATURED_PRODUCTS
Path: Configuration > Stock
Description: Show Featured Products on empty Shopping Cart Page
0= off or set the sort order

Show Special Products on empty Shopping Cart Page

Key: SHOW_SHOPPING_CART_EMPTY_SPECIALS_PRODUCTS
Path: Configuration > Stock
Description: Show Special Products on empty Shopping Cart Page
0= off or set the sort order

Show Upcoming Products on empty Shopping Cart Page

Key: SHOW_SHOPPING_CART_EMPTY_UPCOMING
Path: Configuration > Stock
Description: Show Upcoming Products on empty Shopping Cart Page
0= off or set the sort order

Show Notice of Combining Shopping Cart on Login

Key: SHOW_SHOPPING_CART_COMBINED
Path: Configuration > Stock
Description: When a customer logs in and has a previously stored shopping cart, the products are combined with the existing shopping cart.

Do you wish to display a Notice to the customer?

0= OFF, do not display a notice
1= Yes show notice and go to shopping cart
2= Yes show notice, but do not go to shopping cart



Still have questions? No problem! Just head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified June 24, 2020 by Scott C Wilson (ef2e67d).