diff --git a/app/controllers/cart_controller.rb b/app/controllers/cart_controller.rb index 52c8c3caac..c1a77b433b 100644 --- a/app/controllers/cart_controller.rb +++ b/app/controllers/cart_controller.rb @@ -14,9 +14,7 @@ class CartController < BaseController cart_service = CartService.new(order) if cart_service.populate(params.slice(:products, :variants, :quantity), true) - fire_event('spree.cart.add') - fire_event('spree.order.contents_changed') - + order.update_distribution_charge! order.cap_quantity_at_stock! order.update!