View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005061 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2013-04-11 16:53 | 2014-03-04 11:28 |
Reporter | Bergfreunde | Assigned To | |||
Priority | urgent | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.7.4 / 5.0.4 revision 57063 | ||||
Fixed in Version | 4.7.5 / 5.0.5 | ||||
Summary | 0005061: Affiliates - Discountnetprice is always 0 | ||||
Description | In thankyou.tpl there is a variable "discountnetprice" which is used for affiliate-programs (netto-price after discounts etc.). To get the value the basket-function getDiscountedNettoPrice() is called, but it returns always "0" As far as we could reproduce it, the variable "$this->_dDiscountedProductNettoPrice" is never set. So either it should be set within the basket or the function should be like that: public function getDiscountedNettoPrice() { if ( $this->_oNotDiscountedProductsPriceList ) { // return $this->_dDiscountedProductNettoPrice + $this->_oNotDiscountedProductsPriceList->getNettoSum(); return $this->_oDiscountProductsPriceList->getNettoSum() + $this->_oNotDiscountedProductsPriceList->getNettoSum(); } return false; } | ||||
Tags | No tags attached. | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||