Base Tag Library


Lists the active coupons in a cart session


  [%param *body%]
    <div class="alert alert-success">
      <h4>Your coupon has been applied!</h4>
      <p>Remember that [@voucher_title@] still has [%format type:'currency'%][@remain_amount@][%/format%] left!</p>


This will list all the active vouchers in a customer's account along with details about what value they are, what the voucher was, etc.


Name Options Description
header HTML & b@se tags Renders a single usable space above the body
body* HTML & b@se tags Runs an array for each option in the tag
footer HTML & b@se tags Renders a single usable space below the body
ifempty:'' HTML & b@se tags If their are no active coupons, this block is printed in place of the header, body & footer

Data tags

Name Description
[@code@] The coupon code that triggers the event
[@count@] A counter which will start from 0 and count for each time the body parameter runs
[@date_updated@] Date the coupon was last updated in the control panel
[@description@] The long description for the coupon
[@discount_active@] This prints true when the discount is currently active
[@discount_auto@] This prints true when the discount is configured to automatically apply when conditions are met
[@discount_end@] The date the coupon / discount ends
[@discount_exclusive@] Prints true when the discount is exclusive and can not be used with other offers.
[@discount_id@] Unique ID for the discount
[@discount_max@] Max monetary value the discount can be used for
[@discount_once@] Whether the discount is single use or unlimited use
[@discount_private@] Whether the discount is a public or private discount
[@discount_start@] Date the coupon / discount is valid
[@subtitle@] The coupon program subtitle
[@title@] The coupon program title