Hi there,
I’m looking for the best way to implement some conditional logic into a form we’re building for our fishing members site. Many of our members are elderly, so I want the flow to be as simple and intuitive as possible.
We offer various day passes, such as:
- Adult Day
- Disabled Day
- OAP Day
- Junior Day
And we also offer corresponding night addons:
- Adult Night (Addon)
- Disabled Night (Addon)
- OAP Night (Addon)
Ideally, I’d like members to be able to select a day pass type and then optionally add the corresponding night addon — but only if they’ve selected that day pass first. I also need to allow them to specify quantities for both day and night options.
A basic approach would be to use two separate dropdowns or radio fields — one for the main product and another for the addons — but that doesn’t let me control quantity easily.
My current idea is to use individual products for each day type, with the relevant night options as addons. However, I want the addon fields to only appear if the matching day product quantity is greater than zero. Unfortunately, conditional logic doesn’t seem to work with product field quantities in this way.
Does anyone have suggestions or workarounds for achieving this kind of conditional setup?
Thanks in advance!