This commit is contained in:
sanjeev 2022-09-16 13:20:18 +05:30
parent 834791adeb
commit b0b77cf6da
1 changed files with 1 additions and 1 deletions

View File

@ -642,7 +642,7 @@ class Configurable extends AbstractType
. '<span class="price-label">' . trans('shop::app.products.price-label') . '</span>'
. '<span class="special-price">' . core()->currency($this->evaluatePrice($this->getMinimalPrice())) . '</span>';
if (core()->currency($this->evaluatePrice($this->getMinimalPrice()) ) != core()->currency($this->evaluatePrice($this->getOfferPrice()))) {
if (core()->currency($this->evaluatePrice($this->getMinimalPrice()) ) < core()->currency($this->evaluatePrice($this->getOfferPrice()))) {
$html .= '<span class="regular-price">' . core()->currency($this->evaluatePrice($this->getOfferPrice())) . '</span>';
} else {
$html .= '<span class="regular-price"></span>';