promotion_tag
The promotion_tag
object contains following attributes:
Object Fields
Field | Data Type | Description |
---|---|---|
promotion_tag.title | String | Returns title of the associated promotion. |
promotion_tag.end_at | String | Returns expiration date string. Example: 2018-05-11T15:52:01+00:00 |
promotion_tag.discount_on | String | Returns the target that promotion discounts on. Possible values: item , order |
promotion_tag.content | String | Returns a formatted text by promotion title, expiry and discount on target. |
Code Example
{% for promotion_tag in promotion_tags %}
<p>
{{ promotion_tag.content }}
</p>
{% endfor %}
Updated 10 months ago