sku_tag_exists_on_order
Checks if a SKU tag exists on an order.
Example
1
{{ 'tag_name' | sku_tag_exists_on_order: 'order_id' }} => true
Input
| Type | Parameter | Description | Required |
|---|---|---|---|
| int | tagName | Name of the tag. 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 |