changing on change via span

Shopify Partner
86 4 15



Wondering if anyone knows if its possible to change a on change of the variant like the variant.sku?


like this effectively but for (and ideally and variant.price)

{% assign current_variant = product.selected_or_first_available_variant %}
<span class="variant-sku">{{ current_variant.sku }}


could write the JS for this, but figured it probably exists somewhere as a class so wanted to save myself the headache. 

Replies 0 (0)