View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0005229 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2013-06-20 18:23 | 2013-08-14 16:27 |
Reporter | VektorDesign | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | closed | Resolution | unable to reproduce | ||
Product Version | 4.7.4 / 5.0.4 revision 57063 | ||||
Summary | 0005229: AmountPriceInfo breaks on articlediscounts | ||||
Description | When there is an active discount on articles or categories only the first amountprice in list is displayed. | ||||
Steps To Reproduce | 1) Go to backend 2) configure at least 2 amount-prices for a product 3) add a discount like this: - active - discount 10% - add at least one article 4) go to frontend and find the article with amount-prices 5) see only the first price beeing displayed in list | ||||
Additional Information | The problem lies in oxArticle::_fillAmountPriceList() The call of $this->_calculatePrice( $oItemPrice ) semms to results in a falsly set position pointer in $oAmPriceList. changing foreach ($oAmPriceList as $sId => $oItem) { to $oSecureList = clone($oAmPriceList); foreach ($oSecureList as $sId => $oItem) { solves the issue. Did not investigate further and hope I did not pull in other issues! | ||||
Tags | No tags attached. | ||||
Theme | Azure | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
has duplicate | 0005349 | resolved | vaidas.matulevicius | last scale price is empty, when discount is available |
|
Reminder sent to: VektorDesign Hi, Thank you for reporting us this issue, but unfortunately its is not clear enough how to reproduce it. Could you please describe in more details this issue. Also would be good if you send some screen shoots. |