Choose carrier and method targets

Targets decide which collected shipping rates a rule may change. Exclude rows are checked first, then include rows.

Exact target

Select a carrier and method for the safest match. Common code pairs include flatrate/flatrate and tablerate/bestway.

If the carrier is empty and a method is entered, that method code can match across carriers. Avoid this broad form unless the shared code is intentional.

Shipping rule with an exact Flat Rate target, a customer-facing title and a replacement price

Pattern target

Like (%) supports two wildcards:

  • % matches any number of characters
  • _ matches one character

With a carrier selected, the pattern is compared with the method code. Without a carrier, it is compared with carrier_method. Matching is case-insensitive.

Examples:

  • carrier tablerate, pattern best% matches its methods beginning with best
  • no carrier, pattern tablerate_% matches every Table Rate method
  • no carrier, pattern %_freeshipping matches that method code across carriers

Include and exclude behavior

  • An exclude match always removes the rate from the rule's target set.
  • If at least one include exists, another rate must match an include to be affected.
  • With only excludes, every other rate is affected.
  • With no targets, every collected shipping method is affected.

Use exact includes during initial testing. Pattern and exclude-only rules should be checked whenever a carrier integration adds or renames methods.