View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update | 
|---|---|---|---|---|---|
| 0005162 | OXID eShop (all versions) | 1.03. Basket, checkout process | public | 2013-06-12 11:59 | 2015-10-05 12:15 | 
| Reporter | Spritje | Assigned To | |||
| Priority | normal | Severity | minor | Reproducibility | always | 
| Status | resolved | Resolution | fixed | ||
| Product Version | 4.7.5 / 5.0.5 | ||||
| Target Version | 4.7.10 / 5.0.10 | Fixed in Version | 4.7.10 / 5.0.10 | ||
| Summary | 0005162: Coupon calculation is not correkt, when articles are assigned and | ||||
| Description | Discount will be calculated to each product per cart position, but should be calculated only once, if option ""Calculate only once"" is set. | ||||
| Steps To Reproduce | 1. Create a Coupon (like attached) with X articles assigned in coupon. 2. In Frontend select 2,3 or 4 of the X articles. The discount should be calculated once, because "Calculate only once" is activated in the coupon. 3. Discount calculation is wrong. Should be calculated only once, not per cart position. | ||||
| Additional Information | If no article is assigned to coupon serie, the calculation works fine. | ||||
| Tags | Calculations, Price Calculation, Voucher | ||||
| Attached Files | |||||
| Theme | Both | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
| related to | 0002454 | resolved | Linas Kukulskis | Calculate only once (valid only for product or category vouchers) --> Help is missing | 
| has duplicate | 0005841 | closed | oxvoucher__oxcalculateonec still allows multiple calculations | |
| related to | 0006063 | acknowledged | florian.auer | Coupon Series: discount only on first article in basket if coupon is assigned on selected articles | 
| related to | 0002242 | resolved | dainius.bigelis | wrong voucher discount | 
|  | If I remember correctly this is an intended behaviour. In the described scenario the shop will calculate the discount only once if you add the same product multiple times to the cart/ basket. However if you intend to have a number of products for which the discount should be applied only once just add them to a hidden category and apply the coupon to this category. | 
|  | Please compare Dainius's comment: https://bugs.oxid-esales.com/view.php?id=2242#c3785 | 
|  | This bug priority should be higher, because it is related to money loss for merchants! In some cases, customers get discounts many times higher, that coupon provides. | 
|  | fixed with a contribution | 
|  | https://github.com/druteika/oxideshop_ce/commit/28f750ef3f5b2192be5ccf854781ff580382280b | 
