diff --git a/lib/spree_volume_pricing/engine.rb b/lib/spree_volume_pricing/engine.rb index 59188173..f5f8750a 100644 --- a/lib/spree_volume_pricing/engine.rb +++ b/lib/spree_volume_pricing/engine.rb @@ -80,7 +80,7 @@ def to_range Admin::VariantsController.class_eval do update.before do - params[:variant][:volume_price_attributes] ||= {} + params[:variant][:volume_prices_attributes] ||= {} end update.response do |wants|