Welcome to Zuora Product Documentation

Explore our rich library of product information

Create rule to apply discount

Learn how to create a rule to apply a 10% discount for new subscriptions by defining conditions and actions in the Rules tab.

  1. In the Rules tab, click New and add the following rule:
    • Name: Introductory Special

    • Active: Select the field.

  2. Define a condition that checks if a quote is for a new subscription.
    1. In the CONDITION section, click Add Criteria....
    2. In the Attribute Type field, select Object Field Value.
    3. In the Object Field, click -Select Field-.
    4. In the Quote Field field, click -Select Field- and select Subscription Type. Click Select.
    5. In the Attribute Type field, click and select Static Value.
    6. In the Value field, type New Subscription.
  3. Define the action that applies 10% discount to a charge.
    1. In the ACTIONS section, click Add Action....
    2. In the Action Type field, click and select Update Product.
    3. In the Object field, click and select Charge.
    4. In the Field field, click -Select Field-, and select Discount.
    5. In the New Value Type field, click and select Static Value.
    6. In the Value field, type 10.
    7. In the Message field, type Discount applied.
  4. Click Save.
  5. Perform the following steps to verify the rule.
    1. Create a new quote of the New Subscription type.
    2. Add a product and a rate plan in the Enhanced Guided Selling flow.

      In the Lightning Guided Product Selector, you see 10% discount applied in the Discount % fields.

      The Rules Engine Logs section shows the message you specified in the rule, "Discount applied".