Max quantity field doesn't affect JS price calcs on products without variants

This commit is contained in:
Rohan Mitchell
2012-08-04 16:51:43 +10:00
parent e0b8b8b4d4
commit 9d33ef460c
2 changed files with 2 additions and 2 deletions

View File

@@ -9,7 +9,7 @@ $(document).ready(function() {
$("#quantity").change();
// Product page with master price only
$(".add-to-cart input.title:not(#quantity):not(#max_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();
});