[-] MO :Fixed #PNM-1654 (Loyalty module) by using most expensive attribute instead of default one

This commit is contained in:
Fabio Chelly
2013-11-08 18:12:11 +01:00
parent 92cf31e5c3
commit 4312d241f3
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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()
)
);