mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-01 21:47:16 +00:00
Quantities for bulk not getting lost now
This commit is contained in:
@@ -46,7 +46,8 @@
|
||||
%input{type: :number,
|
||||
min: 0,
|
||||
max: "{{product.on_demand && 9999 || product.count_on_hand }}",
|
||||
name: "variant_attributes[{{product.master.id}}][max_quantity]"}
|
||||
name: "variant_attributes[{{product.master.id}}][max_quantity]",
|
||||
"ng-model" => "product.max_quantity"}
|
||||
%td.price.text-right
|
||||
%small{"ng-show" => "(product.variants.length > 0)"} from
|
||||
{{ productPrice(product) | currency }}
|
||||
|
||||
Reference in New Issue
Block a user