cart desc
This commit is contained in:
parent
74f470d5ef
commit
a3d2e6f0e6
|
|
@ -31,6 +31,7 @@ class CartService
|
|||
$cartItems = Cart::query()
|
||||
->with(['sku.product.description'])
|
||||
->where('customer_id', $customer->id)
|
||||
->orderByDesc('id')
|
||||
->get();
|
||||
$cartList = CartList::collection($cartItems)->jsonSerialize();
|
||||
return $cartList;
|
||||
|
|
|
|||
Loading…
Reference in New Issue