Quantity settings
Last updated
Last updated
Stockeo provides extensive options for managing how the quantity from the feed will affect the stock in your store. To change quantity settings, navigate to your Stockeo Automations → Edit the desired automation → scroll down to the Data Mapping section → hit the gear icon next to the field in which you typed the name of your supplier's feed quantity. More quantity settings will then appear.
This option allows you to choose whether the feed quantity will overwrite your current stock or if the feed quantity will be added to the current stock.
You can specify a formula in Liquid to calculate quantity based on the feed quantity.
You can round quantity to full tens using the following formula:
You can convert a descriptive stock level to a number. For example, the formula below turns high to 50, low to 10, and out of stock to 0.
It's also possible to use a product or variant metafield in the quantity calculation.
product.metafields.namespace.key
variant.metafields.namespace.key
Let's assume you sell products in multipacks, and your provider tracks quantity of individual items. You can keep the multipack size in a variant metafield, and calculate the number of available multipacks with the following formula:
In this field you can set the low stock cut-off. If the quantity in the feed is below or equal to the given value, your store's product quantity will be zeroed.
If this option is selected, the quantity of products whose SKUs are not present in the feed will be reset to zero. This will be applied to products matching filters.