Willing to hire someone who can help
I’m am looking to see if it’s possible to customize the color variant display on the product page of this e-commerce I’m working on. I’ve seen older posts on the forum that suggested creating a different product item for each of the different colors, but I’m wondering if there’s a better way since the update.
Here is the preview link: Webflow - P I N E
Ideally, I would like it to look like this
But I could settle for something like this:
I’m wondering if there is a simple code like this:
Any help is greatly appreciated! TIA
Here is my site Read-Only: LINK
(how to share your site Read-Only link)
Do you need help anymore?
Hey! Yes, I do! I can get in contact with you?
Can you share a new Read-Only Link?
I will take a look at at in 1-2 days
Instead of this:
Go with this:
background: linear-gradient(to bottom, #1F4E79 0%, #1F4E79 50%, #ddd 50%, #ddd 100%);
#1F4E79 0%, #1F4E79 50%, is your top color
#ddd 50%, #ddd 100% is your bottom color
Would this help?
You can add dynamic fields inside your code.
Maybe you can use it for your list of color so that you insert the values dynamically and there is no need to list all color-variants.
Wow! This is perfect, that did it! Thank you so much for taking the time to look into it!
Does this still work? I managed to recreate everything in Webflow (create the cms collection for colors, add the code and the color fields for the product) with single color circles but I can’t seem to make it work. The circle when pressed goes black.
Is there any code that I have to use at the backend ?
read only link:
I’m having the same issue. Is there any way you could share the code to get this to work?
Thanks in advance!
Hi Chloe! You can find the code on my read_only link, on the products template page (head & body): Webflow - SOSA E-STORE
Sharing the whole code here will break its functionality so I suggest checking out how it is applied on the products template page with the added fields.
Also do checkout my other post on this issue: Linking CMS colors to product variant buttons (creating swatches)