Priority and First Match
Priority decides the order in which assigned profiles are checked. A lower number is evaluated before a higher number.
For example:
| Priority | Profile | Intended role |
|---|---|---|
| 10 | Wholesale high-value order | Narrow exception |
| 100 | Wholesale standard | Normal group policy |
| 900 | Wholesale fallback | Broad final match |
For a Wholesale quote, the extension checks priority 10 first. If its conditions do not match, it continues to 100, then 900. The first matching profile supplies the allowed methods.
Use unique priorities and leave space between them so new policies can be inserted later. Do not rely on the order of profiles that share the same priority.
Priority cannot make a profile apply across the wrong website or to an unassigned customer. It only orders profiles that are already eligible for that quote.