Replication

In this article

Initial Configuration

To Send Marketing Text to Shopify

To Send Item HTML to Shopify

To Send Normal Item to Shopify

To Send Variant Item to Shopify

To Update Images to Shopify

To Send Inventory to Shopify

To Send Prices to Shopify

Video Tutorial

The Shopify Business Central Connector supports several replication processes that keep product, inventory, and pricing information synchronized between Business Central and Shopify. These replications ensure that Shopify always reflects the latest item data maintained in Business Central, enabling accurate product availability, pricing, and customer experience across your online store.

Note: Shopify Business Central does not use LS Central Item distribution method to send data to Shopify.

The Replication feature lets you:

  • Synchronize product data from Business Central to Shopify, including standard items and items with variants.
  • Synchronize inventory levels maintained in Business Central so they are accurately reflected in Shopify.
  • Synchronize Shopify with the latest prices or market‑specific price lists defined in Business Central.
  • To sync LS Images and extra LS Meta Data, run Code unit 71079036 "LSC Shpfy Products" in LS Central scheduler.

Initial Configuration

Before sending items to Shopify, review the following setup so that inventory tracking and product descriptions behave as expected.

Inventory Tracked

Note: Enable Inventory Tracked on the Shopify Shop Card before sending items to Shopify. If this setting is not enabled, inventory tracking and inventory synchronization may not function correctly for the replicated items.

Product Description: Marketing Text or Item HTML

The text sent to Shopify as a product's description can come from one of two sources - only one can be active per Shopify Shop at a time:

  • Marketing Text - the standard Business Central Entity Text feature. Enable Sync Item Marketing Text on the Shopify Shop Card, then add the marketing text for the item using the Marketing Text action on the Shopify Products page.
  • Item HTML - a curated, LS Central specific alternative, carried over from the original Shopify LS Connector, that can also include the item's Extended Text, Attributes, and Vendor information. Enable Use Item HTML under LS Central Extension on the Shopify Shop Card.

Note: These two options are mutually exclusive. Enabling Use Item HTML automatically turns off Sync Item Marketing Text for that shop, and enabling Sync Item Marketing Text turns off Use Item HTML.

To Send Marketing Text to Shopify

  1. On the Shopify Shop Card, enable Sync Item Marketing Text.
  2. On the Shopify Products page, select the item and navigate to Home - Marketing Text to add or edit its marketing text.
  3. Send or synchronize the item to Shopify, navigate to Synchronization - Products to send marketing text to Shopify.
  4. Open Shopify Admin, navigate to Products, search for Towel Linda and verify that the marketing text was successfully synchronized and displayed on the corresponding Shopify product.

To Send Item HTML to Shopify

  1. On the Shopify Shop Card, under LS Central - Item, enable Use Item HTML. Optionally also enable Include Extended Text in Item HTML, Include Attribute in Item HTML, Include Vendor in Item HTML to include that additional content.
  2. On the Shopify Products page, add or send the item Blue Cheese to Shopify and click LS Item HTML to review the curated Item HTML content for that item.
  3. Open Shopify Admin, navigate to Products, search for Blue Cheese and verify that the Item HTML was successfully synchronized and displayed on the corresponding Shopify product.

To Send Normal Item to Shopify

  1. Open the Shopify Shop Card page and navigate to Related - Products. On the Shopify Products page, select Home - Add Items, then choose the item you want to send to Shopify as a product.

  2. Select the item (e.g. 40170 – Bag Linda) to be added to Shopify from the drop-down menu. Image synchronization can be enabled at this stage, while inventory synchronization is explained in the following section.

  3. Scroll down the table on the Shopify Products page and verify that the previously added item Bag Linda appears in the list.

  4. Open Shopify Admin, navigate to Products and verify that Bag Linda has been successfully sent to Shopify.

    Note: The image was synchronized automatically because the Sync Images option was enabled. Inventory synchronization will be covered in the next section.

To Send Variant Item to Shopify

