Selected Variant

Hi all,

I want to add a functionality in my theme that when I select any color image in the products page only the variants of that product must show. How can I do this?

Thanks!

Hi @Hesepim , kindly check out the below given video

If my reply is helpful, kindly click like and mark it as an accepted solution.

Thanks!

1 Like

@topnewyork , before I saw your solution to my post, I searched on YouTube about this problem and found the exact same video. It worked fine for me at first, but after adding a few products, I started getting an error related to the icon-caret.liquid file. I don’t remember the full error message, but is it something you can help me fix?

Thanks for always helping me out!

Hi @Hesepim , kindly open the above attached video and copy/paste the code given in the description link again. The error has been fixed.

1 Like