Hi, I am working on my stiletto theme and I dislike the color variant option. I would love to know how to change this to fit what I want. The first picture will be what I have currently and the 2nd picture will be what I’m looking to do. Thank you!
{% form ‘product’,
prod,
class: form_classes,
novalidate: ‘novalidate’,
data-product-form: ‘’,
data-product-handle: prod.handle,
data-current-product-id: current_variant.id
%}
{% comment %}
product quantity within form remains hidden but will be updated
from outside the form if enabled.
{% endcomment %}
{{ 'products.product.quantity' | t }}
{% comment -%}
option field within form remains hidden but will be updated
from outside the form if enabled.
{% endcomment -%}
{% assign custom_option_blocks = blocks | where: ‘type’, ‘custom_option’ -%}
{%- for block in custom_option_blocks -%}
{%- if block.type == ‘custom_option’ -%}
{{ block.settings.label }}: 
{%- case block.settings.field_type -%}
{%- when 'text', 'textarea' -%}
{%- when 'checkbox' -%}
{%- when 'list' -%}
{%- assign list_options = block.settings.list_options | split: ', ' -%}
{% render 'icon' with icon: 'chevron-small' %}
{%- endcase -%}
{%- endif -%}
{%- endfor -%}
{% comment %}
In order for this form to submit, it needs to contain an input with name=“id”.
ProductForm() will automatically create this input (or make sure it has the
right value set if it already exists) on form submit based on the
currently selected variant. However, if JS is disabled we need a fallback.
Include a single
{%- for variant in prod.variants -%}
{{ variant.title }}
{%- if variant.available == false %} - {{ 'products.product.sold_out' | t }}{% endif %}
{%- endfor -%}
{% comment -%}
With JS enabled, this form will always be hidden, but updated from an outside form.
With JS disabled, the outside form is hidden, and this form will be visible.
{% endcomment -%}
{% if section.settings.enable_gift_card_recipient and prod.gift_card? -%}
{% render ‘gift-card-recipient-form’, source: ‘product-form’, product: prod, form: form %}
{%- endif %}