Continue selling when out of stock

Stockeo offers a possibility to import the inventory policy for individual products and variants depending on the input feed.

In the Data Mapping section, open the Add field dropdown, and select "Continue selling when out of stock". Then specify the field in your product feed that determines whether out-of-stock purchases are allowed for particular items.

The "Continue selling when out of stock" field accepts the following values.

Positive values:

  • continue, Continue, CONTINUE

  • yes, Yes, YES

  • true, True, TRUE

  • 1

Negative values:

  • deny, Deny, DENY

  • no, No, NO

  • false, False, FALSE

  • 0

You can use a Liquid expression to convert unsupported values, or to specify a fixed value.

For example, when your feed contains a backorder field with one of the two values allow, and disallow:

{%- case backorder -%}
{%- when "allow" -%} continue
{%- when "disallow" -%} deny
{%- else -%} deny
{%- endcase -%}

To specify a fixed value:

{{ "yes" }}

Last updated