diff --git a/src/CoreShop/Bundle/FrontendBundle/Controller/CartController.php b/src/CoreShop/Bundle/FrontendBundle/Controller/CartController.php index eccf370e95..2dc78c94f2 100644 --- a/src/CoreShop/Bundle/FrontendBundle/Controller/CartController.php +++ b/src/CoreShop/Bundle/FrontendBundle/Controller/CartController.php @@ -175,7 +175,7 @@ public function addItemAction(Request $request) $addToCart = $this->createAddToCart($this->getCart(), $cartItem); - $form = $this->get('form.factory')->createNamed('coreshop', AddToCartType::class, $addToCart); + $form = $this->get('form.factory')->createNamed('coreshop-' . $product->getId(), AddToCartType::class, $addToCart); if ($request->isMethod('POST')) { $redirect = $request->get('_redirect', $this->generateCoreShopUrl($this->getCart(), 'coreshop_cart_summary'));