From 5645fdda71d7946e0d7db594b14f4965d97a3d4c Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 14 Jan 2023 17:49:24 +0500 Subject: [PATCH] mass assignmenmika wishlistdaki mesele --- packages/Sarga/API/Http/Controllers/Wishlists.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/Sarga/API/Http/Controllers/Wishlists.php b/packages/Sarga/API/Http/Controllers/Wishlists.php index 66feada04..4f5360c6f 100644 --- a/packages/Sarga/API/Http/Controllers/Wishlists.php +++ b/packages/Sarga/API/Http/Controllers/Wishlists.php @@ -59,7 +59,7 @@ class Wishlists extends WishlistController 'channel_id' => core()->getCurrentChannel()->id, 'product_id' => $id, 'customer_id' => $customer->id, - 'price' => $product->min_price ?? 0.0 + 'price' => $product->min_price ?? $product->price ]); return response([