Modify ↓
#719 closed Bug/Fehler (fixed)
Couponberechnung: %-Rabatt x Währungskurs = negative Rechnungssumme
| Reported by: | anonymous | Owned by: | Ronald Parcinski |
|---|---|---|---|
| Priority: | normal | Milestone: | modified-shop-2.0.0.0 |
| Component: | Module | Version: | 2.0.0.0 |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: |
Description
Datei: \includes\modules\order_total\ot_coupon.php
Fehler: Ein mit prozentualem Rabatt angelegter Coupon wird mit dem Währungskurs multipliziert:
if ($get_result['coupon_type'] != 'P') {
$od_amount = $c_deduct;
} else {
$od_amount = $amount * $xtPrice->xtcCalculateCurr($get_result['coupon_amount']) / 100; //FIX - web28 - 2012-04-24 - calculate currencies
}
Lösung:
if ($get_result['coupon_type'] != 'P') {
$od_amount = $c_deduct;
} else {
$od_amount = $amount * $get_result['coupon_amount'] / 100;
}
Attachments (0)
Note:
See TracTickets
for help on using tickets.

Danke für den Hinweis, wird überprüft