Although not really recommended, it is possible to manage stock levels for a product or variant in Magento via Sales Layer.
To do so, begin by filling in the
So, if you fill in the fields within Sales Layer with values greater than 0, the product/ variant will be updated with in stock status. If the stock value is at 0, the option to manage product stock will be the same as the one configured in the store:
Warning: In case of a product with variants, you need to set the stock information in the variants and not in the product. However, sending Stock for the product will not appear in Magento, only in its variants.
Likewise, deselecting the "
Inventory Backorderswhich can be mapped with the following values:
- No Backorders: to send one of the following values: 0, no, or backorder
- Allow Qty Below 0: to send on of the values 1, allow or bellow
- Allow Qty Below 0 and Notify Customer: to send one of the notify or customer values
Inventory Minimum Qty Allowed in Shopping Cart:sending a numeric value Inventory Maximum Qty Allowed in Shopping Cart:sending a numeric value
If you have the Avoid Stock Update option selected, the plugin will never intervene in the stock management fields.