Size Variant Placeholder text

Size Variant Placeholder text

xnyjyh
Trailblazer
352 0 36

I'm trying to have the size variant placeholder to have text("Select Size") instead of first variant size. Must be a way to do so. Please help 🙂

 

Thanks

Replies 6 (6)
xnyjyh
Trailblazer
352 0 36

I wish is was that simple!

xnyjyh
Trailblazer
352 0 36

This? onyl thing as dropdown in variant.picker.liquid...

        <div class="product-form__input product-form__input--dropdown">
          <label class="form__label" for="Option-{{ section.id }}-{{ forloop.index0 }}">
            {{ option.name }}
          </label>
          <div class="select">
            <select
              id="Option-{{ section.id }}-{{ forloop.index0 }}"
              class="select__select"
              name="options[{{ option.name | escape }}]"
              form="{{ product_form_id }}"
            >
              {% render 'product-variant-options', product: product, option: option, block: block %}
            </select>
            {% render 'icon-caret' %}
          </div>
        </div>
xnyjyh
Trailblazer
352 0 36

Just let me know what i need to do with this code, please. 

xnyjyh
Trailblazer
352 0 36

Unfortunately, it did not work.

xnyjyh
Trailblazer
352 0 36

Can explain better, please. Thanks 🙂

xnyjyh
Trailblazer
352 0 36

I didnt attach the script either