diff --git a/modules/blockcart/ajax-cart.js b/modules/blockcart/ajax-cart.js index 7737c3f39..4e84f3bf1 100644 --- a/modules/blockcart/ajax-cart.js +++ b/modules/blockcart/ajax-cart.js @@ -25,7 +25,7 @@ */ // Retrocompatibility with 1.4 -if (typeof baseUri === "undefined") +if (typeof baseUri === "undefined" && typeof baseDir !== "undefined") baseUri = baseDir; //JS Object : update the cart by ajax actions