This tag lets you get the data for the coupon, if the customer has redeemed one for the cart.
{{ sc:coupon }}Currently redeemed: {{ slug }}{{ /sc:coupon }}
{{ sc:coupon }}Currently redeemed: {{ slug }}{{ /sc:coupon }}
This tag lets you check whether or not the customer has already redeemed a coupon.
{{ if {sc:coupon:has} === true }}Coupon Discount: {{ sc:cart:couponTotal }}{{ /if }}
{{ if {sc:coupon:has} === true }}Coupon Discount: {{ sc:cart:couponTotal }}{{ /if }}
This tag will output a form, allowing your customers to enter a coupon code. On submitting the form, Simple Commerce will validate the coupon is valid & if it is, the coupon will be applied to the customers' cart.
{{ sc:coupon:redeem }}<input type="text" name="code">{{ /sc:coupon:redeem }}
{{ sc:coupon:redeem }}<input type="text" name="code">{{ /sc:coupon:redeem }}
This tag allows you remove a redeemed coupon from the cart.
{{ sc:coupon:remove }}<button type="submit">Remove coupon</button>{{ /sc:coupon:remove }}
{{ sc:coupon:remove }}<button type="submit">Remove coupon</button>{{ /sc:coupon:remove }}