fixed provider price

This commit is contained in:
2026-06-27 11:06:32 +03:30
parent d3d3d8b7b5
commit 6e9a5b5baa
+2 -1
View File
@@ -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) {