Stockeo Help
  • What is Stockeo?
  • Update inventory from a Google Sheet
  • Update inventory from an XML feed
  • Create products from a JSON feed
  • Data Mapping
    • Format
      • CSV
      • JSON
      • XML
    • SKU
    • Price calculation
    • Quantity settings
    • Quantity format
    • Image URL settings
    • Variants
    • Metafields
    • Title
    • Description
    • Translations
    • Continue selling when out of stock
    • Charge tax
  • Filters
  • TROUBLESHOOTING
    • Invalid Closing Quote
    • Invalid Record Length
Powered by GitBook
On this page
  1. Data Mapping

Continue selling when out of stock

PreviousTranslationsNextCharge tax

Last updated 8 months ago

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" }}