There is this tutorial covering how to conditionally hide Admin action extension and Admin block extension. (Hide action and block extensions)
I tried using the same “[extensions.targeting.should_render]” configuration on the shopify.extension.toml file for the Admin link extension, and got this error :
│ App configuration is not valid │
│ Validation errors in │
│ extensions/demo-extension/shopify.extension.toml: │
│ │
│ • [targeting.0]: must NOT have additional properties
I would appreciate if we can use conditional for Admin link extension as well, since Admin action and Admin block extensions have it. The use case being my app might have different plans, and some features are only available on higher plans , which I would like to make the link not visible to merchants on lower plan.