View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004730 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2012-11-22 16:48 | 2013-12-09 11:11 |
Reporter | c4y | Assigned To | |||
Priority | high | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | Linux Server | OS | Debian 6 | ||
Product Version | 4.6.5 revision 49955 | ||||
Target Version | 4.7.10 / 5.0.10 | Fixed in Version | 4.7.10 / 5.0.10 | ||
Summary | 0004730: Orderrules with Quantity -> Items would be count double | ||||
Description | You have two Categories. a) Wine b) supplies What i want (but it doesn't work): 1) more than 12 Bottles => free (no more rules) 2) 4 - 11 Bottles => 5.90 Euro (no more rules) 3) 1 - 3 Bottles => 4.90 Euro (no more rules) 4) supplies => 2,90 Euro (no more rules) But if you take any number of Bottles (wine) and at least one supplie, the bottles are counted double. Example: Take one supplie and six bottles of wine, you will get free shipping (false). Take one supplie and two bottles of wine, you have to pay 5,90 Euro for Shipping (false) | ||||
Steps To Reproduce | see Description | ||||
Additional Information | The error was also tested in the Demo-Shop from a User in the Forum. http://forum.oxid-esales.com/showthread.php?t=17156 | ||||
Tags | Basket, Delivery | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | 5.3 | ||||
Database Version | 5.1 | ||||
|
I think this bug was introduced in 4.5.3 by moving the block if (!$blForBasket) { $iAmount += $iArtAmount; } out of the if clause if ( $oProduct->inCategory( $sCatId ) ) { maybe related to 0002679 |
|
added fix in calculation |