diff --git a/core/lib/spree/permitted_attributes.rb b/core/lib/spree/permitted_attributes.rb index 19c54a10545..763ed2148a8 100644 --- a/core/lib/spree/permitted_attributes.rb +++ b/core/lib/spree/permitted_attributes.rb @@ -131,7 +131,7 @@ module PermittedAttributes @@variant_attributes = [ :name, :presentation, :cost_price, :lock_version, :position, :track_inventory, - :product_id, :product, :option_values_attributes, :price, + :product_id, :product, :price, :weight, :height, :width, :depth, :sku, :cost_currency, option_value_ids: [], options: [:name, :value] ]