Hallo!
Keine Angst, die Berechnungen in den Modulen sind korrekt.
Die Fehler liegen woanders und kommen zum tragen bei edit_orders.
Und zwar wird nicht z.B. "Mengenrabatt" als Title in die DB eingetragen, sondern "output[] = array('title' => $this->title . ': ' . '<a href="javascript:couponpopupWindow(\'' . zen_href_link(FILENAME_POPUP_COUPON_HELP, 'cID=' . $_SESSION['cc_id']) . '\')">' . $this->coupon_code . ' :',
'text' => '-' . $currencies->format($od_amount['total']),
'value' => $reduce_amt);[/code]
ändern in
in der ot_quantity_discount.php Zeile 165
einfach löschen
in der ot_group_pricing.php die Zeile 56
ändern in
Jetzt sollten die Einträge in der DB korrekt eingetragen werden. Dann klappt es auch mikt edit_orders. Die Dateien werden ich ins nächste Mega Orders-Update mit reinpacken. So zu Ostern (als Ü-Ei )
Keine Angst, die Berechnungen in den Modulen sind korrekt.
Die Fehler liegen woanders und kommen zum tragen bei edit_orders.
Und zwar wird nicht z.B. "Mengenrabatt" als Title in die DB eingetragen, sondern "output[] = array('title' => $this->title . ': ' . '<a href="javascript:couponpopupWindow(\'' . zen_href_link(FILENAME_POPUP_COUPON_HELP, 'cID=' . $_SESSION['cc_id']) . '\')">' . $this->coupon_code . ' :',
'text' => '-' . $currencies->format($od_amount['total']),
'value' => $reduce_amt);[/code]
ändern in
Code:
$this->output[] = array('title' => $this->title . ' ' . $this->coupon_code . ':', 'text' => '-' . $currencies->format($od_amount['total']), 'value' => $od_amount['total']);
Code:
$this->title = '[url="javascript:alert(\'' . $this->explanation . '\');"]' . $this->title . '[/url]';
in der ot_group_pricing.php die Zeile 56
Code:
'value' => $reduce_amt);
Code:
'value' => $od_amount['total']);