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
- Shopify custom app scope:
write_products. - 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.
- In Business Central, add both to Shopify Metafield Definitions for the shop, owner type Product, Enabled.
- 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.
- Open Shopify Pre-Order Setup and set Inventory Threshold, Window Days, Buffer Days, Max Sync Attempts and an optional Location Filter.
- 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
- Status is per product, not per variant.
- Drop shipments are not counted as demand.
- Switching the feature off, or unmapping a product, leaves the metafields in Shopify as they were.