Shopify themes, liquid, logos, and UX
My products have a product group metaobject allocated to them, inside that meta object there is product group information including a unique color for each group, its in this format: #88D189
I can call it inside product pages / liquid etc, but how can I replace the theme color settings and make it to follow such color if it exists?
I'm specifically talking about the color of the buttons which come from " Solid button background color " in the theme settings.
How can I override this color, with a code saying if the metaobject / field exists then use metaobject/metafield color, if not then use the them setting color.
Thank you!
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025