From acea2cf0c9b5f68f9e122bebf05d2db1fb5d40fc Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 14 Jan 2023 17:58:42 +0500 Subject: [PATCH] wishlistdaki mesele old price eklendi api bn bilelikde --- packages/Sarga/API/Http/Resources/Customer/WishListResource.php | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/Sarga/API/Http/Resources/Customer/WishListResource.php b/packages/Sarga/API/Http/Resources/Customer/WishListResource.php index 9dc6991d1..d09db9e2e 100644 --- a/packages/Sarga/API/Http/Resources/Customer/WishListResource.php +++ b/packages/Sarga/API/Http/Resources/Customer/WishListResource.php @@ -20,6 +20,7 @@ class WishListResource extends JsonResource 'product' => new Product($this->product), 'created_at' => $this->created_at, 'updated_at' => $this->updated_at, + 'old_price' => (double) core()->convertPrice($this->price), ]; } } \ No newline at end of file