Skip to content

Latest commit

 

History

History
49 lines (28 loc) · 5.68 KB

File metadata and controls

49 lines (28 loc) · 5.68 KB
description
Explore how HotWax Commerce syncs pre-order and backorder catalogs to Shopify seamlessly.

Presell Catalog Synchronization

How is the Pre-Order and Backorder Catalog Synced from HotWax Commerce to Shopify?

The items that are available for pre-order or backorder are transferred from HotWax Commerce to Shopify through the "presell catalog sync" job. This job is set to run every 15 minutes by default and updates the product listings on Shopify based on any changes made to the pre-order/backorder category in HotWax Commerce within the last 15 minutes.

Fig. 2 : Configurations of 'Sync Variant Details' job in Job Managers App

The products are listed/delisted from Shopify through the following steps:

  1. The “presell catalog sync” job generates a GraphQL file that contains information about products that have been added or removed from the preorder/backorder category. This file is then uploaded to Shopify. The details included in the GraphQL file are the promised delivery date, product category, and product status.
  2. The GraphQL File also indicates whether the "continue selling when out of stock" flag should be turned ON or OFF.
  3. When a GraphQL file is processed by Shopify, the meta field on the product variants is populated with the promise date, product category, and product status. HotWax Commerce checks the inventory policy for each product variant to ensure that "Continue selling when out of stock" is automatically turned on or off

To further illustrate this example, let’s take a look at a GraphQL file for the given purchase order items:

Purchase OrdersProduct NameArrival DateProduct categoryStatusContinue Selling Out of Stock
PO 1234Black Jacket10-10-23PreorderActiveTrue
PO 1234Green Jacket10-10-23BackorderActiveTrue
PO 2345Red Shirt08-08-23PreorderActiveTrue
PO 2345Green Shirt08-08-23PreorderActiveTrue
PO 2345Purple Shirt08-08-23BackorderActiveTrue
PO 1AB2Yellow Shirt07-31-23PreorderActiveTrue

Once all the products are listed on Shopify, it's important to add the HC:Preorder or HC:Backorder tag accordingly. These tags can easily be added using the 'Add pre-order tags' and 'Add backorder tags' jobs, which run every 15 minutes. By checking the preorder category in the meta fields, the jobs add the appropriate tag to the parent product on Shopify.

The HotWax Commerce Preorder PDP app utilizes tags and meta fields to modify the 'Add to Cart' button and show the expected delivery date on Shopify PDP. Products labeled with 'HC:Preorder' tags will have the 'Add to Cart' button changed to 'Pre-Order', while products with 'HC:Backorder' tags will display 'Backorder' instead.

Fig.3 : Pre-order button on PDP

When a product is delisted from presell, its status changes to inactive and the option to 'continue selling out of stock' is set to false. There are three conditions that may require inventory to be delisted from Shopify.

After the merchant has received all the orders for the available ATP on the black jacket:

Purchase OrdersProduct NameArrival DateProduct categoryPresell StatusContinue Selling Out of Stock
PO 1234Black Jacket10-10-23PreorderInactiveFalse

When the merchant receives red shirts inventory at their fulfillment center:

Purchase OrdersProduct NameArrival DateProduct categoryPresell StatusContinue Selling Out of Stock
PO 2345Red Shirt08-08-23PreorderInactiveFalse

When the arrival date of a purchase order is passed:

Purchase OrdersProduct NameArrival DateProduct categoryPresell StatusContinue Selling Out of Stock
PO 1AB2Yellow Shirt07-31-23PreorderInactiveFalse

After delisting pre-orderable products from Shopify, merchants can use the 'Remove pre-order tags' and 'Remove backorder tags' jobs to get rid of the HC:Preorder and HC:Backorder tags. This will happen automatically every 15 minutes.

If a pre-orderable product is delisted from Shopify, the buttons for 'Pre-order' and 'Backorder' will switch to 'Add to Cart' on the Shopify PDP page as long as there is inventory for any upcoming orders. If the available to promise (ATP) quantity runs out and becomes zero, the "Pre-order" and "Backorder" buttons will switch to "Out of Stock". \

Fig.4 : Out of Stock button on PDP