diff --git a/bin/frontend/controls/OrderProcess.js b/bin/frontend/controls/OrderProcess.js index 94f7963e678f75547ef6bb17a6808c1966d3bf18..5c24c032302499ab6d54e55d9caa4fff463fadef 100644 --- a/bin/frontend/controls/OrderProcess.js +++ b/bin/frontend/controls/OrderProcess.js @@ -1684,7 +1684,7 @@ define('package/quiqqer/order/bin/frontend/controls/OrderProcess', [ const products = basket.products; // if there are no products yet, merge without query - if (!products.length) { + if (!products || !products.length) { GlobalBasket.setAttribute('mergeLocalStorage', 1); GlobalBasket.load().then(function() { window.location.reload();