Black colour swatches images mixing with Beige colour swatches images Dawn 15V

Black colour swatches images mixing with Beige colour swatches images Dawn 15V

ctal37
Excursionist
148 1 36

Hii

I added colour swathes in my products. There are black and beige together total in 2 style products.

So when I click black colour it shows black and beige colour images all together and its only happening with black and beige products where these two colour swatches added together.

please check screenshot

store url - https://5a3cf5-fc.myshopify.com/products/classy-ribbon?variant=44391612383417

Screenshot 2024-08-15 at 10.24.32 PM.pngScreenshot 2024-08-15 at 10.25.57 PM.png

Replies 3 (3)

Imogen
Shopify Staff
2045 226 386

Hi there, @ctal37. Thanks for taking the time to reach out to the Shopify Community Forums with your situation surrounding these colour swatches. My name is Imogen. It's good to meet you!

 

Just to be clear, is the issue you're experiencing with your swatches that only the black and beige options are showing the appropriate variant image? I'd just like to make sure I'm clear on understanding what the issue is here!

Additionally, can you let me know how you added these swatches to your product pages? Was this done via an application, or custom coding?

Imogen | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog

ctal37
Excursionist
148 1 36

hey @Imogen yes its happening with the black and beige only. I used custom coding.

These two tutorials I watched and used the codes.

https://youtu.be/1ZN3wGVlPuQ

https://youtu.be/i4DPKJ-zJgY

 

Please help me

Imogen
Shopify Staff
2045 226 386

Thanks for that information, @ctal37! To set some expectations for you, Shopify Support Staff like myself are not trained on coding, so we wouldn't be able to advise on what specific changes you should look into making for the code you used to generate these swatches. I wouldn't want to advise on anything incorrect and end up having that result in further issues related to your swatches.

My recommendation here would be to copy and paste the code you used to build these swatches in a reply here on your thread. This will give folks with experience in code the ability to look at what you've written and make suggestions on how to address this functionality issue you've been experiencing. Additionally, you can look into hiring a Shopify Expert to consult with them regarding what changes need to be made to your coding to achieve your desired functionality.

Imogen | Social Care @ Shopify 
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Mark it as an Accepted Solution
 - To learn more visit the Shopify Help Center or the Shopify Blog