fixed provider price
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user