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!
Find Global Growth Opportunities For Your Business with Shopify AcademyLearn how to exp...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025