View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004955 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2013-02-22 08:50 | 2022-01-31 12:57 |
Reporter | b.hasis | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | always |
Status | assigned | Resolution | open | ||
Product Version | 4.6.5 revision 49955 | ||||
Summary | 0004955: Coupons are add to basket even if Basket summary are Zero | ||||
Description | If 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 | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | All | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
|
My Fix, oxvoucher::_isAvailablePrice($dPrice) replace if ( $this->getDiscountValue( $dPrice ) < 0 ) with if ( $this->getDiscountValue( $dPrice ) <= 0 ) I think this is will dont effect anything else |
|
in this case add functionality: to show warning message, that no sense use another voucher, because basket total already is 0; |
|
waiting for the PO decision. |
|
This is a more general, architectural problem on the shop side. The shop in general has nothing that works as value voucher. So there is no real "account" associated with a coupon. It is either used or not, but it can not be carried over to another transaction. Even if that would be the case though, how should the shop make the decision on WHICH coupon to use first? |