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 revision Previous revision
faq:ecomm_coupons [2010/05/14 15:02]
eugene
faq:ecomm_coupons [2010/05/14 15:16] (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="​text"​ name="​code"​ /> +<​ww:​form_header>​ 
-   ​<input type="​submit"​ value="​Add Coupon"​ /> + <​input type="​text"​ name="​code"​ /> 
-   ​<input type="​hidden"​ name="​action"​ value="​coupon_submit"​ />   + <​input type="​submit"​ value="​Add Coupon"​ /> 
-  </​form>​+ <​input type="​hidden"​ name="​action"​ value="​coupon_submit"​ />   
 +</form
 +</code>
  
  
faq/ecomm_coupons.txt · Last modified: 2010/05/14 15:16 by eugene