How to Display the Discount Coupon Information on the Invoice in Kentico
The Macro Expression is used in displaying the Coupon information on the invoice. The Field Names which are originated from the Discount Coupon class (database table COM_DiscountCoupon).
To use it in Invoice Template, it would be:
***************************************************************
{% DiscountCoupon.DiscountCouponCode #% }
***************************************************************
For the coupon code, and in a similar way for getting other fields:
*************************************************************************
DiscountCouponDisplayName (probably the most informative), DiscountCouponValue, etc...
*************************************************************************