To use LS Central Variant Framework with Items, instead of default single Variant mode that Shopify Business Central supports, check Use LS Variant Framework check in Shopify Shop Card.

  1. Open the Shopify Shop Card page and navigate to Related - Products. On the Shopify Products page, select Home - Add Items, then choose the variant item you want to send to Shopify as a product.

  2. Select the item (e.g. 40040 – Blouse Linda professional wear) to be added to Shopify from the drop-down menu and choose the appropriate item category code. Enable image synchronization before clicking OK.

  3. Scroll down the table on the Shopify Products page and verify that the previously added item Blouse Linda professional wear appears in the list.

  4. Open Shopify Admin, navigate to Products and verify that Blouse Linda professional wear has been successfully sent to Shopify.

    Note: If images for all variants are not successfully uploaded to Shopify, select the item row in the table and navigate to Synchronization - LS Images to resend them.

To Update Images to Shopify

Item and variant images are kept in sync with Shopify by a dedicated LS Central Extension scheduler job, separate from the item/variant replication described above.

Note: If you are managing images through LS Central (LS Image Send), set Sync Item Images to Disabled on the Shopify Shop Card. This ensures images from the standard Business Central connector are not sent together with the item when it is created, so images are managed through LS Central instead.

Initial Configuration

Before images can be synchronized, make sure the following Admin API scopes are enabled for the app in the Shopify Dev Dashboard.

  • Products: read_products, write_products
  • Files: read_files, write_files

Note: These scopes must be enabled to support proper image synchronization and ensure image updates function correctly.

Scheduler Setup

Go to Scheduler Job List and create a job for image synchronization, if one does not already exist:

  • Object Type: Codeunit
  • Object No.: 71079046 ("LSC Shpfy Image")
  • Uses Scheduler Job Record: enabled

To Send Images in Bulk

The image update can be run as a Scheduler job that uses the Retail Image Link pre-actions. This lets you send the images of many items to Shopify in a single run, instead of sending them one item at a time.

  1. Make sure Sync Item Images is set to Disabled on the Shopify Shop Card, as described above.
  2. Go to Scheduler Job List and create a new scheduler job for the BC Shopify images (BCSHOPIFY-IMAGE), only if no entry has been created for this job.

    Note: If an entry already exists, confirm that it is configured with the correct codeunit (71079046 "LSC Shpfy Image").

  3. Open the Shopify Shop Card page, navigate to Related - Products, and click Add Items to add items to Shopify. You can use the available filters to select which items you want to send.

  4. Open the Scheduler page, select the BCSHOPIFY-IMAGE Job ID from the list, and click Run Scheduler Job Directly.

    Note: If clicking Run Scheduler Job Directly does not start the job, navigate to Related - Scheduler - Replication Counters and reset the Last Source Counter to 0 for your location code.

  5. Open Shopify Admin, navigate to Products, and verify that the bulk image update ran successfully using the scheduler and that all the images have been updated.

    Note: Alternatively, you can run the LS Images action on Shopify Products page to synchronize the images of all items to Shopify.

To Update Item Images

  1. Go to the Retail Item List, search for 40460 - Air aviator sunglasses and navigate to Related - Master Data - Images.
  2. Add or edit images on the Retail Image Link List page. The Display Order field can be set to control the order the images appear in on Shopify.
  3. Note: The rows highlighted in the red boxes are the newly added images.

  4. Open the Scheduler page, select the image Scheduler Job, and run it to synchronize the updated images with Shopify or you can run LS Images.
  5. Note: If clicking Run Scheduler Job Directly does not start the job, navigate to Related - Scheduler - Replication Counters and reset the Last Source Counter to 0 for your location code.

  6. Open Shopify Admin, navigate to Products, search for 40460 - Air aviator sunglasses and verify that the new images were added, in the same order as their Display Order in LS Central.
  7. Before

    After

