Product quantities are managed in two places depending on the type of product.
For a product with combinations, quantities are managed in the tab for creating combinations, as shown in the figure below.
It is up to you to set the initial stock for all the combinations. PrestaShop will use this to determine when a product is soon out-of-stock or no longer available. To create combinations, please refer to the section on creating combinations for a product.
For a product without combinations, just click on the Quantities tab where you can define three settings.
By default, the product quantity is managed by hand, for each combination, from this page. Once advanced stock management is enabled, PrestaShop will take care of this.
To use stock management for the current product, you first need to enable the feature for the whole shop. Go to the Shop Parameters menu and select "Product Settings" section. In the last section PRODUCTS STOCK select "Enable stock management". Once the box has been checked, an option becomes available: "The quantities available for this product are synchronized with the physical (usable) stock in the warehouse". Select it and you can no longer edit the quantities of the current product: they are now dependent on the stock manager.
When out of stock
The "When out of stock" option lets you tell PrestaShop to behave in a certain way when there are no more quantities in stock:
- deny orders (the product will no longer be available for sale)
- allow orders (in essence, you are doing pre-sales)
- use the default behavior established in the general settings
(Shop Parameters menu, "Products Settings" page, "Products Stock" section, "Allow ordering of out-of-stock products" option).
Availability preferences (particular product)
At the bottom of the page, you can set the exact behavior of PrestaShop depending on the availability of the current product.
The options are:
Label when in stock. Enables you to display a message to your visitors when your product is in stock, for example "Item available". It reassures them that your shop can immediately send them the product.
Label when out of stock (and back order allowed). Enables you to display a message to your visitors when your product is out of stock but they can still order it, for example "Pre-order now” It reassures them that your shop will send them the product immediately once it is in stock.
You can also configure the general settings applied to all of your products. The default option is to deny orders, but this can be modified in Shop Parameters menu, "Products Settings" page, "Products Stock" section, "Allow ordering of out-of-stock products" option.