mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-06 22:36:07 +00:00
Max quantity field doesn't affect JS price calcs on products without variants
This commit is contained in:
@@ -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();
|
||||
});
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user