Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
I am using the "brooklyn" theme and have 2 product options: Color & Size
On the color i wanted to add the selected variant as text after the label so I tried this but it return“s nothing
<label class="single-option-radio__label"
for="ProductSelect-option-{{ forloop.index0 }}">
{{ option.name | escape }}
</label> <span class="options-more-info">: {% assign current_variant = product.selected_variant %}</span>
and on the size option i just wanted to add some basic html after the label e.g - I think this should be fairly easy but i am stuck on the above showing the current selected color option!
<label class="single-option-radio__label"
for="ProductSelect-option-{{ forloop.index0 }}">
{{ option.name | escape }}
</label> <span class="options-more-info">: see <a href="#">size chart</a></span>
I have been searching for a while and just can find the answer... so fingers crossed some and point me in the right direction.
Thanks in advance for any help š