Coupon Info

This tag pair outputs information about the coupon code currently being used in the cart.

Table of Contents

Variables

In addition to the variables listed here, this tag also gives you tag variables from the coupon code entry itself, like {title}, {url_title} and any other custom fields you may have in your coupon codes channel.

coupon_code

The currently used coupon code.

50_off

discount_amount

The amount taken off by this coupon

{discount_amount}
$5.00

Conditionals

{if no_results}

If there are no coupon codes currently in use, the content in this conditional will be shown.

{if no_results}
No coupon codes
{/if}

Examples

{exp:cartthrob:coupon_info}

{if no_results}No coupon codes have been submitted{/if}

Coupon Entry Title: {title}
Coupon Code: {coupon_code}

{/exp:cartthrob:coupon_info}