Merge pull request #1600 from jitendra-webkul/jitendra

Issue #1592 fixed
This commit is contained in:
Jitendra Singh 2019-10-11 12:13:23 +05:30 committed by GitHub
commit f8f7df4125
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -143,6 +143,8 @@ class Cart {
$cartProducts = $product->getTypeInstance()->prepareForCart($data);
if (is_string($cartProducts)) {
$this->collectTotals();
throw new \Exception($cartProducts);
} else {
$parentCartItem = null;
@ -168,7 +170,7 @@ class Cart {
$this->collectTotals();
return $cart;
return $this->getCart();
}
/**

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
{
"/js/shop.js": "/js/shop.js?id=e218d2c5c1c6fcfc67fc",
"/css/shop.css": "/css/shop.css?id=c9962e07f761468e22a1"
"/css/shop.css": "/css/shop.css?id=ef5b860d29792023de5b"
}