View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007823 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2025-09-03 13:51 | 2025-09-03 17:48 |
Reporter | dennisreisel | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | acknowledged | Resolution | open | ||
Product Version | 7.3.0 | ||||
Summary | 0007823: Order with coupon slightly exceeding basket total fails, shipping methods unavailable | ||||
Description | When adding two products whose combined price ends with .99 and applying a coupon that exceeds the total by exactly 1 cent (e.g., basket = XX.99, voucher = XX+1), the checkout process fails because no shipping methods are available. The underlying calculation sets $dPrice to approximately -7.xE-15 instead of 0, which causes the shipping rule evaluation to fail. | ||||
Steps To Reproduce | 1. Add two products to the cart with a combined price of XX.99. 2. Add a coupon with a value of XX+1 (slightly more than the cart total). 3. Proceed to checkout. 4.Observe that no shipping methods are available. | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||