For discussing the development and usage of Checkout UI extensions, post-purchase extensions, web pixels, Customer Accounts UI extensions, and POS UI extensions
I have a block in my app. That would show a popup after button is clicked.
This popup has 2 views:
- standard for browsers that support some features and a
- fallback one.
I want to make it easier to configure, so merchants can see and configure both views.
I planned to do this configuration right in theme editor so it is seen as it would look in the store. But I have a dilemma of how to design configuration of block.
I want merchant to be able to configure fallback version even if they use modern browser.
Unfortunately the block theme schema does not work with app blocks.
Also I want to trigger the preview of the block, but the preview depends on the browser capabilities.
I think schema works if you create theme extention in your custom app.
I have created a theme extension demo. I can add settings and configurable in the theme editors.
Below image is my app block settings
That is not exactly what I need. The schema extension is explicitly stated in documentation that it is not supported for app extensions
https://shopify.dev/docs/storefronts/themes/architecture/settings/input-settings#color_scheme