Theme Extension - block schema - is there ability to hide in page editor?

Hello,

I’m building an app with a theme extension that should do a few things.

Let’s say we have 2 buttons within the block, both of them schema settings for various CSS settings.

If we have 2 schema checkboxes, that would say something like “Show button 1” and “Show button 2” and I set Show Button 1 as false (which hides the button), IS IT POSSIBLE to also hide OR disable related schema options so they do not appear/are not editable in the Page editor?

Please see screenshots:

If show add to cart = true, below options are visible

If it’s false, hide all options

Hi Thegraske,

It’s not possible to conditionally display input settings in the theme editor based on selected settings - any and all settings that you add to the schema will appear on the customiser. This is a great suggestion though, so I’ve added this as a feature request.

Thank you!

Any way to follow the progress of this request ?

Can do accually try this Settings

Yup!

Shopify now launch the showing the customization options based on the Selection.

You can read the official Article via this link: Settings

For easy to understand this logic you can also Watch this video: