Creating Discounts

Use the WebLogic Workshop Portal Extensions Discount Designer to create discounts that can be used on the items in your catalog or shopping cart.

You can create discounts to globally apply to all users or to be used exclusively in campaigns.

Before You Create Discounts

To create discounts that can be incorporated into your commerce application, you must enable commerce functionality. Also, you are going to create discounts based on product categories or items, you must set up a product catalog against which discounts can be applied. Use the following topics for guidance:

Adding Commerce Services to an Application

Enabling Catalog Management

Creating Catalog Structure Properties

To create a Discount

  1. If your server is not running, start it by choosing Tools-->WebLogic Server-->Start WebLogic Server.
  2. In the Application window, right-click the data\discounts\DefaultDiscountSet folder and choose New-->Other File Types.
  3. In the New File window, select the Discount in the right pane.
  4. In the File name field, enter a name for the Discount. Make sure you keep the file extension.
  5. Click Create. The Discount Designer appears.
  6. In the Discount Designer, click the Wizard icon to use the Discount Wizard to create the discount.

    OR
  7. If you create the discount manually (without the wizard), select the Discount type option you want (discount on a single item, on a set of items, or on an entire order. If you select Set-based discount, determine whether there is a limit to the number of discounts in the order.
  8. In the Discount terms pane, click Add a Trigger to set the items or order properties for which the discount will be used.
  9. Click Add a Discount to define a discount percentage or dollar amount.
  10. Click Add a Target to set the items to which the discount is applied.
  11. In the Property Editor, set the following properties:
    Description For campaign discounts. The text you enter can be displayed in the shopping cart when the discount is applied.
    Usage Select whether the discount will apply to all users (Stand-alone) or whether it will be used in campaigns (Campaign)
    Explanation For stand-alone discounts only. The text you enter can be displayed in the shopping cart when the discount is applied.
    Priority The number that determines which discount is used if there are competing discounts (1 is the highest priority).
    Overall limit You can set the number of times a customer can receive the discount. Enter 0 if there is no limit.

    Required
    Start Date and Stop Date Set the range of time for the discount to be in effect. Start and stop date must be set to be able to finalize the discount.
  12. When the discount is final and ready to use, select the Finalize this discount option.
  13. Save the discount.

If you created a campaign discount, the discount will be available for use when you create campaigns.

Related Topics

Discount Designer window

Building a Commerce Application

Creating Campaigns