User Tools

Site Tools


faq:ecomm_coupons

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq:ecomm_coupons [2009/12/31 15:40 (14 years ago)] eugenefaq:ecomm_coupons [2010/05/14 15:16 (14 years ago)] (current) eugene
Line 21: Line 21:
 The form to enter the coupon code should be placed on the normal cart view page, either as part of one of the HTML segments used to construct the page, or the cart template (if the site uses a cart template). The form should submit an action of coupon_submit and the coupon code should be entered into the code field. The following is a simple example of such a form: The form to enter the coupon code should be placed on the normal cart view page, either as part of one of the HTML segments used to construct the page, or the cart template (if the site uses a cart template). The form should submit an action of coupon_submit and the coupon code should be entered into the code field. The following is a simple example of such a form:
  
-  <ww:form_header> +<code html> 
-  <input type="hidden" name="action" value="coupon_submit" /> +<ww:form_header> 
-  <input type="textname="code" /> + <input type="text" name="code" /> 
-  <input type="submit" value="Add Coupon" /> + <input type="submitvalue="Add Coupon" /> 
-  </form>+ <input type="hidden" name="action" value="coupon_submit" />   
 +</form
 +</code>
  
  
faq/ecomm_coupons.txt · Last modified: 2010/05/14 15:16 (14 years ago) by eugene