fixed mini cart https://guangdagit.com/beike/beikeshop/issues/203
This commit is contained in:
parent
731faf5367
commit
8f72766115
|
|
@ -145,7 +145,7 @@ class CartService
|
|||
$carts = CartService::list(current_customer());
|
||||
}
|
||||
|
||||
$selected = collect($carts)->where('selected', 1);
|
||||
$selected = collect($carts);
|
||||
$quantity = $selected->sum('quantity');
|
||||
$amount = $selected->sum('subtotal');
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue