How to Implement Pre-Order Items in Elevate¶
This guide outlines best practices to ensure that pre-order items or any other similar use cases display correctly and remains easy to track in your product feed.
Using a positive stock value together with a clear label provides several key benefits:
The product is visible and shoppable in Elevate.
Some recommendation algorithms only show in-stock items, so keeping a stock value above 0 ensures your pre-order products are included in relevant recommendations.
No custom handling of stock logic is needed — the same feed works for both regular and pre-order products.
1. Set a Positive Stock Value¶
To make a pre-order item available for purchase or visible in Elevate, ensure that the product has a stock value greater than 0(e.g., 999999).
Even if the product isn’t physically in stock yet, setting a positive stock value ensures that the item is included in your product feed and visible to customers.
If the stock value is 0
, Elevate treats the product as out of stock — it may be buried or not displayed at all.
If you want to limit how many pre-orders can be ordered, set the stock value to the number of units available for pre-order.
If pre-orders are unlimited, assign a sufficiently large number (for example, 999999
) to keep it active and visible.
2. Add a Label for Pre-Order or Coming Soon Items¶
Use an attribute to identify pre-order or coming soon products so you can easily separate them from in-stock items.
Custom attribute - customJson
¶
Add a customJson
attribute, for example productStatus
, with a value like:
preorder
comingsoon
backsoon
Adding it as a customJson attribute ensures that it is not searchable.
3. Code Example¶
{
"key": "pg1",
"productGroup": {
"products": {
"p1": {
"customJson": {
"productStatus": { "preorder" }
},
"variants": {
"p1-v1": {
"defaults": {
"url": "/products/p1-v1",
"order": 1,
"sellingPrice": 129.0,
"listPrice": 199.0,
"stock": 999,
}
}
}
}
}
}
}