I’m trying to figure out why the dynamic source button is missing in my theme editor. I’m a Dev working on a theme and cannot figure out how to make this button appear. I saw it on a YouTube Channel so I know its possible to add it. Here is a screen shot of what I’m talking about.
I don’t have this button on my theme editor. How do you add this in the code?
You need adjust the theme settings for that Shopify theme. It is possible to enable in the settings schema.
https://shopify.dev/docs/themes/architecture/settings
Hello, that’s why you don’t see it:
The “Dynamic Source” button appears only for specific field types in Shopify’s theme schema. These include:
- Text field (type: “text”)
- Text area (type: “textarea”)
- Image picker (type: “image_picker”)
- URL (type: “url”)
Make sure your field type is one of these. If you’re using a field type that isn’t compatible, the “Dynamic Source” button won’t be available.