cart item add weight problem

This commit is contained in:
merdan 2024-02-19 18:02:59 +05:00
parent 8438adb1eb
commit fc53f793cc
1 changed files with 1 additions and 1 deletions

View File

@ -185,7 +185,7 @@ class Cart
}
if (! $cartItem) {
$cartItem = $this->cartItemRepository->create(array_merge($cartProduct, ['cart_id' => $cart->id]));
$cartItem = $this->cartItemRepository->create(array_merge($cartProduct, ['cart_id' => $cart->id,'weight' =>0]));
} else {
if (
isset($cartProduct['parent_id'])