Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Fixes volume rule edit form
Damian Legawiec3ad38550451a
diff --git a/admin/app/views/spree/admin/price_rules/forms/_volume_rule.html.erb b/admin/app/views/spree/admin/price_rules/forms/_volume_rule.html.erbindex b89921ee8b..883d7a9bc5 100644--- a/admin/app/views/spree/admin/price_rules/forms/_volume_rule.html.erb+++ b/admin/app/views/spree/admin/price_rules/forms/_volume_rule.html.erb@@ -6,6 +6,6 @@<div class="form-group"><%= f.label :preferred_max_quantity, Spree.t(:max_quantity) %>- <%= f.number_field :preferred_max_quantity, class: 'form-control', min: 1, value: f.object.preferred_max_quantity, placeholder: Spree.t(:unlimited) %>+ <%= f.number_field :preferred_max_quantity, class: 'form-control', min: 0, value: f.object.preferred_max_quantity, placeholder: Spree.t(:unlimited) %></div></div>diff --git a/core/config/locales/en.yml b/core/config/locales/en.ymlindex 4632e2aafc..31f76b60cb 100644--- a/core/config/locales/en.yml+++ b/core/config/locales/en.yml@@ -1323,6 +1323,7 @@ en:any: Match ANY rulemax: Maxmax_items: Max Items+ max_quantity: Max Quantitymedia: Mediamemo: Memometa_description: Meta Description@@ -1332,6 +1333,7 @@ en:metafield_definitions: Metafield Definitionsmetafields: Metafieldsmin: Min+ min_quantity: Min Quantityminimal_amount: Minimal Amountminimum_password_length:one: "(%{count} character minimum)"@@ -1710,12 +1712,6 @@ en:description: Apply pricing based on geographic zonename: Zoneprice_sack: Price Sack- min_quantity: Min Quantity- max_quantity: Max Quantity- unlimited: Unlimited- volume_rule:- line_item: Line Item Quantity- cart_total: Cart Total Quantityprices: Pricespricing: Pricingprivacy_policy: Privacy Policy@@ -2324,6 +2320,7 @@ en:imperial_system: Imperial systemmetric: metricmetric_system: Metric system+ unlimited: Unlimitedunlock: Unlockunprocessable_entity: Unprocessable Entityunprocessable_entity_message: Your request could not be processed. Please check the form for errors and try again.@@ -2379,6 +2376,9 @@ en:visibility: Visibilityvisits: Visitsvoid: Void+ volume_rule:+ cart_total: Cart Total Quantity+ line_item: Line Item Quantitywe_are_busy_updating: We're updating the %{store_name} homepage.we_are_busy_updating_page: We're busy updating this page.we_will_be_back: We will be back.