Bylink

Bylink Pre-Orders for Shopify

Marks products as pre-order in Shopify, with the expected date, from stock and supply in Business Central.

What it does

For each item, the app works out whether it is on pre-order and when it is expected, and writes two product metafields (on/off and a date or week number) to every shop where the item is mapped to a product. Your storefront theme reads those metafields. An item is on pre-order when its available inventory is at or below the threshold and a receipt is expected inside the window. You can also set or clear the status by hand.

Setup

  1. Shopify custom app scope: write_products.
  2. In Shopify, create two product metafield definitions: a boolean (pre-order active) and a date (pre-order date), or an integer if you show week numbers.
  3. In Business Central, add both to Shopify Metafield Definitions for the shop, owner type Product, Enabled.
  4. On the Shopify Shop Card, group Pre-Orders, choose Pre-Order Value (Date or Week Number) and pick the two keys. Changing Pre-Order Value sends every product again in the new format.
  5. Open Shopify Pre-Order Setup and set Inventory Threshold, Window Days, Buffer Days, Max Sync Attempts and an optional Location Filter.
  6. Switch on PreOrder in the Feature Flags part. This creates an hourly job queue entry. Keep it On Hold until the go-live check passes.

Manual status

On the Item Card, Set Pre-Order and Clear Pre-Order change the status and send it to Shopify at once. A manual status stays until someone clears it; the job does not override it.

When a push fails

The job carries on with the other items. The Pushes page shows Status, Attempt Count and Last Error; Retry Failed sends failed pushes again at the next run.

Permissions

Shpfy Pre-Orders BYL for users of the pages and actions. Shpfy Admin API BYL for whoever sets up credentials and metafields.

Go-live check

Map one draft product, set the keys, run Set Pre-Order on its item and check both metafields on the product in Shopify. Then clear it and check that the values change.

Known limits