To Delete Item Images

  1. Go to the Retail Item List, search for 40170 - Bag Linda and navigate to Related - Master Data - Images.
  2. On the Retail Image Link List page, select the row of the image to be deleted, then click the Delete icon (or More options (⋮) - Delete), and click Yes for confirm.
  3. Open the Scheduler page, select the image Scheduler Job, and run it to synchronize the updated images with Shopify.
  4. Note: If clicking Run Scheduler Job Directly does not start the job, navigate to Related - Scheduler - Replication Counters and reset the Last Source Counter to 0 for your location code.

  5. Open Shopify Admin, navigate to Products, search for 40170 - Bag Linda and verify that the image has been removed.
  6. Before

    After

To Update Variant Images (Delete image + Add new image → Run scheduler)

Item variants that share the same variant group (for example, all variants of the same colour) share a single image; Business Central

Note: Shopify supports only one image per variant.

  1. Go to the Retail Item List, search for the variant item 40310 – Linda Casual Dress, and navigate to Related - Master Data - Variants - Other - Variants.
  2. On the Variant Worksheet, select a variant row 007 - Red, then navigate to Related - Variant - Images to open the images for the selected variant.
  3. To remove the variants group's current image, delete it from the Retail Image Link List and confirm removing the image for all variants in the RED variants group.
  4. To assign a new image, add it to the Retail Image Link List - either selecting an existing image from the drop-down list or creating a new entry in the Retail Image List - and confirm assigning it to all variants in that group. In this example, 40310 - RED is added.
  5. Open the Scheduler page and run the scheduler job again to synchronize the deleted and updated images to Shopify.
  6. Open Shopify Admin, navigate to Products, search for 40310 – Linda Casual Dress and verify that the variant's image has been deletedand added in LS Central have been synchronized correctly to Shopify.
  7. Before

    After

Tip: If you encounter duplicated images being synced to Shopify, delete the affected item from the Shopify Products page, Shopify Mapping LS Images, and Shopify Admin - Products. Then, send the product to Shopify again.

On the Shopify Products page, select the item and navigate to Synchronization - LS Images to resend the images to Shopify. Once the images have been synced successfully, you can continue to add or delete images in the Retail Image Link List and run the image Scheduler Job to synchronize the changes back to Shopify.

To Send Inventory to Shopify

Inventory Calculation Method

The eCommerce - Shopify Business Central Connector for LS Central supports two inventory calculation methods when synchronizing inventory to Shopify. The inventory calculation method is configured on the Location Card using the Stock Calculation setting.

The following options are available:

  • Standard Business Central Inventory Calculation – Uses the standard Business Central inventory calculation to determine the available inventory quantity sent to Shopify.

  • LS Retail Inventory Calculation – Uses LS Retail Calculation logic to determine the available inventory quantity. This calculation can take sourcing locations into account during inventory updates, providing inventory quantities that align with LS Central's inventory and sourcing location during inventory updates.

Note: The Stock Calculation setting is configured per location. Ensure that locations participating in Shopify inventory synchronization are configured with the appropriate calculation method based on the desired inventory behavior.

  1. Open the Item Journal page and post the inventory for the items that have been added to Shopify.

  2. Go to the Shopify Shop Card page and navigate to Synchronization - Sync Inventory to synchronize all inventory with Shopify. Wait until the Job Queue Log displays a Success status before verifying the updated inventory levels in Shopify.

    Note: To upload inventory for a single product, select the item row on the Shopify Products page, then navigate to Synchronization - Inventory to run an inventory update for that specific item.

  3. Open Shopify Admin, navigate to Products and verify that the inventory has been successfully synchronized and uploaded for the respective products.

To Send Prices to Shopify

  1. Open the Retail Item List page and update the item price. For example, change the price of 40170 – Bag Linda. After modifying the price, verify the line to confirm that the update has been applied.

  2. Go to the Shopify Shop Card page and navigate to Synchronization - Prices to Shopify to synchronize the selected item’s price. Wait until the Job Queue Log displays a Success status before verifying the price in Shopify.

  3. Open Shopify Admin, navigate to Products and and verify that the price for Bag Linda has been successfully updated and synchronized.

Video Tutorial

Watch the video on YouTube to learn more about Shopify BC Connector for LS Central Replication Feature: