How can I add color back to my store's product variants?

Hi all,

I have 3 variants on my store - ‘we sell for’ ‘we buy for cash’ ‘we buy for voucher’

At the moment they are coded the colours I would like for them but I have found it is a bit confusing for customers so I wanted to add prices directly in each variant like shown attached for example ‘we sell for £300’
The problem I have is its removed the colours from the variants and I don’t know how to add it back.

Is there code I can use to add the colour back for each products variant or is putting the prices in not a feasible option?

Store url: www.webse.co.uk
Theme: Dawn

Thanks!

Hi!

Could you apply the change or send the preview link so I take a look at the code after you’ve added the prices to the buttons?

Thanks @WoodyDev Here is the preview link: https://bars7a8gwgrwgp3g-63671140606.shopifypreview.com

All I am doing is opening a product & editing the variant title by adding the price values

Perfect!

Not sure if this will work but worth giving it a go, paste this on the bottom of your theme.scss file:

[class*="we-sell-for"] {
  background-color: green;
}

@WoodyDev Thanks for the quick response! So I put it on the theme.liquid & base.css but it did not work for either I am afraid

Okay not to worry, could you send your STORE.myshopify.com link so I can request access and take a look into the backend code and try and find a solution for you?

Of course, thanks mate! It is

https://b-s-exchange-ltd.myshopify.com/

If you could make the changes to the 'copy of Dawn + wishlist hero-PS(17-06-22)’

Thanks again!

No problem!

Turns out i still have access from when I last helped you :slightly_smiling_face:

Leave it with me and I’ll re-post here if/when I can find a solution.

1 Like

You’re a legend. Really appreciate it!

I try my best :slightly_smiling_face:

Please check your preview theme on the same product, should have solved your issue for you :slightly_smiling_face:

1 Like

Absolute star! Thanks so much

You’re very welcome!

Please take a moment to read through my signature below, I would highly appreciate it :slightly_smiling_face:

If you need help in the future feel free to message me directly!