Blocks
Is variant
How to use the Is variant block in the Meditative Folks Theme.
Is variant
At a glance
Shows extra content on some products and hides it on others, based on whether shoppers need to pick a size, color, or other choice.
Used in
- Configure where this block is available in the parent section.
- Most often used on the product page inside layout blocks such as Container or Group.
Settings
When to show
| Setting | What it does | Default | Shows when |
|---|---|---|---|
| Treat one size or color as no options | Turn this on if the product has only one choice, such as a single size or color. It will be treated like a product with no choices. | Off | Always |
| Show on products with no options instead | Leave this off to show this content when shoppers must pick a size, color, or other choice. Turn it on to show this content on products with no choices. | Off | Always |
Setting details
Each control from the tables above, explained simply:
Treat one size or color as no options
Turn this on if the product has only one choice, such as a single size or color. It will be treated like a product with no choices. Default: Off.
Show on products with no options instead
Leave this off to show this content when shoppers must pick a size, color, or other choice. Turn it on to show this content on products with no choices. Default: Off.
Tips
- In the theme editor you can always see and edit everything inside this block.
- Leave Show on products with no options instead off for content that belongs with size or color (for example an Add to cart popup).
- Turn that setting on for a simple Add to cart button on products with no choices.
- If a product has only one size or color and you still want the simple button, also turn on Treat one size or color as no options.