View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006593 | OXID eShop (all versions) | 1.02. Price calculations (discounts, coupons, additional costs etc.) | public | 2017-02-22 14:55 | 2024-04-17 07:56 |
Reporter | leofonic | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 4.10.3 / 5.3.3 | ||||
Summary | 0006593: delivery costs doubled | ||||
Description | This is a copy of 0006077, steps to reproduce in demoshop are added below. In some cases when no shipping method was selected before, the shop calls "isForBasket" while detecting shipping sets, and the same instance of the delivery is used later for calculating shipping cost. Because _iItemCnt and _iProdCnt are not reset, shipping costs are doubled. | ||||
Steps To Reproduce | - disable all shipping sets except "Beispiel Set1: UPS 24 Std. Express" - set shipping cost rule "Versandkosten für Beispiel Set2: UPS 24 Std. Express: 12,90.-" to "For each product" - put one article in basket and checkout without registration - in step 3 shipping costs are displayed as 25,80 € (incorrect) - go back to step 2 and forward to step 3, shipping cost is now correct (12,90 €) | ||||
Additional Information | fix suggested in 0006077 works: I fixed the problem for myself, by adding $this->_iItemCnt = 0; $this->_iProdCnt = 0; at the beginning of function "isForBasket" (oxdelivery.php) | ||||
Tags | Product domain and basket rewrite | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||