feat: Enhance price comparison logic and improve code formatting
This commit is contained in:
@@ -1376,7 +1376,10 @@ class Gm_OmniPrice extends Module
|
||||
];
|
||||
}
|
||||
}
|
||||
if ($lowestCachedPrice)
|
||||
|
||||
$checkIfProductIsDiscounted = self::checkIfProductIsDiscounted($this->getDiscountedProductIds($params['id_shop'], $params['id_currency'], $params['id_country'], $params['id_group']), $productId, $params['id_product_attribute']);
|
||||
|
||||
if ( $lowestCachedPrice and $checkIfProductIsDiscounted )
|
||||
{
|
||||
$this->context->smarty->assign(
|
||||
[
|
||||
|
||||
Reference in New Issue
Block a user