Dynamic values
Dynamic values are replaced with each product's real data. Use Insert value next to the text field.
| Value | Shows |
|---|---|
{{discount_percent}} |
Discount percent, e.g. 25 |
{{discount_amount}} |
Discount amount in your currency |
{{price}} |
Price |
{{compare_at_price}} |
Compare-at price |
{{stock}} |
Stock quantity |
{{vendor}}, {{type}}, {{title}} |
Vendor, type, title |
{{metafield:namespace.key}} |
Any product metafield |
Labels with a discount value hide automatically on products without a discount, so you can safely apply a “-{{discount_percent}}%” label to all products.
When a customer picks another variant, the value updates instantly.