Looking for a practical way to attract more customers and encourage bigger orders? Magento 2 custom pricing rules let you offer targeted discounts based on conditions such as cart value, products, or customer groups. With the right setup, you can create promotions that support your sales goals while giving shoppers a timely reason to buy.
In this guide, we’ll walk through Magento 2 custom pricing rules implementation, from choosing the right conditions to configuring and testing your promotions. Whether you’re planning a seasonal offer or a targeted deal, you’ll learn how to put flexible pricing to work for your store.
Why Magento 2 Custom Pricing Rules Can Boost Sales
A discount can do more than lower a price: when it’s tied to a clear customer or business goal, it can help shoppers decide what to buy and when. Choosing the right kind of offer is the first step toward making your promotions feel useful rather than simply cheaper.
Different incentives work for different moments in the buying journey. Here’s how to match an offer to the outcome you want.
How tailored pricing supports promotions and customer loyalty
A broad discount may attract attention, but a targeted promotion can encourage a more valuable action. For example, a minimum-spend offer may prompt shoppers to add another item, while a discount for a specific customer group can reward returning buyers without reducing prices for everyone.
Thoughtful offers can also make loyalty feel personal. Consider giving repeat customers early access to a sale or offering a product-category discount to shoppers who have bought from that category before. Keep the terms easy to understand: clear eligibility, a visible benefit, and a relevant time frame help prevent checkout surprises and build trust.
Once the goal is clear, it’s easier to choose a scenario and set rules that support it. These common examples can help you plan a promotion around a specific sales opportunity.
Common pricing scenarios to plan for
Before configuring a rule, decide what customer behavior you want to encourage. A promotion is more effective when its conditions and reward are connected to that goal.
- Increase average order value: offer a discount after the cart reaches a chosen subtotal.
- Move seasonal or slow-selling stock: reduce prices on selected products or categories for a limited period.
- Reward a customer segment: create an offer for a defined customer group, such as wholesale or returning shoppers.
- Encourage product discovery: discount a complementary item when shoppers purchase a qualifying product.
For each scenario, check how the offer interacts with other active promotions. Setting priorities and deciding whether rules can combine helps avoid stacking discounts in ways that erode margins.
With the offer defined, the next decision is where it should take effect. Magento provides two main rule types, and the right choice depends on whether the promotion should appear on products or respond to the contents of a shopper’s cart.
Choose between catalog and cart price rules
Catalog price rules adjust eligible product prices before an item is added to the cart, so shoppers can see the discounted price while browsing. They suit product- or category-based offers that don’t depend on the final cart total.
Cart price rules are evaluated against cart conditions and can offer incentives such as a subtotal threshold, a coupon code, or qualifying items in the basket. Use them when the reward depends on what a shopper adds or enters at checkout. In either case, test the rule with representative products and customer accounts to confirm the discount appears only where intended.
How to Implement Magento 2 Custom Pricing Rules
Once you know what behavior you want to encourage, the next step is turning that idea into settings your store can apply consistently. Work through the choices below in order, then test the finished promotion before customers encounter it.
A well-planned rule starts with a specific outcome and a reward that fits the audience. This subsection helps you settle those details before opening the Admin panel.
Define the goal, audience, and discount structure
Choose one measurable goal, such as increasing order value or clearing a particular product line. Then define who qualifies and what they receive: for example, returning customers get 10% off selected accessories, or any shopper receives $15 off orders above $150.
Decide whether the offer uses a percentage, fixed amount, or qualifying-item discount. Set a maximum discount or minimum spend where appropriate, and check that the final price still supports your margin.
With the promotion mapped out, select the rule type that matches how the discount should be calculated. The Admin workflow differs slightly for product prices and cart-based offers.
Create a catalog price rule in the Magento Admin
In the Admin sidebar, go to Marketing > Promotions > Catalog Price Rule and select Add New Rule. Enter a clear name, choose the applicable websites and customer groups, and set the rule’s active dates.
Under Conditions, specify which products qualify, such as items in a category or products with a particular attribute. In Actions, choose the discount method and amount, then save. Catalog rules change eligible prices on product listings and pages, rather than waiting for checkout.
Cart offers need conditions that evaluate the basket, and may also require a coupon. The following settings let you define both eligibility and the shopper’s reward.
Configure a cart price rule and its conditions
Navigate to Marketing > Promotions > Cart Price Rules, choose Add New Rule, and enter the rule name. Under Conditions, build the qualifying criteria—for instance, subtotal greater than $150 or a specific product present in the cart.
In the Actions tab, select the discount type and amount. Choose whether a coupon is required, and set usage limits if the promotion should be restricted. Review the action options for applying the discount to the whole cart or only qualifying items.
Before saving, confirm the rule’s reach and how it interacts with other promotions. These controls help keep eligibility predictable across storefronts and customer segments.
Set customer groups, websites, dates, and priority
Select only the customer groups and websites intended for the offer. Add start and end dates when the promotion is time-limited, checking the store’s time zone to avoid an early or late launch.
Assign a priority number if other rules may apply to the same products or cart. A lower number generally indicates higher priority; also review whether subsequent rules can apply, so discounts do not stack unexpectedly.
Finally, save and activate the rule, then verify the result from a shopper’s perspective. A quick test can reveal configuration issues before the offer goes live.
Apply the rule and confirm it is active
For a catalog rule, select Save and Apply if that option appears in your Magento version. For either rule type, confirm its status is active and its dates include the test period; catalog price changes may take a short time to appear while rules are applied or indexes update.
Test with an eligible and an ineligible product or account, then check both the product page and checkout as relevant. Confirm the displayed discount, coupon behavior, and final total—and disable or adjust the rule if the result differs from your intended offer.
Test and Optimize Your Pricing Strategy
A promotion can look perfect in the rule editor and still behave differently for a shopper using a coupon, a mobile device, or a different account. A few deliberate checks now can help you catch surprises early—and use real results to make future offers more effective.
Start by following the same steps your customers take, from browsing eligible products to reviewing the final order total. These checks help confirm the offer works for the right people and at the right point in their journey.
Verify Magento 2 custom pricing rules across customer journeys
Test the promotion with accounts from each eligible customer group, as well as a guest account if guests are meant to qualify. Check the storefront on desktop and mobile, and walk through the full path from product page to checkout; a discount that appears in one place but not another can cause confusion.
Use a short test matrix to cover key cases:
- Eligible shopper: confirm the discount appears and the total is correct.
- Ineligible shopper: make sure the offer does not appear.
- Boundary cart: test just below and just above any spend threshold.
- Coupon attempt: check valid, invalid, and expired codes where relevant.
Once individual cases pass, look at how the promotion behaves alongside other active offers. This is especially important when a cart contains products with different eligibility or exclusion settings.
Check rule conflicts, exclusions, and stacking behavior
Review overlapping promotions using realistic baskets, not just one qualifying item at a time. For example, test a cart containing a discounted product, an excluded product, and an item that triggers a cart-level offer to confirm each rule applies as intended.
Check priorities and the setting that determines whether later rules can apply. Confirm that excluded products remain at the intended price and that discounts do not combine beyond your planned margin. Keep a record of the expected result for each test basket so any discrepancy is easy to diagnose.
After launch, the next step is to judge the offer by more than the number of redemptions. Comparing sales outcomes with costs can show whether the promotion is attracting valuable orders or simply discounting purchases that would have happened anyway.
Monitor performance and refine discounts over time
Track measures tied to the original goal, such as average order value, conversion rate, units sold, and discount cost. Compare the promotion period with a suitable baseline, and segment results by customer group or product category to see where the offer is working best.
If orders increase but margin falls sharply, consider raising the spend threshold, narrowing eligible products, or adjusting the discount. If uptake is low, review whether the terms are visible and easy to understand before increasing the reward. Change one element at a time and monitor the next results; that makes it easier to identify which adjustment improves performance.
Turn Smarter Pricing Rules into Better Sales Outcomes
Magento 2 custom pricing rules give you a flexible way to make promotions more relevant to shoppers and more purposeful for your business. The key is to connect each offer to a clear goal, choose the right rule type, and make its terms easy to understand.
Thoughtful setup is only the start: test the customer experience, watch for conflicts, and use performance data to refine your approach. With that balance of planning and ongoing optimization, your promotions can encourage purchases while keeping your margins in view. Start with one focused offer, learn from the results, and build from there.