Understand promotions

A promotion defines both the conditions an order must meet before qualifying for a discount, and how the discount is applied.

This section applies to both OSF and Storefront Classic. This section applies to Open Storefront Framework (OSF) and Storefront Classic.

For example, you can specify that a customer can get a discount on a specific video game console, on orders of more than $50, or on purchases made during July.

By default, promotions are available to all shoppers, but once you create a promotion, you can make it available only to customers who provide a coupon code. See Add a coupon code to a promotion for more information.

An order might qualify for more than one promotion. In this case, promotions are applied in order of priority, with low priority numbers applied first. Commerce sorts the promotions by the value of the Priority property. A promotion’s priority is evaluated against other promotions of the same type. For example, item discounts are evaluated only against other item discounts, not against order discounts. If an order qualifies for multiple promotion types, item discounts are applied first, followed by order discounts. Promotions that are of the same type and have the same priority have no guaranteed sequence, so the order in which they are evaluated is undefined.

When you preview your store, you can see how your promotions behave when users shop for items. Simply click the Preview button and then shop for items that you expect to trigger the promotions you want to test. For more information about previewing your store, see Preview your changes.

Commerce templates provide an easy way to create the following types of promotions: