Conditional toml settings

As our apps and extensions become more complex and allow for customizable experiences for the merchant, it would be nice to have extension block settings that are conditional.

For example, to avoid confusion we may only want to allow a merchant to see some options based on the values of others. Example:

The Offer Image setting only applies based on the value of the Layout Version being V1. Additionally, the Alignment may only applicable to a V2 selection. It would be nice if the settings that do not apply to some chosen values could be hidden, or at least disabled with a message indicating why it is unavailable.

This might provide a more easy to understand UX and clean UI without requiring the user to consult the app’s enablement documentation.

I’ve found that leaving dynamic settings in-app is the more flexible option.

That way you can use feature flags to separate beta features, etc.

I agree, toml’s are a bit rigid but they’re nice and explict and give customization options directly in the admin view which is very nice.

But at least the workaround for now is to expose these highly custom settings in a flexible app view.

1 Like