fixed price
This commit is contained in:
@@ -367,13 +367,12 @@ class ProductDisplayPriceService
|
||||
|
||||
if ($product instanceof Product) {
|
||||
if ($this->usesAppPrice($product)) {
|
||||
$useLast = $this->productUsesLastPriceIfZero($product);
|
||||
$base = $useLast
|
||||
? $this->resolveAppBasePrice()
|
||||
: $this->resolveStrictLiveAppBasePrice();
|
||||
|
||||
if ($base <= 0 && $useLast) {
|
||||
return $this->resolveLastPriceFallback($product);
|
||||
$base = $this->resolveAppBasePrice();
|
||||
if ($base <= 0) {
|
||||
$base = $this->resolveHistoricalBasePrice();
|
||||
}
|
||||
if ($base <= 0 && $this->productUsesLastPriceIfZero($product)) {
|
||||
$base = $this->resolveLastPriceFallback($product);
|
||||
}
|
||||
|
||||
if ($base <= 0) {
|
||||
|
||||
Reference in New Issue
Block a user