Use a code to receive a discount on 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.

  1. Open the Product coupons application.

  2. Click Enter product coupon.

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

    • Display name: Adidas Gold

    • Coupon code: PC-ADIDASG

    • Discount: By %

    • Discount value: 10

      Adding a product coupon

  4. 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

  1. Switch to the Products tab.

  2. Make sure the Only the following products option is selected.

  3. Click Add products.

    • The system opens the Select product dialog.
  4. Select the following products manufactured by Adidas.

    • Adidas Adifit Regular
    • Adidas Originals AR 2.0
    • Adidas Zebra Crew
  5. 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.

Adding selected products to the coupon

Applying the coupon code

While editing an existing order in the administration interface

  1. Open the Orders application.

  2. Edit () the selected order.

    • Make sure you select an order containing at least one of the selected Adidas products.
  3. Switch to the Items tab.

  4. Enter the coupon code:

    • If you have a coupon, please enter it here: PC-ADIDASG

      Entering the product coupon code

  5. Click Update.

    • The system applies the discount on the Adidas products and recalculates the order.

      Product coupon applied on selected products

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 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.
  3. 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.
  4. Enter the coupon code:

    • If you have a coupon, please enter it here: PC-ADIDASG

      Entering the product coupon code

  5. Click Apply.

    • The system applies the discount on the product and recalculates the order.

      Viewing the product price detail

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