From 6e9a5b5baaae080a8e214c969479b88b874fd2ae Mon Sep 17 00:00:00 2001 From: adonis Date: Sat, 27 Jun 2026 11:06:32 +0330 Subject: [PATCH] fixed provider price --- app/Services/ProductDisplayPriceService.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Services/ProductDisplayPriceService.php b/app/Services/ProductDisplayPriceService.php index 59cab0b..b1952fa 100644 --- a/app/Services/ProductDisplayPriceService.php +++ b/app/Services/ProductDisplayPriceService.php @@ -67,7 +67,8 @@ class ProductDisplayPriceService $collection = collect($products); $zaarbox = app(ZaarboxPriceService::class); - $zaarboxFeed = $zaarbox->getCachedPriceListOnly(); + // مثل ادمین — روی cache miss یک بار fetch؛ نه فقط getCachedPriceListOnly + $zaarboxFeed = $zaarbox->cachedPriceList(false); foreach ($collection as $product) { if (!$product instanceof Product) {