From 28e75d64670014da7fece473190b135d2ca560cd Mon Sep 17 00:00:00 2001 From: Rohan Mitchell Date: Fri, 3 Aug 2012 18:32:19 +1000 Subject: [PATCH] Fix add to cart JS for compatibility with group buy --- app/assets/javascripts/store/products.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/javascripts/store/products.js b/app/assets/javascripts/store/products.js index ccf5293bf4..8cbfc57345 100644 --- a/app/assets/javascripts/store/products.js +++ b/app/assets/javascripts/store/products.js @@ -9,7 +9,7 @@ $(document).ready(function() { $("#quantity").change(); // Product page with master price only - $(".add-to-cart input.title:not(#quantity)").change(products_update_price_without_variant).change(); + $(".add-to-cart input.title:not(#quantity):not(#max_quantity)").change(products_update_price_without_variant).change(); });