Dynamic Variant SKU on Product Page without Page Refresh

I’m currently using Dawn version 10.

I have a product page with various drop downs on product variations, with a custom liquid block displaying a static SKU: {% assign current_variant = product.selected_or_first_available_variant %}
{{ current_variant.sku }}

I’ve been looking through the main-product-liquid and featured-product.liquid files but I can’t figure out how to make my SKU dynamically update with javascript, without a page refresh.

Does anyone know an easy way?

@gentiandb

Please check the following link for help!

https://ed.codes/blog/how-to-show-variant-sku-number-on-product-pages-shopify-2-0-dawn-and-free-themes

Thanks!