Validate and troubleshoot shipping rules
Select Validate Shipping Conditions on the rule grid. The validator finds configuration problems such as missing scope assignments, invalid IDs, an inverted date range, incomplete targets or actions, broad rules, and priority collisions.
It reports at most the first 50 warnings. Fix those and run it again. Validation checks stored configuration; it does not simulate carrier responses or checkout rendering.
A rule does not apply
Check in this order:
- The carrier returned the method before the rule ran.
- The rule is active and today's store date is within its range.
- Store view and customer group match the quote.
- The address, cart, product and customer conditions match.
- The carrier/method code matches an include and no exclude.
- An earlier rule did not hide the rate or stop later rules.
A rule affects too many methods
Look for an empty target list, a target with both codes empty, an exclude-only target set, or a broad % pattern. Add an exact include while diagnosing.
The final price is unexpected
Review action sort order and every earlier rule that targets the same rate. Percentage actions use the price at that point in the chain, not the carrier's original price in every step.
Localized decimal input is normalized when the rule is saved. Confirm the stored amount after entering a comma decimal separator.
The unavailable message is missing
The message is attached to the quote address rate, but the checkout theme decides how to render unavailable methods. Confirm the rule works with a standard checkout or inspect the active checkout integration.
Checkout still works after a rule error
The rate-collection plugin catches rule exceptions, logs [MageB2B_ShippingConditions] Unable to apply shipping conditions to rates., and leaves rate collection running. Check the Magento log when a rule appears to be ignored without a customer-facing error.