---
schema_version: "1"
id: be48b62abc025471711a92212a631d679175312f0d32022f3bce847bd342288c
title: Define a Discount for a B2B Store from Within the Guided Workflow
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/commerce/264-0-0/comm_promotions_discount_workflow.md
canonical_url: https://help.salesforce.com/s/articleView?id=commerce.comm_promotions_discount_workflow.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: fd6be9587223c5686a9bc4552e3f2fffdfc4fb715cd2bf7c644c9a718a5f5320
description: Set a target type and an adjustment type, and specify the amount to discount.
products:
  - Commerce
  - B2B Commerce
release: "264"
---
# Define a Discount for a B2B Store from Within the Guided Workflow

Set a target type and an adjustment type, and specify the amount to discount.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;"><a href="https://help.salesforce.com/s/articleView?id=commerce.comm_editions.htm&amp;language=en_US" target="_blank">View supported editions</a>.</td></tr></tbody></table>

[Which Salesforce Commerce Product Do I Have?](https://help.salesforce.com/s/articleView?id=commerce.comm_what_product.htm&language=en_US)

Before beginning these steps

- Complete the steps in [Create a Promotion Using the Guided Workflow](https://help.salesforce.com/s/articleView?id=commerce.comm_promotions_template.htm&release=264.0.0&type=5 "Draft a promotion with products and categories from your B2B store.") or [Create a Promotion Using the Guided Workflow with Einstein](https://help.salesforce.com/s/articleView?id=commerce.comm_promotions_smart.htm&release=264.0.0&type=5 "Draft a promotion for your B2B store with just a few clicks by using Einstein and Commerce data. Quickly create basic and advanced promotions using natural language instructions and generative AI.").
- Make sure that the correct quantity rule is set. If quantity rules are enabled, the specified increment is treated as 1 unit. For example, if you receive a US$1 discount for every 1 unit of something and the quantity rule is set to 10, you receive a $1 discount for every 10 units. See [Create a Purchase Quantity Rule for a B2B Store](https://help.salesforce.com/s/articleView?id=commerce.comm_products_qr_create_assign.htm&language=en_US).

1. In the promotion’s guided workflow, next to the discount section, click **Add**.
2. Select a target type to specify what you want to apply the discount to.
    - Product—Apply a discount to individual products. You can discount up to 25 products. You can discount all variations or later use variation attributes to restrict the discount to specific variations of the variation base products.
    - Category—Apply a discount to a set of products in a catalog. You can discount up to 25 categories. You can discount all variations or later use variation attributes to restrict the discount to specific variations of the variation base products.
    - Transaction—Apply a discount to the total order amount.
    - Shipping—Apply a discount to all shipping methods on the order. A shipping promotion is applied to all the shipping methods that the customer is eligible for. To use a shipping promotion, your store must have the Cart Calculate API enabled. See [Enable and Disable the Cart Calculate API for a Webstore](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/cart-calculate-api.html#enable-and-disable-the-cart-calculate-api-for-a-webstore).
    - Shipping Rate—Apply a discount to an individual shipping method on the order. You can discount up to 25 shipping rates. To use a shipping rate promotion, your store must have the Cart Calculate API enabled. See [Enable and Disable the Cart Calculate API for a Webstore](https://developer.salesforce.com/docs/commerce/salesforce-commerce/guide/cart-calculate-api.html#enable-and-disable-the-cart-calculate-api-for-a-webstore).
3. Select an adjustment type to specify which method to use for the discount.
    - Fixed Amount Off Line Item Total—Deducts an amount off a product or cost shipping line item.
    - Fixed Amount Off Transaction—Deducts a monetary amount off the entire product amount for a transaction. This option is available only when you use the Transaction target type.
    - Fixed Amount Off Unit Price—Deducts an amount off each quantity of a product line item.
    - Fixed Price—Specifies a promotional price for a product, product category, shipping, or shipping rate.
    - Percentage Discount—Deducts a specified percent from the price of a product, product category, transaction, shipping, or shipping rate.
    - Total Fixed Price—Specifies a promotional price for a set of products or product categories.
    - Bonus Product—Specifies a bonus product to add to an order at no additional cost. You can target only one simple or variation product. The product can be purchasable or non-purchasable.
4. Enter the amount of the adjustment.
    
    If you enter a monetary amount and your account is multicurrency, choose a currency.
5. (Optional) Enter a quantity limit to restrict the number of products that can receive the discount.
    
    The default is unlimited. You can’t set a quantity limit for shipping or shipping rates.
6. (Optional) To require that a minimum number of items be purchased to qualify, select **Minimum Items**.
    
    If Minimum Items isn’t selected, the promotion is applied until the specified quantity limit is reached.
7. (Optional) To add more conditions to the discount, select **Apply Rules**.
    
    You can’t apply rules for shipping or shipping rates.
    
    - Any Condition Is Met—The promotion is applied if any condition is met. For instance, to create a discount for shoes or pants, add two discount target types with the respective targets. If the customer’s cart has either shoes or pants, the discount is applied.
    - All Conditions Are Met—The promotion is applied only if all conditions are met. For instance, to create a discount for shoes and pants, add two discount target types with the respective targets. If the customer’s cart has both products, the discount is applied. Adding only the shoes or pants doesn’t trigger the discount.
8. Click **Add Rule**.
    
    - Target Type–The type of item to apply the discount to. For instance, to apply a discount to shoes, select Product as the rule’s target type. If the main target type is a parent product or a category, you can select an attribute as the rule’s target type.
    - Operator Type–The condition that determines which item within the target type is or isn’t eligible for a discount. For instance, to apply a discount to shoes, select Product as the rule’s target type, select **Is** as the operator type, and choose shoes as the target.
    - Target–The specific item or attribute value to apply the discount to‌. For example, if you select Product as the rule’s target type, you can enter shoes as the target. If the target type is an attribute, such as color, you can select a value, such as red, as the target.
    
    ![Note](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/images/icon_note.png)
    
    Note Product search supports only product names. Searching by SKU, product ID, or custom attributes isn't supported.
9. Save your work.

![Example](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-commerce-comm-264-0-0-production-enus/d863e308-482a-4dfa-8d20-2a94737d394a/images/icon_example.png)

Example To encourage your US customers to stock up on healthy snacks, you want to provide a 10% discount on all energy bars in your store.

- For Target Type, select **Product**.
- For Target, select **Energy Bar**.
- For Adjustment Type, select **Percentage Discount**.
- For Currency ISO Code, select **USD - U.S. Dollar**.
- For Adjustment Percent, enter **10**.