search-icon

DEAR requires a unique SKU for each product while Shopify does not enforce the same rule - this means that Duplicate SKUs can appear in Shopify. This previously was not supported by DEAR, and duplicate SKUs in Shopify would not be imported to DEAR until the user was able to change the Shopify SKUs to unique values. DEAR now has an option to support duplicate SKUs from Shopify and allow these products to be downloaded to DEAR. This functionality will apply to any duplicate SKUs in Shopify regardless of how the duplicates have occurred.


How downloads of duplicate SKUs is handled by the system is a little complex and is explained in detail below, including how this affects stock updates, sale orders, and catalog listings.


Prerequisites:


Table of Contents


Enable import of duplicate SKUs

[back to top]


Enabling this functionality is optional. If this functionality is disabled, duplicate SKUs will not be downloaded from Shopify to DEAR.  


Enable importing of Duplicate SKUs by going to Integrations → Shopify and select the Setup tab. In Account & Cash Settings, enable Import duplicate SKUs from Shopify. DEAR uses the Auto-assembly/Kit feature to process duplicates. 


Download of duplicate SKUs

[back to top]


When DEAR encounters Shopify products with duplicate SKU (SKU-A), these will be downloaded to DEAR, creating the following elements: 

  • MainProduct with DEAR SKU (SKU-A);
  • KitProduct for each product with Shopify SKU (SKU-A); in DEAR the KitProduct will have SKU (Shopify <VariantID>) as this is a unique value in Shopify. KitProducts will be only be used to accurately update stock levels and fulfillments and will never be used in sales. 
  • Each KitProduct will have an Assembly BOM containing 1 component only, MainProduct (SKU-A). Auto-assembly/Kit and Disassembly are enabled.  


In practice, this looks like this:

  1. Three Shopify products with the same SKU (SKU - 456) are downloaded to DEAR for the first time. These are actually the same product, but the SKU has been duplicated in Shopify - this is a common occurrence when third party apps create new Shopify items for the same SKU but with different price variants. We will use this scenario for our example:
    • IKEA Chair (SKU - 456) - $20 price
    • IKEA Chair (SKU - 456) - $15 price
    • IKEA Chair (SKU - 456)- $12 price
  2. Next, there are two possible scenarios, which are handled slightly differently: 
    1. No direct link: No product in DEAR is mapped to any of the products with duplicate SKUs in Shopify when the Shopify Catalog is downloaded to DEAR. 
    2. Direct link: A product in DEAR is mapped to one of the products with duplicate SKUs in Shopify when the Shopify Catalog is downloaded too DEAR. 
      • NOTE: This scenario also applies when a Shopify order contains duplicate SKU products which have not previously been downloaded to DEAR, as DEAR will import and map the first duplicate SKU product it encounters. 
  3. No Direct Link:
    1. If there is no product called IKEA Chair in DEAR, then DEAR will take any of the duplicate SKUs above (usually the first one downloaded) and use it to create the MainProduct in DEAR. This product will appear as usual in listings, sale orders, fulfillments - this will be explained further below
    2. DEAR will also create three KitProducts, using the unique Shopify VariantIDas the SKU in DEAR. These products  are marked as not for sale and will not appear for sale orders and fulfillments - this will be explained further below. 
      • IKEA Chair (SKU in DEAR - 986902345)
      • IKEA Chair (SKU in DEAR - 986432345)
      • IKEA Chair (SKU in DEAR - 456789021)
    3. Each KitProduct is connected to the MainProduct via Assembly BOMs with the MainProduct as the single component. Auto-Assembly/Kit and Auto-Disassembly are enabled.
  4. Direct Link:
    1. If there is already a product in DEAR which is mapped to one of the Duplicate SKUs in Shopify, then this will be used as the MainProduct in DEAR. This product will appear as usual in listings, sale orders, fulfillments - this will be explained further below. In this example, IKEA Chair (SKU - 456) - $20 price was already downloaded to DEAR. 
    2. When DEAR later encounters duplicate SKUs of the already mapped product, DEAR will then create KitProducts, using the unique Shopify VariantID as the SKU in DEAR, for any other  These products  are marked as not for sale and will not appear for sale orders and fulfillments - this will be explained further below. In this example, that is just two KitProducts.
      • IKEA Chair (SKU in DEAR - 986432345)
      • IKEA Chair (SKU in DEAR - 456789021)
    3. Each KitProduct is connected to the MainProduct via Assembly BOMs with the MainProduct as the single component. Auto-Assembly/Kit and Auto-Disassembly are enabled.
  5. This allows every duplicate SKU in Shopify to be connected in such a way that they are treated as a single product (MainProduct) in DEAR for consistent stock keeping, using the KitProducts as an intermediary.


