View Issue Details

IDProjectCategoryView StatusLast Update
0006593OXID eShop (all versions)1.02. Price calculations (discounts, coupons, additional costs etc.)public2024-04-05 16:33
Reporterleofonic Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
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

There are no notes attached to this issue.