Hi @Adamo1 ,
Please paste this code:
{%- if option_type == ‘image’ %}
{%- assign color = ‘’ -%}
{%- assign shown_list = ‘’ -%}
{%- for variant in product.variants -%}
{%- assign option_handle = variant.options[option_index] -%}
{%- unless shown_list contains option_handle -%}
{%- if variant.image -%}
<input type=“radio” name=“option{{ option.position }}” {% if variant == current_variant %}checked=“checked”{% endif %} value=“{{ option_handle | escape }}” data-product-option=“{{ option_index }}” />
![{{ option_handle }}]()
{%- endif -%}
{%- assign shown_list = shown_list | join: ‘,’ -%}
{%- assign shown_list = shown_list | append: ‘,’ | append: option_handle -%}
{%- assign shown_list = shown_list | split: ‘,’ -%}
{%- endunless -%}
{%- endfor -%}
{%- elsif option_type == ‘color’ %}
{%- assign color = ‘’ -%}
{%- assign shown_list = ‘’ -%}
{%- for variant in product.variants -%}
{%- assign option_handle = variant.options[option_index] -%}
{%- unless shown_list contains option_handle -%}
{%- capture color_code -%}
{%- include ‘product-option-color-detector’ -%}
{%- endcapture -%}
{%- assign color_code = color_code | strip | strip_newlines -%}
{%- if color_code != blank -%}
<input type=“radio” name=“option{{ option.position }}” {% if variant == current_variant %}checked=“checked”{% endif %} value=“{{ option_handle | escape }}” data-product-option=“{{ option_index }}” />
{%- endif -%}
{%- assign shown_list = shown_list | join: ‘,’ -%}
{%- assign shown_list = shown_list | append: ‘,’ | append: option_handle -%}
{%- assign shown_list = shown_list | split: ‘,’ -%}
{%- endunless -%}
{%- endfor -%}
Hope this helps!