Pulling Products From Shopify → Xoro
Products can be pulled from Shopify into Xoro using either of the following methods:
Using Product ID
Using Regular Expression
Using Metafield
Pulling Products Using Product ID
The Product ID method allows you to pull a specific Shopify product into Xoro by using the product's unique ID. Before importing the product, the Shopify sales channel must be configured to enable product pulling and use Product ID as the Base Part Number Resolution Type.


Workflow
Step 1: In Shopify, go to Products and click Add product.

Step 2: Enter the required product information, including the Title, Description, Media, Category, Type, and Vendor. Save the Product.

Add the required product options and create the required variants.

Step 3: Select all the variants and click Bulk edit.

Step 4: In the bulk editor, enter a unique value in the SKU column for each variant.

Note: The SKU is used as the Item # when the product is imported into Xoro. A SKU must be specified for every variant. Variants with a blank SKU cannot be successfully imported into Xoro.
Step 5: Save the product and copy the Product ID from the URL. The Product ID is the number displayed at the end of the product URL.
Step 6: In Xoro, go to Pull SKUs and select Actions → Import by product.

Step 7: In the Import products window, select the Shopify product id. Enter the Shopify Product ID and click Import.

Step 8: Go to Logs and verify the import status. A successful Sync SKUs (App To Xoro) entry confirms that the product was successfully imported from Shopify.
Step 9: Open Product Centre and search for the imported product using its product id in Base Part # or other product details.

Right-click the product and click Show Variants to verify that the product's variants have been created as corresponding items using the SKU values entered in Shopify.
Pulling Products Using Regular Expression
Products can be pulled from Shopify to Xoro using a Regular Expression to determine the Base Part Number from the variant SKU. The regular expression is applied to the variant SKU during the import, and the extracted value is used as the product's Base Part Number in Xoro.


Workflow
Step 1: In Shopify, go to Products and click Add product.
Step 2: Enter the required product information, including the Title, Description, Media, Category, Type, and Vendor. Add the required product options and create the required variants. Enter the required prices for the variants and save the product.


Step 3: Select all the variants and click Bulk edit. In the bulk editor, enter a unique value in the SKU column for each variant.

Step 4: Save the product and copy the Product ID from the URL. The Product ID is the number displayed at the end of the product URL.
Step 5: In Xoro, configure the product pull settings before importing the product. Enable Pull products and set Base Part Number Resolution Type to Regular Expression. In Base Part Number Resolution String, enter the required regular expression.
For example, use:
This expression extracts the portion of the variant SKU before the first hyphen. For example, for the SKU SLIMNIGHT-RED-L, SLIMNIGHT is extracted and used as the Base Part Number in Xoro.
Step 6: Now, go to Pull SKUs and select Actions → Import by product. In the Import products window, select Shopify product id. Enter the Shopify Product ID and click Import.

Step 7: Go to Logs and verify the import status. A successful Sync confirms that the product was successfully imported from Shopify.
Step 8: Go to Product Centre and search for the imported product using the Base Part # generated from the regular expression.

Step 9: Right-click the product and click Show Variants to verify that the product's variants have been created as corresponding items using the SKU values entered in Shopify.


Pulling Products Using Metafield
Xoro can use a Shopify product metafield to determine the Base Part Number when importing a product. This provides a direct field-to-field mapping between Shopify and Xoro: the value entered in the Shopify Base Part metafield is used as the Base Part# for the corresponding product in Xoro.
Workflow
Step 1: In Shopify, go to Products and open the product you want to import into Xoro.

Step 2: Scroll to the Product metafields section and locate the Base Part field. Click the Base Part field.
Step 3: The Metafields and metaobjects page opens for the Base Part metafield. On the Metafields and metaobjects page, copy the metafield value displayed for the Base Part field.
For example, the metafield value is displayed as: custom.base_part


Step 4: In Xoro, open the Shopify sales channel settings and set Base Part Number Resolution Type to Metafield.
Step 5: In Base Part Number Resolution String, enter the metafield value copied from Shopify.
Replace the . with a , as required by the setting. For example: custom.base_part becomes: custom,base_part

Step 6: Return to the Shopify product and, under Product metafields, enter the required Base Part value in the Base Part field.

Step 7: In Xoro, go to Pull SKUs and select Actions → Import by product.
Step 8: In the Import products window, select Shopify product id, enter the Shopify Product ID, and click Import.

Step 9: Go to Logs and verify the import status. A successful Sync confirms that the product was imported from Shopify.
Step 10: Go to Product Centre and search for the imported product. Verify that SleekSlims is displayed as the product's Base Part#.

Last updated
Was this helpful?