For the complete documentation index, see llms.txt. This page is also available as Markdown.

Quantity

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 AutomationsEdit 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.

How to edit advanced quantity settings in the Stockeo app animated
Edit advanced quantity settings

Override vs Add

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.

Set whether you want to overwrite or add the feed quantity to the stock
Set whether you want to overwrite or add the feed quantity to the stock

Quantity formula

You can specify a formula in Liquid to calculate quantity based on the feed quantity.

Stockeo quantity formula rounding to full tens.

Round down to full tens

You can round quantity to full tens using the following formula:

Transform text to number

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.

Calculate with metafields

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:

Low stock cut-off

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.

Stockeo low stock cut-off set to 10
Set the low stock cut-off

Reset missing SKUs

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.

How to reset quantity of products whose SKUs are not present in the feed animated
Reset missing SKUs

Force inventory tracking if disabled

Force inventory tracking if disabled for processed variants
Force inventory tracking if disabled

When this setting is enabled, if a processed variant has inventory tracking disabled, Stockeo will automatically turn it on.

Enable the inventory tracking option in Shopify
Inventory tracking option in Shopify

Enable location if disabled

Enable location if disabled - Stockeo
Enable location if disabled

This option enables Stockeo to activate the location specified in the automation for a processed variant if that location is currently disabled.

Select location in Stockeo automation
Select location in Stockeo automation
Stockeo activates selected location
Enabling location in Shopify

Quantity format

Decimal separator

Comma or point. A comma is interpreted as a decimal separator only if followed by two digits to avoid ambiguity with a comma being used as a thousand separator.

The following notation will be ignored by Stockeo and will not update the stock of this product in your store.

The notation with one or three decimal places that will be ingnored by Stockeo annotated
The comma notation of quantity that will be ingnored by Stockeo

Shopify only allows quantity to be stored as an integer. When the quantity in the feed is a decimal number, it will be rounded in accordance with the mathematics.

The notation with two decimal places that will be ingnored by Stockeo annotated
The comma notation of quantity that will be interpreted by Stockeo

The above notation will update the stock to 3 and 4 respectively.

Approximate values

Sometimes in the feeds from some suppliers, there is a notation that the quantity of product is greater than a certain value. Stockeo then always sets the stock equal to this value, omitting the greater than and plus signs.

Different quantity notations in Stockeo for Shopify annotated
Different quantity notations handled by Stockeo

All of the notations above are equivalent and will result in the following results:

Quantity updated by Stockeo according to notations above annotated
Quantity updated by Stockeo according to the notations above

Last updated