diff --git a/app/services/spree/cart/add_item_decorator.rb b/app/services/spree/cart/add_item_decorator.rb index 9837727d..ef52cbbc 100644 --- a/app/services/spree/cart/add_item_decorator.rb +++ b/app/services/spree/cart/add_item_decorator.rb @@ -20,7 +20,8 @@ def add_to_line_item(order:, variant:, quantity: nil, options: {}) end line_item.target_shipment = options[:shipment] if options.key? :shipment - line_item.save! + + return failure(line_item) unless line_item.save line_item.reload.update_price