...
Expand | ||
---|---|---|
| ||
|
...
Order in Store catalog: These queries provide the availability of products in the Store App catalog. The “immediate pickup” availability is based on the detailed query, and the “ordering” availability is based on the unified query
ois_detailed
- This query is only used to provide the “immediate pickup” immediate pickup availability, and so can be created at the root to target the current OIS store. It should only contain one aggregate "pickup_store"
- The “pickup_store” aggregate should use theitems_ois
items query, and thestores_ois
stock locations query which lists stores havingois
module enabled in Immediate Pickup. Since we want to target ONLY the current store, we'll need to enable the parameter “Force usage of stock location filter requested” for the stock locations query because the store app will add the filter to the query.Aggregates deductions: all deductions should be enabled (stock locations reservations, unavailability, global and stock locations buffers).
ois_unified_{saleschannel}
- Then, the unified query is used to provide the “ordering” availability on a given sales channel. This query should looks like theexport_unified_{saleschannel}_full
one, because we will set up the same aggregates (“stores” and “warehouses” enabled for export). The parameter “Force usage of items filter requested” must be enabled for both aggregates.Aggregates deductions: all deductions should be enabled (stock locations reservations, unavailability, global and stock locations buffers).
Settings : global reservations should be enabled. The export parameter must not be enabled (if a scope key is set, this may affect diff exports). The unification parameter must be enabled (unification by stock types and stock locations).
...