You add the coupon in the form of a promotion to the Promotion repository, following the same general steps that you take when you create a regular promotion item (see Creating a Promotion). You set up the discount as appropriate for the coupon. For example, if you wanted the coupon to give 20% off any order, you would specify Order Discount - Percent Off as the Item Type, and then specify 20 as the Discount Percentage. You would set up a simple Discount Rule that applies the discount to any order:
Condition:
Always
Apply discount to:
Order Total
You then add the coupon to the Gift Certificates and Coupons repository, associating it with the promotion you created in step 1. (The Gift Certificates and Coupons repository is part of the Claimable repository, which is described in the Configuring Merchandising Services chapter in the ATG Commerce Programming Guide.) As part of this step, you also create a claim code for the coupon. For more information, see Adding a Coupon to the Repository.
This section explains how to add a coupon to the Gift Certificates and Coupons repository and create a claim code for it.
In the ATG Control Center, select Purchases and Payments > Gift Certificates and Coupons.
In the search query box at the top of the window, specify Items of type Coupon and then click List. Any coupons already in your system appear in the left pane of the window.
Select File > New Item. The New Item dialog box appears, with Coupon selected as the item type.
In the New ID field, type the string you want to use as the coupon's claim code. This code is the one customers will enter when they want to apply the coupon to an order.
Note that the claim codes for coupons are case-sensitive. For example, COUP100 and coup100 are two different claim codes.
Note: Avoid creating coupon codes that are easy to guess. For example, it is not recommended that you create short or sequential codes (100, 101, and 102, for example). If you leave this field blank, ATG Commerce uses its internal ID generation system to create a random coupon code for you. It is often preferable to have ATG Commerce create the code than to do it yourself.
Specify the entries in the New "Coupon" Values area of the dialog box.
Expiration date: enter the date and time on
which you want the coupon to become unusable. To do this, click the
corresponding text box to display the "..." button, click the "..."
button, and then select the date and time from the calendar that
appears. This value is optional.
Note that a coupon's expiration date is independent of the corresponding promotion's usage end date. Consequently, it is possible that a coupon may be invalid but the promotion to which it refers is still valid (and can still be delivered via a scenario). If you specify a value for this property, make sure it is consistent with the usage end date for the promotion to which it applies.
Promotion: select the item in the Promotion
repository that you created for this coupon (in step 1 of the procedure
described in Setting Up Coupons.). To do this, click the corresponding
text box to display the "..." button, click the "..." button, and then
select the promotion item to use.
Click OK. The system adds the new coupon to the repository and displays it by its promotion name in the panel on the left of the window. You can hold your mouse over the promotion name to display the coupon claim code (or ID) in a pop-up window.
| ||
No Solution Identifier was Passed | ||
--
Prakash Koruttu
| We are unable to complete your request. | |
An unexpected error has occurred. null java.lang.NullPointerException java.lang.NullPointerException Please try again later or resubmit your request now | |
| 17:29 EDT Sep 08 2009 | Home Page | Contact Customer Support |
--
Prakash Koruttu
--
Prakash Koruttu