Liquid Template Variables - discount

From Spiffy Stores Knowledge Base

A discount represents single discount that has been applied to an order.

discount.code

Returns the code used for the discount.

{{ discount.code }} => 'SELLOUT10'

discount.savings

Returns the amount of the discount that has been applied to the order. A money filter can be used to return the value as a monetary amount.

{{ discount.savings | money }} => $45.21