View Issue Details

IDProjectCategoryView StatusLast Update
0004955OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2015-12-01 09:11
Status assignedResolutionopen 
Product Version4.6.5 revision 49955 
Target VersionFixed in Version 
Summary0004955: Coupons are add to basket even if Basket summary are Zero
DescriptionIf there a some Coupons that can be combined with other ones and you use them together in one basket(checkout) even if you dont need it because the basket summery are allready 0 you will not be able to use the "unused" Coupons(Coupon value 0€) in other orders.
All these "unused" Coupons will be expired after order finished.
Steps To Reproduce-Create 2 Coupon with that settings:
Discount = 50
Valid with same Series = Yes
Valid with different Series = Yes
Valid with same Series, different Order = Yes
-Put something less than 50 in your basket
-add both coupon to that baket
-remember the one that have a value of 0€(the second you entered)
-finish order

- Put in your basket
- try to use the "unused" coupon
TagsNo tags attached.
ThemeNot defined
PHP VersionNot defined
Database VersionNot defined



2013-02-22 10:43

reporter   ~0008438

My Fix, oxvoucher::_isAvailablePrice($dPrice)
if ( $this->getDiscountValue( $dPrice ) < 0 )
if ( $this->getDiscountValue( $dPrice ) <= 0 )

I think this is will dont effect anything else

Linas Kukulskis

2013-02-25 09:48

reporter   ~0008450

in this case add functionality: to show warning message, that no sense use another voucher, because basket total already is 0;


2014-03-28 09:58

reporter   ~0009690

waiting for the PO decision.