Hi found a possible problem - in ot_group_pricing.php, function calculate_deductions - the function does not take into account when more than 1 of the same item is purchased.
For example, the if an item is priced at $100 and the group discount is 10%, and 3 are purchased - the discount is only $10 instead of $30.
I have added in:
$qty = $value['qty'];
then down in the code.
$discount = ($totprice - $gift_vouchers) * $group_discount->fields['group_percentage'] / 100;
if ($qty > 1) {
$discount = $qty * $discount;
}
Not sure if anyone has come across this before...
Bookmarks