Create and assign a Purchase Quantity Rule so a B2B store enforces minimum, increment, and maximum order quantities for a product. Enable the related list first, then build the rule.
- Add the Quantity Rule related list
In Object Manager, open the Product object, edit the page layout, and add the Quantity Rule related list. This one-time step lets you assign rules to products.
- Open a sellable product
In the Commerce app, go to Merchandising, then Products, and open a simple product or a product variation. Parent products are skipped because they are not sold directly.
- Assign a quantity rule
On the Related tab, next to Quantity Rules, click Assign. Choose New Quantity Rule to build one inline, or select an existing named rule to reuse it.
- Enter the rule values
Set the Minimum, Increment, and Maximum so all three are compatible multiples, give the rule a clear name, and save. The storefront Quantity Selector then shows and enforces these limits.
The lowest quantity a customer can buy. Must be a multiple of the increment.
The fixed number of items added each time the buyer increases the amount.
The highest quantity a customer can buy. Must be a multiple of the increment, up to one hundred million for whole numbers.
A descriptive label for the rule, such as Case of 12, used to identify and reuse it across products.
- Minimum, increment, and maximum must be compatible multiples, or the rule will not save.
- Assign rules to simple products and variations, not to parent products, which are not sold directly.
- B2B stores allow fractional quantities up to four decimal places; B2C behavior differs, so confirm the store type.
- Quantity rules control how many, not which products. Use entitlement policies to control what a buyer can see and purchase.