Managing the status of the elements
Correlation of the status field between BigCommerce and Sales Layer
Categories
In BigCommerce we have the
To map this field from Sales Layer we have the “


It can be mapped with the following values:
- boolean false/true
- text 'false', '0', 'no' o 'true', '1', 'yes', 'si' (not case-sensitive)
- number 0 or
Products
In BigCommerce we have the

To map this field from Sales Layer we have the “

It can be mapped with the following
- boolean false/true
- text 'false', '0', 'no' o 'true', '1', 'yes', 'si' (not case-sensitive)
- number 0 or 1
Variants
In BigCommerce we have the

To map this field from Sales Layer the “

It can be
- boolean false/true
- text 'false', '0', 'no' o 'true', '1', 'yes', 'si' (not case-sensitive)
- number 0 or 1
Warning: Do not link with the "
Note: Our connector does not delete any item in Big Commerce, except for one exception: BigCommerce API does not allow altering configurable attributes that link products and variants. Therefore, initially, the variants of the product will be deleted, then its attributes will be changed, and finally, its variants will be regenerated.
Storefronts management
On the other hand, we will have the storefronts' management:

In the first part, we will be able to link a
- If no storefront is linked, only the first one in BigCommerce will be managed with the general category tree in Sales Layer (always considering the filters on the categories tab).
- If there is no valid category for a storefront, no synchronization will occur for that storefront, and the products will not be linked to any category belonging to that storefront.
- You can add a storefront and link it to the '
Full category tree .' When you do not want to filter the tree starting from any category but want to specify a storefront.
In the second part, we can specify a relationship field with storefronts for categories and products. If a storefront is not selected in the storefront field of a product that is selected in the first part, that product will appear unlinked from that storefront.
- If a category does not have a storefront linked in the storefront category tree, it will not be sent.
- If a product does not have storefronts, it will still be sent, but it will not be linked to any storefront in BigCommerce (only to categories).
Disabling/Enabling items in BigCommerce
Our connector disables items during the synchronization process in the following moments:
- The first one is during the data reading from the API. It will return elements that do not meet the connector filters (tags, root category filter, Sales Layer status) as deleted, and we will disable them.
- The second part will be during storefront filtering.
- When a category is outside the tree filter, or its storefront field does not comply with the linked trees, it will be disabled.
- We will review those products linked to this category and unlink them. In case the product does not have at least one linked category, we will disable it.
- We will perform the same step for variants; those whose parent has been disabled in the previous step will be disabled too.
Note: If you do not wish to disable any item in BigCommerce automatically, please, contact our technical support.
Elements are enabled in BigCommerce when they do not arrive as disabled from the API or the storefront filtering process, and their status is not marked as disabled. In the case, that the status field is not assigned, the element will be enabled when synchronized, either upon creation or when updated when linking its Sales Layer credentials.
Limitations
- If the parent of a category is not exported or is filtered by storefronts, it will be changed to 0, and this category will be placed at the first level.
- A product must always have at least one valid category.
- A variant must always be linked to a product.
- Storefront relationship fields for categories and products must be filled from the connector's storefront tab, not manually. The process takes care of assigning a unique identifier to the storefront name, which corresponds to the storefront ID in BigCommerce, thus facilitating data synchronization.
Possible scenarios
- What happens if a product that has been previously synchronized is sent again without being in any category? The product's category is removed, and the product remains visible without belonging to any category, or the product is disabled.
- If an orphaned product arrives, it will be synchronized without categories.
- As for the category, it is only sent for deletion if it arrives that way from Sales Layer, not because it was linked to a BigCommerce product.
- What happens with the storefront filters in a connector that has not been configured with storefront or field relationships?
- If there are no configured trees, it will work with the first one only, as if the store did not have MSF enabled. Then, the categories will not be filtered, and all will be sent (always considering the filters on the categories tab).
- Since there will be no configured storefront field either, all categories and products will be entered, and no element will be discarded during this process.
- A connector is configured with only one storefront, but no relationship fields for products or categories are linked. We synchronize a product that belongs to a category in the tree selected for that storefront. Later, that category is removed from the product. Would the product and category be disabled in BigCommerce?
- If the category is no longer part of the filters, it would be marked for disabling, and therefore, its product, as well (provided it does not have other valid linked categories).
- If a connector does not have synchronized storefronts but has the storefront field for categories, what happens?
- The storefront to which the data will be synchronized will be the first one, and those categories that have this storefront assigned in the field will be synchronized; the rest will be discarded or disabled if they have been synchronized previously.
- If a storefront is unlinked from the connector, are all its previously synchronized elements unlinked?
- No, since the storefront ID is not in the parameters, it remains as it is and is not modified, similar to not modifying existing storefront data that has not been linked to the connector.
- What happens if a product is sent with the linked storefront field but no storefront is selected? The product has valid categories that are sent for synchronization. What happens to its visibility in the store for both storefronts?
- Visibility does not depend on storefronts; the product can be visible or not, but it applies to all storefronts at once. In this case, the product will be visible, linked to its corresponding categories, but not assigned to any storefront.
- What happens to an already synchronized product when all its categories are removed or unlinked?
- The product is deactivated in BigCommerce because our API only returns products for modification when they have associated categories.