Conditional product options on Squarespace
A conditional option only appears when the customer picks something else first. “Show the font choice only when engraving is checked.” “Ask for the gift message only if they want a gift box.” Options like these keep a product page short. They also stop customers answering questions that don’t concern them. Here’s what Squarespace can do on its own, and how to get the rest.
Written for Squarespace 7.1, the version nearly all newer sites use. Updated October 2026.
What Squarespace does on its own
Squarespace’s product tools don’t have “only when” rules:
- Variants always show every option. (A variantA version of a product that Squarespace counts as its own item, like “Large, Blue”. Each variant has its own price and stock. is a version of a product that Squarespace counts as its own item, like “Large, Blue”.) If a product has Size, Color and Font, all three dropdowns are there for everyone. And every combination exists.
- Add-to-cart forms show every field to every customer, in a pop-up after the click. Squarespace’s form blocks (forms on ordinary pages) can hide and show fields with rules. Product forms can’t.
- Add-on products (other products shown under the Add To Cart button) are always shown, to everyone.
So there are two usual workarounds. You put “N/A” or “none” as the first choice of each option. Or you explain in the description that some fields can be skipped. Both work. Both also make the page longer and the order messier.
What a rule looks like with a plugin
OptionKit is a plugin (extra code you add to your site). It gives every option a “Shows when” rule. You set it in the builderThe OptionKit web page where you create your options and see a live preview. It has two tabs: Options, where you build, and Setup, with the Setup guide for putting OptionKit on your store., the OptionKit page where you set up your options, without code. Some examples from its templates:
| This option | shows only when |
|---|---|
| Engraving text and Font | “Add laser engraving” is checked |
| Gift message | “Gift box” is checked |
| Museum glass | Frame is not “Unframed” |
| Card message (required) | always, because florists want it every time |
A rule can look at:
- a checkbox (checked or not)
- a choice (is, is not, one of several)
- a text field (filled or empty)
- a number (more or less than).
If an option is hidden, the customer doesn’t have to fill it in, even if you made it required. So a hidden “Engraving text” never blocks Add To Cart.
In the builder, the live preview shows options appearing and disappearing as you click. So you can try both paths before you update your store.
Three patterns that come up a lot
The “yes, and…” pattern
A checkbox opens a small set of questions. “Add engraving” reveals the text and the font. The customer who doesn’t want engraving never sees them.
The “depends on the choice” pattern
A dropdown or buttons decide what comes next. A frame reveals glass. “Other” reveals a text field to explain. A size reveals the finishes available in that size.
The “only if they wrote something” pattern
A filled text field reveals a follow-up. A gift message reveals “Add the sender’s name?”. Initials reveal a thread color.
Keeping it tidy
- Keep it to one step. An option that appears because of another is fine. An option that appears because of an option that appeared because of another gets confusing. If you need that, think about whether a template or a second product would be clearer.
- Put the option that opens the others first. Give it a plain name: “Add laser engraving”, not “Engraving?”.
- Test in the preview as a customer who wants none of it. Then test as one who wants all of it. Both paths should read well.
How to set this up in OptionKit: Show an option only when another is chosen
Questions
Can Squarespace product forms have conditional fields?
No. Rules exist for form blocks on ordinary pages. They don’t exist for the add-to-cart form on a product.
Can a hidden option still be required?
Not with OptionKit. A required option only counts when its rule shows it. If it’s hidden, the customer isn’t asked.
Can a rule depend on a Squarespace variant, like size?
Rules look at other OptionKit options, not at Squarespace variants. If a choice needs to depend on size, make the size an OptionKit option too. Or use one group of options per product.
