Theme guide
Color swatches for Shopify without an app
What you’ll need
The theme editor (to add a Custom Liquid block; no code editing)
How to get this: The theme editor
- Online Store › Themes › Edit theme (on a copy of your theme if you want to test first).
- Add section or Add block › Custom Liquid, paste the code, then Save.
Your settings for the feature (for example your free shipping amount or countdown end date)
Where the colors come from
- Your list in the studio (value = #hex or an image URL).
- Otherwise the option value’s swatch from Shopify (category metafield).
- Otherwise the color name itself, which works for plain names like Red or Navy.