Adding an inventory to your storefront could not be more straight-forward 🙂
To add an inventory manually:
Products > Inventory > + New Inventory > Enter Fields > Save.
(Where you see 'Due date' in the example above, this is for when you are expecting stock)
To add an inventory via import:
Products > Inventory > Import Inventory > Download Template & Complete Details > Upload > Save.
The rules for this import are as follows:
Global Inventory Settings
You will also notice that are various settings which can be adjusted in regards to your inventory. Please make sure you have created your suppliers before making any changes. This article will help you create your suppliers.
In the global settings, you are able to change your in/out/restock messages, as well as choose what stock values you would like to display on your storefront.
Hide "Add to Cart" button if no stock will restrict users from buying products which are out of stock,
Enforce stock check when adding to the cart will offer the user a prompt when the qty added is greater than the stock available
Account Inventory Settings - applying rules
The same rules as above can be applied on account level - with the difference that you can also restrict locations. Click on New Rule and fill in the spaces. Assign your customer label to apply the restriction. Make sure the label has been applied to your customer for this rule to take effect To learn more about creating labels, please click here.
Displaying Inventory on the storefront
We will display inventory on a per location basis.
If the items don't have inventory values associated with the other locations, we don't show those locations. If we don't actually know whether there is stock in a particular location then we default to not showing anything.
If we get a value of "0" for a location then we show that to the user.
Side note:
Under the inventory rules section. We have an "Include products without inventory" toggle. This will work for products where we don't have any value for any location....in this case we will show those products as out-of-stock.
You now have your inventory created - nice one!