Resolved conflict
This commit is contained in:
commit
f08a8036e6
File diff suppressed because one or more lines are too long
|
|
@ -357,7 +357,6 @@ body {
|
|||
|
||||
.card-info {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: inline-block;
|
||||
|
||||
&.center {
|
||||
|
|
|
|||
|
|
@ -1177,9 +1177,13 @@ class Cart {
|
|||
$data['quantity'] = 1;
|
||||
$data['product'] = $product->id;
|
||||
|
||||
\Event::fire('checkout.cart.add.after', $product->id);
|
||||
|
||||
$result = $this->add($product->id, $data);
|
||||
|
||||
if ($result) {
|
||||
\Event::fire('checkout.cart.add.after', $result);
|
||||
|
||||
return 1;
|
||||
} else {
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Reference in New Issue