View Issue Details

IDProjectCategoryView StatusLast Update
0007645OXID eShop B2B EditionB2B edition - subpublic2025-04-30 15:36
Reportermario_lorenz Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status confirmedResolutionopen 
Product Version7.0.0 
Summary0007645: Non-identical methods variables for method convertToEshopBasketModel(...)
DescriptionThe convertToEshopBasketModel() method is provided in both the "b2bscheduledorders" module and the "b2bbasket" module as an extension of the userbasket model.

b2bscheduledorders =

public function convertToEshopBasketModel($blInitialize = false): EshopBasketModel

b2bbasket =

public function convertToEshopBasketModel(): EshopBasketModel

The missing parameter ensures that the shopping cart is not restored correctly when you log in. It remains empty.
Additional InformationThe convertToEshopBasketModel method was firstly provided in the OXID 7.0 branch in the b2bscheduledorders module. The extension is not yet available in the 6.5 branch.

https://github.com/OXID-eSales/b2b-scheduled-orders-module/commit/6df9dcca074ae0e85fad5fe0865485b9e9def394

The way I see it, the $blInitialize parameter is not relevant. It is only set as default in the method but is not changed in any method call. The variable is not “really” used either.
TagsProduct domain and basket rewrite