View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002573 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2011-03-01 14:29 | 2012-12-07 15:07 |
Reporter | Spritje | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.4.7 revision 33396 | ||||
Fixed in Version | 4.4.8 revision 34028 | ||||
Summary | 0002573: it is reproducable in 4.4.6 and 4.4.7 | ||||
Description | if a discount is configurerd in 4.4.6 and above and you put more than one article in the basket, you get the discount item for each article in basket, not only once. In version 4.4.0 it works fine. | ||||
Additional Information | Problem seems to be in core/oxbasket.php. /** * Adds bundles to basket * * @param array $aBundles added bundle articles * * @return null */ protected function _addBundlesToBasket( $aBundles ) { foreach ( $aBundles as $sBundleId => $dAmount ) { if ( $dAmount ) { try { if ( $oBundleItem = $this->addToBasket( $sBundleId, $dAmount, null, null, false (<- should be true), true ) ) { $oBundleItem->setAsDiscountArticle( true ); } } catch(oxArticleException $oEx) { // caught and ignored } } } } | ||||
Tags | Discount | ||||
Attached Files | |||||
Theme | |||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
|
discount configutation see jpg attached |
|
Reminder sent to: Spritje Hello, sorry, but i can not reproduce the case. could you please let us know if you still experience same problem on our latest eShop 4.5.0 version? also, is there some categories or products assigned to this discount (in Products tab)? greetings, |
|
It is reproducable in 4.4.6 and 4.4.7. In 4.4.8 and 4.5.0 it can not be reproduced. So bug entry can be closed. |