[-] MO :Fixed #PNM-1654 (Loyalty module) by using most expensive attribute instead of default one
This commit is contained in:
@@ -39,7 +39,7 @@ $(document).ready(function() {
|
||||
if (typeof(productPrice) == 'undefined' || typeof(productPriceWithoutReduction) == 'undefined')
|
||||
return;
|
||||
|
||||
var points = Math.round(productPrice / point_rate);
|
||||
var points = {$points};
|
||||
var total_points = points_in_cart + points;
|
||||
var voucher = total_points * point_value;
|
||||
if (!none_award && productPriceWithoutReduction != productPrice) {
|
||||
|
||||
Reference in New Issue
Block a user