promotion_tag

The promotion_tag object contains following attributes:


Object Fields

FieldData TypeDescription
promotion_tag.titleStringReturns title of the associated promotion.
promotion_tag.end_atStringReturns expiration date string.
Example: 2018-05-11T15:52:01+00:00
promotion_tag.discount_onStringReturns the target that promotion discounts on.
Possible values: item, order
promotion_tag.contentStringReturns 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 %}