Adding unique product description in product dropdown in Dawn theme

Hello,

I am in the process of updating to Dawn.

I sell Hair Colour, so each Hair Colour needs its own drop down that includes each Colours distinct personality.

In my current theme I have this set up as snippet (here is a quick snap shot)

{% if product.handle contains '1-10' %}
{% include 'product-colour-very-dark' %}
{% include 'product-colour-cool' %}

{% elsif product.handle == '3-dark-brown'%}
{% include 'product-colour-very-dark' %}
{% include 'product-colour-natural' %}
{% include 'product-colour-enhancer' %}

I am trying to setup with the similar drop down in the Dawn theme but so far I can only see setting up a metafield, but I have a lot of colours and want to add little icons for each characteristic.

Is there a way I can just do the snippet again?

All help is greatly appreciated.

Thank you!

you can do color switch with the assign you need a if statement and values all that stuff but to much to put here

{% assign switch-color_black ='#000' -%}

 {%- assign swatch_color = value | handle | replace: '-', '' -%}

Hi @thisislalalou ,

Have you tried copying the snippets from your “old” theme to Dawn? If this setup works fine for your current theme, it should work fine for the Dawn as well.