jeudi 1 janvier 2015

Hide add to cart button if variant is in cart I Shopify


We are looking for a sloution to hide the add to cart button if the selected variant is already in cart. So the user can only buy one of each variant. Use of a callback?



<script>

var imagesCreated = 0;
var selectCallback = function(variant, selector)


</script>




Aucun commentaire:

Enregistrer un commentaire