cart item add weight problem
This commit is contained in:
parent
8438adb1eb
commit
fc53f793cc
|
|
@ -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'])
|
||||
|
|
|
|||
Loading…
Reference in New Issue