How do I make the discount coupon information visible on the invoice?

HelenaG Grulichova asked on May 3, 2012 08:31

How do I make the discount coupon information visible on the invoice?

Correct Answer

HelenaG Grulichova answered on May 3, 2012 08:31

You can use a macro expression. The field names originate from the DiscountCoupon class (database table COM_DiscountCoupon).

Usage in the invoice template, therefore, would be:

{% DiscountCoupon.DiscountCouponCode #% } 

for the coupon code, and in a similar way for getting other fields:

DiscountCouponDisplayName (probably the most informative), DiscountCouponValue, etc...
 
-zc-
0 votesVote for this answer Unmark Correct answer

   Please, sign in to be able to submit a new answer.