Next, we will explain how this affects DEAR features such as sales, listings, and fulfillments. 


Catalog and Bulk Listing

[back to top]


KitProducts will appear on both the Catalog and Bulk Listing tabs with Listed status, and retain their link with the duplicated product SKUs in Shopify. MainProduct is displayed differently for No direct link and direct link scenarios, as explained below:


In our No Direct Link example, this will look like:

  • IKEA Chair (SKU in DEAR - Shopify 986902345) will be visible in the Catalog and Bulk Listing tabs with status Listed, mapped to IKEA Chair (SKU - 456) in Shopify.
  • IKEA Chair (SKU in DEAR - Shopify 986432345) will be visible in the Catalog and Bulk Listing tabs with status Listed, mapped to IKEA Chair (SKU - 456) in Shopify.
  • IKEA Chair (SKU in DEAR - Shopify 456789021) will be visible in the Catalog and Bulk Listing tabs with status Listed, mapped to IKEA Chair (SKU - 456) in Shopify.
  • MainProduct (IKEA Chair (SKU - 456)) will be visible in the Catalog and Bulk Listing tabs with status Unlisted. Attempting to list this product will produce an error.


In our Direct Link example, this will look like:

  • IKEA Chair (SKU in DEAR - Shopify 986432345) will be visible in the Catalog and Bulk Listing tabs with status Listed, mapped to IKEA Chair (SKU - 456) in Shopify.
  • IKEA Chair (SKU in DEAR - Shopify 456789021) will be visible in the Catalog and Bulk Listing tabs with status Listed, mapped to IKEA Chair (SKU - 456) in Shopify.
  • MainProduct (IKEA Chair (SKU - 456)) will be visible in the Catalog and Bulk Listing tabs with status Listed.


MainProduct (IKEA Chair (SKU - 456)) will be used when listing the product on other eCommerce channels (WooCommerce, Amazon, etc.)


In this example, the duplicated SKUs in Shopify have different prices. The first Shopify product downloaded will be used as the MainProduct and populate Price Tier 1 in DEAR. If the price in Shopify differs from the MainProduct, it will be as if the merchant sold the MainProduct with a discount/additional cost. 


[back to top]


KitProducts will appear both on the Catalog and Bulk Listing tabs with status Listed. If a customer unlinks one of these products, it will disappear from the catalog and will not reappear without re-downloading the entire catalog from Shopify. Re-downloading the catalog from Shopify will restore the KitProduct to the catalog, the Listed status, and the link between the KitProduct and the Shopify product. 


In the Direct Link scenario, unlinking the MainProduct will simply remove the link between the MainProduct in DEAR and the Shopify product. The link between these products will be restored the the MainProduct is listed again. 


If the product catalog is re-downloaded from Shopify while MainProduct is unlinked to the Shopify product, a new KitProduct will be created, as in the No Direct Link scenario. 


Unlisting or removing a product

[back to top]


Unlisting a product from the Catalog removes this product on the Shopify side. As there is no longer a product with the same variantID, the link between the KitProduct and Shopify product is broken, and the KitProduct will no longer appear in the Catalog in DEAR. 


Re-downloading the Shopify product catalog will not recreate the KitProduct or the link, as there is no equivalent Shopify product. Re-creating a product in Shopify with the same SKU will create a new KitProduct upon download, and not re-establish the link.  


