diff --git a/packages/Webkul/Checkout/src/Cart.php b/packages/Webkul/Checkout/src/Cart.php index e2ed35ccd..021539dd6 100755 --- a/packages/Webkul/Checkout/src/Cart.php +++ b/packages/Webkul/Checkout/src/Cart.php @@ -168,9 +168,10 @@ class Cart { if (isset($cartProduct['parent_id']) && $cartItem->parent_id != $parentCartItem->id) { $cartItem = $this->cartItemRepository->create(array_merge($cartProduct, ['cart_id' => $cart->id])); } else { - if ($product->getTypeInstance()->showQuantityBox() === false) { + if ($cartItem->product->getTypeInstance()->showQuantityBox() === false) { return ['warning' => __('shop::app.checkout.cart.integrity.qty_impossible')]; } + $cartItem = $this->cartItemRepository->update($cartProduct, $cartItem->id); } } diff --git a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php index db0d97ea2..c35133f56 100644 --- a/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php +++ b/packages/Webkul/Velocity/src/Resources/views/shop/products/list/card.blade.php @@ -8,11 +8,6 @@ .list-card .wishlist-icon i { padding-left: 10px; } - - .product-price span:first-child, .product-price span:last-child { - font-size: 18px; - font-weight: 600; - } @endpush