add newlines

This commit is contained in:
Steffen Mahler 2020-06-11 08:21:45 +02:00
parent a735180f38
commit e630bef3d7
1 changed files with 2 additions and 0 deletions

View File

@ -135,6 +135,7 @@ class Cart
}
$product = $this->productRepository->findOneByField('id', $productId);
if ($product->status === 0) {
return ['info' => __('shop::app.checkout.cart.item.inactive-add')];
}
@ -825,6 +826,7 @@ class Cart
session()->flash('info', __('shop::app.checkout.cart.item.inactive'));
}
}
$cart->save();
return $cart;