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

Disabled Product Status for Search Engines

Key: DISABLED_PRODUCTS_TRIGGER_HTTP200
Path: Configuration > Stock
Description: When a product is marked Disabled (status=0) but is not deleted from the database, should Search Engines still show it as Available?
eg:
True = Return HTTP 200 response
False = Return HTTP 410
(Deleting it will return HTTP 404)
Default: false

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 disabled products with a future available date be made active 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? Use the Search box in the upper right, or try the full list of FAQs. If you can't find it there, 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 January 28, 2024 by Scott C Wilson (a7afbb02).