[-] MO :Fixed #PNM-1654 (Loyalty module) by using most expensive attribute instead of default one
This commit is contained in:
@@ -453,7 +453,7 @@ class Loyalty extends Module
|
||||
$points = (int)LoyaltyModule::getNbPointsByPrice(
|
||||
$product->getPrice(
|
||||
Product::getTaxCalculationMethod() == PS_TAX_EXC ? false : true,
|
||||
(int)$product->getDefaultIdProductAttribute()
|
||||
(int)$product->getIdProductAttributeMostExpensive()
|
||||
)
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user