fix bug
This commit is contained in:
@@ -349,7 +349,7 @@ class ZaarboxPriceService
|
||||
$liquidGoldPrice = app(ProductDisplayPriceService::class)->resolveAppBasePrice();
|
||||
$p = Product::find($product->id);
|
||||
if ($p && $liquidGoldPrice > 0) {
|
||||
$show = ($currentTime >= $product->auto_open_at && $currentTime <= $product->auto_close_at);
|
||||
$show = app(ConfigService::class)->isProductWithinTradingHours($product);
|
||||
$p->amount = $row['price'] / $liquidGoldPrice;
|
||||
$p->show = $show;
|
||||
$p->save();
|
||||
|
||||
Reference in New Issue
Block a user