Add icons just before the variant names in dropdown in Dawn Theme

Add icons just before the variant names in dropdown in Dawn Theme

sahilsharma9515
Shopify Partner
1277 165 247

I want to add different icons just before the names of variant, but not sure how to do that? I have tried doing it with variant but unable to achieve it. We are using Dawn 9.0 version theme, which is using Select and option dropdown, but unable to achieve the functionality, How can I achieve it?

 

Here is the screen shot how we want it to display on the page

sahilsharma9515_0-1742218584812.png


Is there a way to achieve it?, We are not looking for an app, we want it in our theme.

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


Replies 3 (3)

Hannastinson
Shopify Partner
8 0 2

To show different icons before variant names in the Dawn 9.0 theme, you'll need to modify the theme's liquid files and CSS. Since the theme uses a select dropdown, the customization would involve adding custom HTML and CSS to control the icon display.

You'll likely need to target the variants dynamically with custom CSS or JavaScript and insert icons before the variant names.

Let me know if you'd like a more detailed step-by-step approach for this!

sahilsharma9515
Shopify Partner
1277 165 247

Hi @Hannastinson Yes I want more step by step approach, can you help in this.

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


Easify-Jolie
Shopify Partner
274 9 26

Hi @sahilsharma9515 

You can try Easify Product Options—it lets you add images before variant names without coding. It works smoothly with dropdowns and other selection types, offering advanced customization to enhance your product options. Here's an example for you:

  • This is the result:

EasifyJolie_0-1742278956619.png

  • This is the app setting: 

EasifyJolie_1-1742278956546.png

 

EasifyJolie_2-1742278956596.png

 

This app is straightforward, and I believe it will work well for you. Reach out to Easify if you need any assistance! 🤗

Easify Product Options: Any product options app can help you create custom options, but Easify turns those options into sales and conversions!
Easify Inventory Sync: Automate inventory syncing for Bundles, Duplicates, and Raw Materials. Say goodbye to manual tracking headaches.
Easify Product Attachments: Enrich your store with downloadable content. Easily add PDFs and other files to product or any page.
>>> Try Apps for Free | 24/7 Live Chat Support