+66 (0)91 888 5866

Flags

Your integration is composed of multiple systems. Using flags, you can decide which system controls which product data field, giving you more control over your workflow.

In the below documentation we will be covering:

What are flags?

Stock2Shop flags control the management of product fields. Each product field has a flag which tells Stock2Shop if the field should controlled by the system that is sending the data or the system that is receiving the data.

There are two types of flags, those that manage data syncing between your source and the Stock2Shop console, and those that manage data syncing between Stock2Shop and your sales channel(s).

Source flags

Each source has it’s own flag settings that allows you to determine which product information should be controlled by one of the following:

  • Source (ERP / accounting system)
  • System (Stock2Shop)

When updates are sent from the source to Stock2Shop, all fields will be updated where the flag is set to “Source”. If a flag is set to “System” for a specific product field, that field will not be updated by the source.

Source flags are useful, specifically when dealing with multiple linked sources. For example, if you have two sources - an ERP as a primary source that is creating products on Stock2Shop and a Google Sheet as a linked sources for additional information - your could use flags to:

  • Put your ERP in charge of the SKU, quantity and price fields.
  • Put the Google Sheet in charge title, description, category, image URL etc.

Channel flags

Each channel has it’s own flag settings which allows you to determine which product information should be controlled by one of the following:

  • System (Stock2Shop)
  • Channel (ecommerce sales channel)

When updates are sent from Stock2Shop to the sales channel, all fields will be updated where the flag is set to “System”. If a flag is set to “Channel” for a specific product field, that field will not be updated by Stock2Shop.

Channel flags allow you the flexibility to enrich your products either on Stock2Shop or on your website. For example, you might have two sales channels in the form of a Magento website and a B2B Trade Store. Your Magento website is already populated with enriched products, so you only want it to receive the quantity and price updates, without any other fields being overwritten. You therefore set the flags on this channel for quantity and price to be “System”, and the rest are set to “Channel”. Your B2B Trade Store, however, requires all fields to be updated from your console, so you therefore leave all flags set at “System”.

Product flag fields

Flags work with all of Stock2Shop’s standard product fields, as well as attribute fields:

  • Title
  • Body HTML (description)
  • Collection
  • Product Type
  • Tags
  • Vendor
  • Options
  • Attributes (any key value attribute)
  • SKU
  • Barcode
  • Quantity (multiple warehouses)
  • Price (multiple pricelists)
  • Grams
  • Inventory Management (tracking inventory)