Conditional rules
Show or hide an entire category or just a single variant based on a dimension value.
Conditional rules let you tailor the price model to the customer. They evaluate dimension values against simple comparators and gate either a category or one variant inside a category.
Comparators
input_gte— show only when the dimension is greater than or equal to a threshold.input_lte— show only when the dimension is less than or equal to a threshold.input_eq— show only when the dimension equals a value.
Where you can apply rules
- On a variant (
availableWhen) — hide one option in a category. Example: an 8 ft gate variant is only offered when fence height ≥ 6 ft. - On a category (
availableWhen/requirement_rule) — hide an entire category. Example: the “Gate” category only appears when the customer says they want gates.
Rules apply to both the public form and the internal quote builder so previewed prices match what the customer sees.