sku_exists_on_order
Checks if a SKU exists on an order.
Example
1
{{ '123' | sku_exists_on_order: '123', 'any' }} => true
Input
| Type | Parameter | Description | Required | 
|---|---|---|---|
| int | skuId | The ID of the SKU. Comes before the | sign. | Required | 
| int | orderId | The ID of the order | |
| string | section | The section to check, defaults to ‘’ | 
Output
| Type | Description | 
|---|---|
| bool | Whether the SKU exists on the order |