Example - Applying a coupon code to receive a discount on selected products
The example demonstrates how you can apply a coupon code to receive a discount on selected products. The discount applies to selected Adidas products, and is 10 % off the price of each of these products. The coupon code is applied while editing an existing order in the administration interface, and while shopping on the live site.
The example uses the sample E-commerce Site.
Adding a product coupon
First, you need to add a new product coupon.
Open the Product coupons application.
Click Enter product coupon.
- The system opens a page where you can specify the coupon properties.
Enter the following values for the coupon’s properties:
Display name: Adidas Gold
Coupon code: PC-ADIDASG
Discount: Percentage
Discount value: 10
Click Save.
The system creates a new product coupon. Currently, no products are assigned to the coupon. You can now add selected products to the coupon.
Adding selected products to the coupon
Switch to the Products tab.
Make sure the Only the following products option is selected.
Click Add products.
- The system opens the Select product dialog.
Select the following products manufactured by Adidas.
- Adidas Adifit Regular
- Adidas Originals AR 2.0
- Adidas Zebra Crew
Click Select.
- The system closes the Select product dialog.
The system adds the selected Adidas products to the product coupon. If your customers now add any of these products to their shopping carts and apply the coupon code, they receive a 10% discount on each of the products.
Applying the coupon code
While editing an existing order in the administration interface
Open the Orders application.
Edit () the selected order.
- Make sure you select an order containing at least one of the selected Adidas products.
Switch to the Items tab.
Enter the coupon code:
If you have a coupon, please enter it here: PC-ADIDASG
Click Update.
The system applies the discount on the Adidas products and recalculates the order.
If you now click Next, the system saves the order with the discount applied.
While shopping on the live site
View the live site.
Select Clothing ->** Pants** in your on-line store main menu.
- The system displays a list of all pants that you offer in your on-line store.
Click Add to cart in the Adidas Adifit Regular section.
- The system displays the content of your shopping cart, allowing you to enter a coupon code.
Enter the coupon code:
If you have a coupon, please enter it here: PC-ADIDASG
Click Apply.
The system applies the discount on the product and recalculates the order.
If you now click Check out, you can continue in the checkout process.