It will not be possible to re-list a product that was unlisted in DEAR and map it back to the same product in Shopify, attempting to do so will produce an error. 


Sale orders

[back to top]


Whenever a Shopify product duplicate SKU (e.g. IKEA Chair (SKU - 456)) is sold and the sale task is passed to DEAR, DEAR finds the linked KitProduct (IKEA Chair (SKU in DEAR - Shopify 986902345)). KitProducts are flagged as Not for Sale, so it will be auto-assembled from MainProduct (IKEA Chair (SKU - 456)). If multiple duplicate SKU products are part of the order, they will all be auto-assembled from the same MainProduct. 


The sale tasks in the Pending Orders tab and the sale order will show MainProduct (IKEA Chair (SKU - 456)) and the stock quantity will be updated for MainProduct accordingly. The KitProduct/s do not appear in the sale. As assembly/disassembly is automatic, this takes place without any assembly orders.


Stock updates

[back to top]


Shopify products will be mapped to the KitProduct in DEAR with the MainProduct as its only component. When auto-assembly/disassembly is enabled, the stock of the assembled product is calculated according to component availability. Thus, the KitProduct and MainProduct will have the same stock quantity. 


When a unit of MainProduct is sold in DEAR or via another sales channel, the stock will be updated via the KitProduct from DEAR to Shopify for all Shopify products by a single value. 


When any duplicate SKU in Shopify mapped to a KitProduct is sold via Shopify, the stock of MainProduct in DEAR will be updated accordingly. 


Let's return to our example. 

  • We had 15 pairs of IKEA Chair (SKU - 456) as the MainProduct in DEAR. 5 pairs are sold, leaving 10 pairs. DEAR will update all Shopify products IKEA Chair - $20, IKEA Chair - $15 and IKEA Chair - $12 (SKU - 456) mapped to this MainProduct IKEA Chair (SKU - 456) with this updated quantity (10 pairs of Jeans).


When Update stock levels in Shopify is enabled, stock updates in DEAR will overwrite the current stock  levels in Shopify for Shopify products. 


 NOTE: We recommend only making stock adjustments for MainProducts. Making stock adjustments for KitProducts can cause incorrect stock numbers in both DEAR and Shopify. 


Fulfillment

[back to top]


Fulfillments of entire sale orders containing products with duplicate SKUs do not require any additional user actions or prerequisites to function correctly. 


Partial fulfillment of sale orders containing products with duplicate SKUs have the following requirements:

  1. Enable partial fulfillment must be on (Integrations → Shopify → [select store] → Setup → General Settings)
  2. Shopify locations must be mapped 1-1 with DEAR locations


KitProduct is not for sale, so MainProduct (component of KitProduct) appears in the sale and fulfilment information.

The sale order will display only the mapped MainProduct and the sale quantity to be fulfilled. As products in Shopify with duplicate SKUs are in fact one product, DEAR will fulfill these products one by one and send this fulfilment information to Shopify as soon as the ship stage is authorised. 


Summary table

[back to top]


Here is a short summary of how KitProducts/MainProducts are treated in each of these procedures. 


ProceduresKitProductMainProduct
Stock updatesKitProducts will update the Shopify products (SKU-A) linked to them with the stock values of the MainProductStock update values will be transferred to KitProducts via Assembly BOMs
Sale order (SO)Not for sale, will not appear on sale ordersWill appear both in sale tasks (Pending orders tab) and in Sale Order in DEAR
ListingWill be marked as Listed on the Catalog tab and on the Bulk Listing tabNo direct link
  • Will be marked as Unlisted on the Catalog tab and on the Bulk Listing tab

Direct link
  • Will be marked as Listed on the Catalog tab and on the Bulk Listing tab
Fulfillment

Not for sale, will not appear on sale order or fulfillment information. 

KitProduct is not for sale, so MainProduct (component of KitProduct) appears in the fulfilment information for both partial and whole order fulfillment.


 


 



Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.