Coupon form
Outputs a form to apply a coupon code.
Parameters
return
- URL to redirect to after submission.
error_return
- URL to redirect to if there are errors. If you leave this blank it will return to the current page.
attr
- Allows you to set any number of HTML attributes on the
<form>
tag. Attribute and value should be separated by a colon:
and you can specify multiple attributes by pipe|
delimiting them.
eg.attr="class:my-form|data-this:that"
Fields
coupon_code
Example
{{ bison:coupon_form }}
<input type="text" name="coupon_code" />
<input type="submit" />
{{ /bison:coupon_form }}
Problem with this page? Edit it on Github.