// Use JsShopContext to dynamically override the config
const config = {
   moduleCart: true,
   moduleUser: true,
   moduleFavorites: true,
   moduleCartbox: (window.wpj.jsShop.config && window.wpj.jsShop.config.moduleCartBox) ?? true, // can be dynamically set in jsShop.config.tpl
   moduleCoupons: true,
   moduleAlsoBought: true,
   moduleToasts: (window.wpj.jsShop.config && window.wpj.jsShop.config.moduleToasts) ?? false,
   toastProductName:
      (window.wpj.jsShop.config && window.wpj.jsShop.config.toastProductName) ?? false,
   disableCache: false,
   B2BPriceWithoutVat: true,
   B2BHiddenFreeShipping: false,
   B2BHiddenFooterBenefits: false,
   moduleTotalSavings: false,
   moduleTotalCharges: MODULES.COMPONENTS,
   moduleDeliveryDate: false,
   deliveryDateLocalePretty: false,
   moduleMobileAddedToCart:
      (window.wpj.jsShop.config && window.wpj.jsShop.config.moduleMobileAddedToCart) ?? true,
   moduleMobileAddedToCartDelay: MODULES.COMPONENTS, // delay mobileAdded popup until the product is successfully added
   domainRedirectToast: false,
   renderCountryIcon: false, // Rendering country icon & name with jsShop
   moduleJsMenu: false,
   moduleSellers: false,
   moduleMySeller: false,
   showUserName: true,
   showProductAvailability: false,
   moduleAutocomplete: false,
   cartItemFloorDiscount: false,
   cartBoxPoints: false,
   cartDetailRefresh: MODULES.COMPONENTS, // refresh jsshop after some action at cart detail page
   B2BOpenCart: false,
   autocompleteResponsiveBreakpoint: 768,
   autocompleteParentSelector: '.c-header-search',
   autocompleteProductsType: 'list', // list / cell
   autocompleteProductsTitle: false,
   autocompleteProductsCount: 8,
   autocompleteSectionsCount: 6,
   autocompleteProducersCount: 6,
   autocompletePagesCount: 3,
   autocompleteArticlesCount: 3,
   autocompleteArticlePhoto: false,
   sellerNameWithoutCity: false,
};

// moduleCompare (CompareProducts): aktivace přes config.php SUB_JS_SHOP_PRODUCTS_COMPARE

export default config;
