faq:ecomm_coupons
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
faq:ecomm_coupons [2009/12/31 15:40 (14 years ago)] – eugene | faq:ecomm_coupons [2010/05/14 15:16 (14 years ago)] (current) – eugene | ||
---|---|---|---|
Line 14: | Line 14: | ||
- Minimum Order: The lowest value of the contents of the customer' | - Minimum Order: The lowest value of the contents of the customer' | ||
- Discount Part: The part number of an inventory item in System Five that will be sent when importing the invoice from the e-commerce system. If the discount part does not exist in System Five when an invoice that uses the coupon is imported, an error message will be written to the invoice' | - Discount Part: The part number of an inventory item in System Five that will be sent when importing the invoice from the e-commerce system. If the discount part does not exist in System Five when an invoice that uses the coupon is imported, an error message will be written to the invoice' | ||
+ | |||
Line 20: | 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: | ||
- | | + | <code html> |
- | <input type="hidden" name="action" | + | < |
- | <input type="text" | + | < |
- | <input type="submit" value=" | + | < |
- | </ | + | < |
+ | </form> | ||
+ | </code> | ||
* If the coupon code that the user entered was valid, the cart subtotal will be updated to reflect the discount. | * If the coupon code that the user entered was valid, the cart subtotal will be updated to reflect the discount. | ||
* It the coupon code is invalid, the < | * It the coupon code is invalid, the < | ||
- | ---- | ||
* When displaying the shopping cart, the site administrator can show the coupon code and the discount applied to the invoice with the < | * When displaying the shopping cart, the site administrator can show the coupon code and the discount applied to the invoice with the < | ||
* On the checkout page, after the user has submitted their payment details, the < | * On the checkout page, after the user has submitted their payment details, the < | ||
faq/ecomm_coupons.1262302814.txt.gz · Last modified: 2009/12/31 15:40 (14 years ago) by eugene