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!
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024