View Issue Details

IDProjectCategoryView StatusLast Update
0006593OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2024-04-17 07:56
Reporterleofonic Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionunable to reproduce 
Product Version4.10.3 / 5.3.3 
Summary0006593: delivery costs doubled
DescriptionThis 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 Informationfix 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)
TagsProduct domain and basket rewrite
ThemeNot defined
BrowserNot defined
PHP VersionNot defined
Database VersionNot defined

Activities

SvenBrunk

2024-04-17 07:56

administrator   ~0016777

We cannot reproduce this in recent versions of the framework. Neither v7.0.3 nor v6.5.4 seem to be having this issue.