From 774fca9003adc38eb9779663dc4fe66f10f613ec Mon Sep 17 00:00:00 2001 From: merdan Date: Sat, 14 Jan 2023 17:46:50 +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 09569fa29..66feada04 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 + 'price' => $product->min_price ?? 0.0 ]); return response([