Skip to content

Instantly share code, notes, and snippets.

@jonathanmoore
Created March 7, 2022 15:08
Show Gist options
  • Save jonathanmoore/eb11b1353ae2ee35a69fd05032859ec7 to your computer and use it in GitHub Desktop.
Save jonathanmoore/eb11b1353ae2ee35a69fd05032859ec7 to your computer and use it in GitHub Desktop.
{% assign current_variant = product.selected_or_first_available_variant %}
<span class="variant-sku">{{ current_variant.sku }}</span>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment