Usea coupon code to receive a discount

The example demonstrates how you can apply a coupon code to receive a discount on your order. The 10% discount has no time limit, and is available to all your customers. It uses a coupon code that the customers can apply up to 10 times to receive the discount. 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 an order discount

First, you need to add a new order discount.

  1. Open the Order discounts application.

  2. Click New order discount.         

    • The system opens a page where you can specify the discount properties.
  3. Enter the following values for the discount’s properties:                

    • Name: Sale
    • Enabled: Yes (checked)
    • Discount: Percentage
    • Amount: 10
    • The customer must enter a coupon code to receive the discount: Yes (checked)
  4. Click Save.

The system opens the Coupons tab of the newly added time-unlimited order discount, available to all customers. Now you can add a coupon to the discount.

For a more complex example of adding an order discount, please refer to Example - Applying an order discount.

Adding a coupon to the order discount

  1. Click Enter coupon code.

  2. Enter the following values for the coupon’s properties:

    • Coupon code: DC-SALE
    • Redemption limit: 10
  3. Click Save.

The system adds to the order discount a coupon with the specified code, which the customers can apply up to 10 times.

Applying the coupon code to receive the order discount

While editing an existing order in the administration interface

  1. Open the Orders application.

  2. Edit () the selected order.

  3. Switch to the Items tab.

  4. Enter the coupon code:

    • If you have a coupon, please enter it here: DC-SALE

      Entering the coupon code

  5. Click Update.

    • The system applies the discount and recalculates the order.

      Order discount applied

If you now click Next, the system saves the order with the discount applied.

While shopping on the live site

  1. View the live site.

  2. Select Electronics -> LCD in your on-line store main menu.

    • The system displays a list of all LCD televisions that you offer in your on-line store.
  3. Click Add to cart in the Sony KDL55BX520 section.

    • The system displays the content of your shopping cart, allowing you to enter a coupon code.
  4. Enter the coupon code:

    • If you have a coupon, please enter it here: DC-SALE

      Entering the coupon code

  5. Click Apply.

    • The system applies the discount and recalculates the order.

      Order discount applied

If you now click Check out, you can continue in the checkout process.