ProductDiscount
The product_discount object describes a discount applied to a product.
{%- comment -%} Show product discount {%- endcomment -%}
{% if product.discount_information %}
{{ product.discount_information.amount }}{% if product.discount_information.is_percentage %}%{% endif %}
{% endif %}amount
Returns the discount amount.
is_percentage
Returns true if discount is a percentage.
begins
Returns the start date if it is set.
ends
Returns the end date if it is set.