View Issue Details

IDProjectCategoryView StatusLast Update
0001934OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2012-12-07 15:07
Reporterd3 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.3.0 revision 26948 
Fixed in Version4.4.1 revision 28950 
Summary0001934: Negative discount is not calculated in the basket
DescriptionWhen discount is inserted as negative amount (i.e. "-10 EUR") it is not calculated in the basket (simply ignored and discount line is not shown in estimation).
Negative discount may be used i.e. for adding additional costs in case if too less items are added to basket ("small-volume purchases").
So if discount is negative number it still should be calculated in the estimation (should add defined amount to Total sum).
Additional InformationThis feature worked in version 4.2.0.
TagsDiscount
Theme
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0002166 closed Negative discount is not calculated in the basket 

Activities

vilma_liorensaityte

2010-07-01 17:00

reporter   ~0003248

in oxbasket::_calcBasketDiscount() from:
if ($oStdDiscount->dDiscount > 0)
changed to:
if ($oStdDiscount->dDiscount != 0)