Skip to content

Instantly share code, notes, and snippets.

<script>
var length = {{ product.variants.size }};
$(document).ready(function () {
$("#{{ product.id }}-quantity-0").focus();
$("#submit-table-{{ product.id }}").click(function(e) {
e.preventDefault();
//array for Variant Titles
var toAdd = new Array();
var qty ;