[{"data":1,"prerenderedAt":2329},["ShallowReactive",2],{"sidebar-roots":3,"content-query-n0mu8RM0LW":540,"content-query-GNSDmiNp9T":574,"$88NaDudkJM":2095,"qyzkpDqbjz":2254},[4,19,28,37,43,52,60,69,78,87,96,105,113,122,131,140,149,156,165,174,183,192,200,244,253,263,271,280,290,300,309,318,326,333,342,351,360,369,377,386,393,402,410,419,429,438,444,452,459,465,473,482,491,498,505,511,518,525,534],{"_path":5,"_dir":6,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":9,"_id":12,"_type":13,"title":14,"_source":15,"_file":16,"_stem":17,"_extension":18},"/_dir","",false,true,{"title":10,"icon":11},"Home","ri:home-2-fill","base:_dir.yml","yaml","Dir","base","_dir.yml","_dir","yml",{"_path":20,"_dir":21,"_draft":7,"_partial":8,"_locale":6,"title":22,"sidebarRoot":8,"navigation":23,"_id":25,"_type":13,"_source":15,"_file":26,"_stem":27,"_extension":18},"/general/_dir","general","Getting Started",{"icon":24},"ri:book-2-fill","base:2.general:_dir.yml","2.general/_dir.yml","2.general/_dir",{"_path":29,"_dir":30,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"title":31,"navigation":32,"_id":34,"_type":13,"_source":30,"_file":35,"_stem":36,"_extension":18},"/cloud/_dir","cloud","Cloud",{"icon":33},"material-symbols:cloud","cloud:cloud:_dir.yml","cloud/_dir.yml","cloud/_dir",{"_path":38,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"callout":8,"_id":40,"_type":13,"title":14,"_source":30,"_file":41,"_stem":42,"_extension":18},"/cloud/v1/_dir","v1","cloud:cloud:6.v1:_dir.yml","cloud/6.v1/_dir.yml","cloud/6.v1/_dir",{"_path":44,"_dir":45,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"title":46,"navigation":47,"_id":49,"_type":13,"_source":45,"_file":50,"_stem":51,"_extension":18},"/console/_dir","console","Console (Cloud management)",{"icon":48},"material-symbols:frame-inspect","console:console:_dir.yml","console/_dir.yml","console/_dir",{"_path":53,"_dir":54,"_draft":7,"_partial":8,"_locale":6,"title":55,"navigation":56,"sidebarRoot":8,"_id":57,"_type":13,"_source":15,"_file":58,"_stem":59,"_extension":18},"/cookbook/_dir","cookbook","Cookbooks",{"icon":24},"base:cookbook:_dir.yml","cookbook/_dir.yml","cookbook/_dir",{"_path":61,"_dir":62,"_draft":7,"_partial":8,"_locale":6,"title":63,"sidebarRoot":8,"navigation":64,"_id":66,"_type":13,"_source":15,"_file":67,"_stem":68,"_extension":18},"/guides/_dir","guides","Guides",{"icon":65},"ri:code-s-slash-fill","base:guides:_dir.yml","guides/_dir.yml","guides/_dir",{"_path":70,"_dir":71,"_draft":7,"_partial":8,"_locale":6,"title":72,"sidebarRoot":8,"navigation":73,"_id":75,"_type":13,"_source":15,"_file":76,"_stem":77,"_extension":18},"/guides/alokai-essentials/__2.vue-storefront-with-nuxt/_dir","__2.vue-storefront-with-nuxt","Alokai with Nuxt",{"icon":74},"skill-icons:nuxtjs-dark","base:guides:2.alokai-essentials:__2.vue-storefront-with-nuxt:_dir.yml","guides/2.alokai-essentials/__2.vue-storefront-with-nuxt/_dir.yml","guides/2.alokai-essentials/__2.vue-storefront-with-nuxt/_dir",{"_path":79,"_dir":80,"_draft":7,"_partial":8,"_locale":6,"title":81,"sidebarRoot":8,"navigation":82,"_id":84,"_type":13,"_source":15,"_file":85,"_stem":86,"_extension":18},"/guides/alokai-essentials/_dir","alokai-essentials","Alokai Essentials",{"icon":83},"tabler:123","base:guides:2.alokai-essentials:_dir.yml","guides/2.alokai-essentials/_dir.yml","guides/2.alokai-essentials/_dir",{"_path":88,"_dir":89,"_draft":7,"_partial":8,"_locale":6,"title":90,"sidebarRoot":8,"navigation":91,"_id":93,"_type":13,"_source":15,"_file":94,"_stem":95,"_extension":18},"/guides/alokai-essentials/alokai-next-js/_dir","alokai-next-js","Alokai with Next.js",{"icon":92},"tabler:brand-nextjs","base:guides:2.alokai-essentials:1.alokai-next-js:_dir.yml","guides/2.alokai-essentials/1.alokai-next-js/_dir.yml","guides/2.alokai-essentials/1.alokai-next-js/_dir",{"_path":97,"_dir":98,"_draft":7,"_partial":8,"_locale":6,"title":99,"sidebarRoot":8,"navigation":100,"_id":102,"_type":13,"_source":15,"_file":103,"_stem":104,"_extension":18},"/guides/alokai-essentials/alokai-react-native/_dir","alokai-react-native","Alokai with React Native",{"icon":101},"tabler:brand-react-native","base:guides:2.alokai-essentials:2.alokai-react-native:_dir.yml","guides/2.alokai-essentials/2.alokai-react-native/_dir.yml","guides/2.alokai-essentials/2.alokai-react-native/_dir",{"_path":106,"_dir":107,"_draft":7,"_partial":8,"_locale":6,"title":72,"sidebarRoot":8,"navigation":108,"_id":110,"_type":13,"_source":15,"_file":111,"_stem":112,"_extension":18},"/guides/alokai-essentials/alokai-nuxt/_dir","alokai-nuxt",{"icon":109},"tabler:brand-nuxt","base:guides:2.alokai-essentials:3.alokai-nuxt:_dir.yml","guides/2.alokai-essentials/3.alokai-nuxt/_dir.yml","guides/2.alokai-essentials/3.alokai-nuxt/_dir",{"_path":114,"_dir":115,"_draft":7,"_partial":8,"_locale":6,"title":116,"sidebarRoot":8,"navigation":117,"_id":119,"_type":13,"_source":15,"_file":120,"_stem":121,"_extension":18},"/guides/customization/_dir","customization","Alokai Customization",{"icon":118},"tabler:tool","base:guides:4.customization:_dir.yml","guides/4.customization/_dir.yml","guides/4.customization/_dir",{"_path":123,"_dir":124,"_draft":7,"_partial":8,"_locale":6,"title":125,"sidebarRoot":8,"navigation":126,"_id":128,"_type":13,"_source":15,"_file":129,"_stem":130,"_extension":18},"/guides/customization/app-router/_dir","app-router","Next.js app router",{"icon":127},"tabler:cube","base:guides:4.customization:2.app-router:_dir.yml","guides/4.customization/2.app-router/_dir.yml","guides/4.customization/2.app-router/_dir",{"_path":132,"_dir":133,"_draft":7,"_partial":8,"_locale":6,"title":134,"sidebarRoot":8,"navigation":135,"_id":137,"_type":13,"_source":15,"_file":138,"_stem":139,"_extension":18},"/guides/kubernetes-probe/_dir","kubernetes-probe","Kubernetes Probes",{"icon":136},"tabler:heart-rate-monitor","base:guides:5.kubernetes-probe:_dir.yml","guides/5.kubernetes-probe/_dir.yml","guides/5.kubernetes-probe/_dir",{"_path":141,"_dir":142,"_draft":7,"_partial":8,"_locale":6,"title":143,"sidebarRoot":8,"navigation":144,"_id":146,"_type":13,"_source":15,"_file":147,"_stem":148,"_extension":18},"/guides/best-practices/_dir","best-practices","Best Practices",{"icon":145},"tabler:rosette-discount-check","base:guides:6.best-practices:_dir.yml","guides/6.best-practices/_dir.yml","guides/6.best-practices/_dir",{"_path":150,"_dir":151,"_draft":7,"_partial":8,"_locale":6,"title":152,"sidebarRoot":8,"_id":153,"_type":13,"_source":15,"_file":154,"_stem":155,"_extension":18},"/guides/best-practices/performance/_dir","performance","Performance","base:guides:6.best-practices:3.performance:_dir.yml","guides/6.best-practices/3.performance/_dir.yml","guides/6.best-practices/3.performance/_dir",{"_path":157,"_dir":158,"_draft":7,"_partial":8,"_locale":6,"title":159,"sidebarRoot":8,"navigation":160,"_id":162,"_type":13,"_source":15,"_file":163,"_stem":164,"_extension":18},"/guides/multistore/_dir","multistore","Multistore",{"icon":161},"tabler:box-multiple-filled","base:guides:7.multistore:_dir.yml","guides/7.multistore/_dir.yml","guides/7.multistore/_dir",{"_path":166,"_dir":167,"_draft":7,"_partial":8,"_locale":6,"title":168,"sidebarRoot":8,"navigation":169,"_id":171,"_type":13,"_source":15,"_file":172,"_stem":173,"_extension":18},"/guides/multistore/introduction/_dir","introduction","Introduction",{"icon":170},"tabler:align-box-center-middle","base:guides:7.multistore:1.introduction:_dir.yml","guides/7.multistore/1.introduction/_dir.yml","guides/7.multistore/1.introduction/_dir",{"_path":175,"_dir":176,"_draft":7,"_partial":8,"_locale":6,"title":177,"sidebarRoot":8,"navigation":178,"_id":180,"_type":13,"_source":15,"_file":181,"_stem":182,"_extension":18},"/guides/multistore/tooling-and-concepts/_dir","tooling-and-concepts","Tooling and concepts",{"icon":179},"tabler:tools","base:guides:7.multistore:2.tooling-and-concepts:_dir.yml","guides/7.multistore/2.tooling-and-concepts/_dir.yml","guides/7.multistore/2.tooling-and-concepts/_dir",{"_path":184,"_dir":185,"_draft":7,"_partial":8,"_locale":6,"title":186,"sidebarRoot":8,"navigation":187,"_id":189,"_type":13,"_source":15,"_file":190,"_stem":191,"_extension":18},"/guides/multistore/patterns/_dir","patterns","Patterns",{"icon":188},"tabler:layout-grid","base:guides:7.multistore:3.patterns:_dir.yml","guides/7.multistore/3.patterns/_dir.yml","guides/7.multistore/3.patterns/_dir",{"_path":193,"_dir":194,"_draft":7,"_partial":8,"_locale":6,"title":195,"sidebarRoot":8,"navigation":196,"_id":197,"_type":13,"_source":15,"_file":198,"_stem":199,"_extension":18},"/guides/troubleshooting/_dir","troubleshooting","Troubleshooting",{"icon":179},"base:guides:8.troubleshooting:_dir.yml","guides/8.troubleshooting/_dir.yml","guides/8.troubleshooting/_dir",{"_path":201,"_dir":62,"_draft":7,"_partial":7,"_locale":6,"title":6,"description":202,"layout":203,"sidebarRoot":8,"body":204,"_type":238,"_id":239,"_source":15,"_file":240,"_stem":241,"_extension":242,"sitemap":243},"/guides/troubleshooting","On this page you'll find a set of guides that will help you to resolve common issues that may occur when working with Alokai.","default",{"type":205,"children":206,"toc":234},"root",[207,214,219],{"type":208,"tag":209,"props":210,"children":211},"element","h1",{"id":194},[212],{"type":213,"value":195},"text",{"type":208,"tag":215,"props":216,"children":217},"p",{},[218],{"type":213,"value":202},{"type":208,"tag":220,"props":221,"children":224},"card",{"icon":170,"title":222,"to":223},"Inspecting network requests","/guides/troubleshooting/inspecting-network-requests",[225],{"type":208,"tag":226,"props":227,"children":228},"template",{"v-slot:description":6},[229],{"type":208,"tag":215,"props":230,"children":231},{},[232],{"type":213,"value":233},"Learn how to inspect network requests sent from the client (browser) to Server Middleware and from the Server Middleware to external services.",{"title":6,"searchDepth":235,"depth":236,"links":237},5,2,[],"markdown","base:guides:8.troubleshooting:index.md","guides/8.troubleshooting/index.md","guides/8.troubleshooting/index","md",{"loc":201},{"_path":245,"_dir":246,"_draft":7,"_partial":8,"_locale":6,"title":247,"sidebarRoot":8,"navigation":248,"_id":250,"_type":13,"_source":246,"_file":251,"_stem":252,"_extension":18},"/integrations/_dir","integrations","Integrations",{"icon":249},"fluent:puzzle-cube-piece-20-filled","integrations:integrations:_dir.yml","integrations/_dir.yml","integrations/_dir",{"_path":254,"_dir":255,"_draft":7,"_partial":8,"_locale":6,"navigation":256,"sidebarRoot":8,"_id":259,"_type":13,"title":14,"_source":260,"_file":261,"_stem":262,"_extension":18},"/integrations/adyen-sfcc/_dir","adyen-sfcc",{"title":257,"icon":258},"Adyen Integration for SFCC","ri:terminal-box-fill","adyenSfcc:integrations:adyen-sfcc:_dir.yml","adyenSfcc","integrations/adyen-sfcc/_dir.yml","integrations/adyen-sfcc/_dir",{"_path":264,"_dir":265,"_draft":7,"_partial":8,"_locale":6,"navigation":266,"sidebarRoot":8,"_id":268,"_type":13,"title":14,"_source":265,"_file":269,"_stem":270,"_extension":18},"/integrations/adyen/_dir","adyen",{"title":267,"icon":258},"Adyen Integration","adyen:integrations:adyen:_dir.yml","integrations/adyen/_dir.yml","integrations/adyen/_dir",{"_path":272,"_dir":273,"_draft":7,"_partial":8,"_locale":6,"navigation":274,"sidebarRoot":8,"_id":277,"_type":13,"title":14,"_source":273,"_file":278,"_stem":279,"_extension":18},"/integrations/amplience/_dir","amplience",{"title":275,"icon":276},"Amplience","IconAmplience","amplience:integrations:amplience:_dir.yml","integrations/amplience/_dir.yml","integrations/amplience/_dir",{"_path":281,"_dir":282,"_draft":7,"_partial":8,"_locale":6,"navigation":283,"sidebarRoot":8,"iconClass":286,"_id":287,"_type":13,"title":14,"_source":282,"_file":288,"_stem":289,"_extension":18},"/integrations/bigcommerce/_dir","bigcommerce",{"title":284,"icon":285},"BigCommerce","simple-icons:bigcommerce","text-black dark:text-white","bigcommerce:integrations:bigcommerce:_dir.yml","integrations/bigcommerce/_dir.yml","integrations/bigcommerce/_dir",{"_path":291,"_dir":292,"_draft":7,"_partial":8,"_locale":6,"navigation":293,"sidebarRoot":8,"_id":296,"_type":13,"title":14,"_source":297,"_file":298,"_stem":299,"_extension":18},"/integrations/bloomreach-content/_dir","bloomreach-content",{"title":294,"icon":295},"Bloomreach Content","IconBloomreach","bloomreachContent:integrations:bloomreach-content:_dir.yml","bloomreachContent","integrations/bloomreach-content/_dir.yml","integrations/bloomreach-content/_dir",{"_path":301,"_dir":302,"_draft":7,"_partial":8,"_locale":6,"navigation":303,"sidebarRoot":8,"_id":305,"_type":13,"title":14,"_source":306,"_file":307,"_stem":308,"_extension":18},"/integrations/bloomreach-search/_dir","bloomreach-search",{"title":304,"icon":295},"Bloomreach Discovery","bloomreachSearch:integrations:bloomreach-search:_dir.yml","bloomreachSearch","integrations/bloomreach-search/_dir.yml","integrations/bloomreach-search/_dir",{"_path":310,"_dir":311,"_draft":7,"_partial":8,"_locale":6,"navigation":312,"sidebarRoot":8,"_id":315,"_type":13,"title":14,"_source":311,"_file":316,"_stem":317,"_extension":18},"/integrations/builder/_dir","builder",{"title":313,"icon":314},"Builder.io","logos:builder-io-icon","builder:integrations:builder:_dir.yml","integrations/builder/_dir.yml","integrations/builder/_dir",{"_path":319,"_dir":320,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":321,"title":320,"_id":323,"_type":13,"_source":320,"_file":324,"_stem":325,"_extension":18},"/integrations/commercetools/_dir","commercetools",{"icon":322},"IconCommercetools","commercetools:integrations:commercetools:_dir.yml","integrations/commercetools/_dir.yml","integrations/commercetools/_dir",{"_path":327,"_dir":328,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":329,"title":320,"_id":330,"_type":13,"_source":320,"_file":331,"_stem":332,"_extension":18},"/integrations/commercetools/v2/_dir","v2",{"icon":322},"commercetools:integrations:commercetools:v2:_dir.yml","integrations/commercetools/v2/_dir.yml","integrations/commercetools/v2/_dir",{"_path":334,"_dir":335,"_draft":7,"_partial":8,"_locale":6,"navigation":336,"sidebarRoot":8,"_id":339,"_type":13,"title":14,"_source":335,"_file":340,"_stem":341,"_extension":18},"/integrations/contentful/_dir","contentful",{"title":337,"icon":338},"Contentful","logos:contentful","contentful:integrations:contentful:_dir.yml","integrations/contentful/_dir.yml","integrations/contentful/_dir",{"_path":343,"_dir":344,"_draft":7,"_partial":8,"_locale":6,"navigation":345,"sidebarRoot":8,"_id":348,"_type":13,"title":14,"_source":344,"_file":349,"_stem":350,"_extension":18},"/integrations/contentstack/_dir","contentstack",{"title":346,"icon":347},"Contentstack","IconContentstack","contentstack:integrations:contentstack:_dir.yml","integrations/contentstack/_dir.yml","integrations/contentstack/_dir",{"_path":352,"_dir":353,"_draft":7,"_partial":8,"_locale":6,"navigation":354,"sidebarRoot":8,"_id":357,"_type":13,"title":14,"_source":353,"_file":358,"_stem":359,"_extension":18},"/integrations/magento/_dir","magento",{"title":355,"icon":356},"Magento","logos:magento","magento:integrations:magento:_dir.yml","integrations/magento/_dir.yml","integrations/magento/_dir",{"_path":361,"_dir":362,"_draft":7,"_partial":8,"_locale":6,"sidebarRoot":8,"navigation":363,"_id":366,"_type":13,"title":14,"_source":362,"_file":367,"_stem":368,"_extension":18},"/integrations/odoo/_dir","odoo",{"title":364,"icon":365},"Odoo","IconOdoo","odoo:integrations:odoo:_dir.yml","integrations/odoo/_dir.yml","integrations/odoo/_dir",{"_path":370,"_dir":371,"_draft":7,"_partial":8,"_locale":6,"navigation":372,"sidebarRoot":8,"_id":374,"_type":13,"title":14,"_source":371,"_file":375,"_stem":376,"_extension":18},"/integrations/redis/_dir","redis",{"title":373,"icon":258},"Redis","redis:integrations:redis:_dir.yml","integrations/redis/_dir.yml","integrations/redis/_dir",{"_path":378,"_dir":379,"_draft":7,"_partial":8,"_locale":6,"navigation":380,"sidebarRoot":8,"_id":383,"_type":13,"title":14,"_source":379,"_file":384,"_stem":385,"_extension":18},"/integrations/sapcc/_dir","sapcc",{"title":381,"icon":382},"SAP Commerce Cloud","IconSAP","sapcc:integrations:sapcc:_dir.yml","integrations/sapcc/_dir.yml","integrations/sapcc/_dir",{"_path":387,"_dir":388,"_draft":7,"_partial":8,"_locale":6,"navigation":389,"sidebarRoot":8,"_id":390,"_type":13,"title":14,"_source":379,"_file":391,"_stem":392,"_extension":18},"/integrations/sapcc/v7/_dir","v7",{"title":381,"icon":382},"sapcc:integrations:sapcc:v7:_dir.yml","integrations/sapcc/v7/_dir.yml","integrations/sapcc/v7/_dir",{"_path":394,"_dir":395,"_draft":7,"_partial":8,"_locale":6,"navigation":396,"sidebarRoot":8,"_id":399,"_type":13,"title":14,"_source":395,"_file":400,"_stem":401,"_extension":18},"/integrations/sfcc/_dir","sfcc",{"title":397,"icon":398},"Salesforce Commerce Cloud","logos:salesforce","sfcc:integrations:sfcc:_dir.yml","integrations/sfcc/_dir.yml","integrations/sfcc/_dir",{"_path":403,"_dir":404,"_draft":7,"_partial":8,"_locale":6,"navigation":405,"sidebarRoot":8,"_id":407,"_type":13,"title":14,"_source":404,"_file":408,"_stem":409,"_extension":18},"/integrations/smartedit/_dir","smartedit",{"title":406,"icon":382},"SmartEdit","smartedit:integrations:smartedit:_dir.yml","integrations/smartedit/_dir.yml","integrations/smartedit/_dir",{"_path":411,"_dir":412,"_draft":7,"_partial":8,"_locale":6,"navigation":413,"sidebarRoot":8,"_id":416,"_type":13,"title":14,"_source":412,"_file":417,"_stem":418,"_extension":18},"/integrations/storyblok/_dir","storyblok",{"title":414,"icon":415},"Storyblok","logos:storyblok-icon","storyblok:integrations:storyblok:_dir.yml","integrations/storyblok/_dir.yml","integrations/storyblok/_dir",{"_path":420,"_dir":421,"_draft":7,"_partial":8,"_locale":6,"navigation":422,"sidebarRoot":8,"_id":425,"_type":13,"title":14,"_source":426,"_file":427,"_stem":428,"_extension":18},"/integrations/stripe-commercetools/_dir","stripe-commercetools",{"title":423,"icon":424},"Stripe + commercetools","logos:stripe","stripeCt:integrations:stripe-commercetools:_dir.yml","stripeCt","integrations/stripe-commercetools/_dir.yml","integrations/stripe-commercetools/_dir",{"_path":430,"_dir":431,"_draft":7,"_partial":8,"_locale":6,"title":432,"sidebarRoot":8,"navigation":433,"_id":435,"_type":13,"_source":431,"_file":436,"_stem":437,"_extension":18},"/middleware/_dir","middleware","Middleware",{"icon":434},"fa6-solid:layer-group","middleware:middleware:_dir.yml","middleware/_dir.yml","middleware/_dir",{"_path":439,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"title":432,"sidebarRoot":8,"navigation":440,"_id":441,"_type":13,"_source":431,"_file":442,"_stem":443,"_extension":18},"/middleware/v1/_dir",{"icon":434},"middleware:middleware:v1:_dir.yml","middleware/v1/_dir.yml","middleware/v1/_dir",{"_path":445,"_dir":446,"_draft":7,"_partial":8,"_locale":6,"navigation":447,"sidebarRoot":8,"_id":449,"_type":13,"title":14,"_source":446,"_file":450,"_stem":451,"_extension":18},"/sdk/_dir","sdk",{"title":448,"icon":258},"SDK","sdk:sdk:_dir.yml","sdk/_dir.yml","sdk/_dir",{"_path":453,"_dir":454,"_draft":7,"_partial":8,"_locale":6,"navigation":455,"sidebarRoot":8,"_id":456,"_type":13,"title":14,"_source":446,"_file":457,"_stem":458,"_extension":18},"/sdk/legacy/_dir","legacy",{"title":448,"icon":258},"sdk:sdk:legacy:_dir.yml","sdk/legacy/_dir.yml","sdk/legacy/_dir",{"_path":460,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"navigation":461,"sidebarRoot":8,"_id":462,"_type":13,"title":14,"_source":446,"_file":463,"_stem":464,"_extension":18},"/sdk/v1/_dir",{"title":448,"icon":258},"sdk:sdk:v1:_dir.yml","sdk/v1/_dir.yml","sdk/v1/_dir",{"_path":466,"_dir":467,"_draft":7,"_partial":8,"_locale":6,"navigation":468,"sidebarRoot":8,"_id":470,"_type":13,"title":14,"_source":467,"_file":471,"_stem":472,"_extension":18},"/storefront/_dir","storefront",{"title":469,"icon":258},"Storefront","storefront:storefront:_dir.yml","storefront/_dir.yml","storefront/_dir",{"_path":474,"_dir":475,"_draft":7,"_partial":8,"_locale":6,"navigation":476,"sidebarRoot":8,"_id":479,"_type":13,"title":14,"_source":475,"_file":480,"_stem":481,"_extension":18},"/storefront/modules/_dir","modules",{"title":477,"icon":478},"Storefront Modules","ri:home-fill","modules:storefront:modules:_dir.yml","storefront/modules/_dir.yml","storefront/modules/_dir",{"_path":483,"_dir":484,"_draft":7,"_partial":8,"_locale":6,"navigation":485,"sidebarRoot":8,"_id":488,"_type":13,"title":14,"_source":475,"_file":489,"_stem":490,"_extension":18},"/storefront/modules/search-integrations/coveo/_dir","coveo",{"title":486,"icon":487},"Coveo","ri:user-search-fill","modules:storefront:modules:2.search-integrations:1.coveo:_dir.yml","storefront/modules/2.search-integrations/1.coveo/_dir.yml","storefront/modules/2.search-integrations/1.coveo/_dir",{"_path":492,"_dir":493,"_draft":7,"_partial":8,"_locale":6,"navigation":494,"sidebarRoot":8,"_id":495,"_type":13,"title":14,"_source":475,"_file":496,"_stem":497,"_extension":18},"/storefront/modules/search-integrations/bloomreach/_dir","bloomreach",{"title":304,"icon":487},"modules:storefront:modules:2.search-integrations:3.bloomreach:_dir.yml","storefront/modules/2.search-integrations/3.bloomreach/_dir.yml","storefront/modules/2.search-integrations/3.bloomreach/_dir",{"_path":499,"_dir":500,"_draft":7,"_partial":8,"_locale":6,"navigation":501,"sidebarRoot":8,"_id":502,"_type":13,"title":14,"_source":475,"_file":503,"_stem":504,"_extension":18},"/storefront/modules/v0/_dir","v0",{"title":477,"icon":478},"modules:storefront:modules:v0:_dir.yml","storefront/modules/v0/_dir.yml","storefront/modules/v0/_dir",{"_path":506,"_dir":484,"_draft":7,"_partial":8,"_locale":6,"navigation":507,"sidebarRoot":8,"_id":508,"_type":13,"title":14,"_source":475,"_file":509,"_stem":510,"_extension":18},"/storefront/modules/v0/search-integrations/coveo/_dir",{"title":486,"icon":487},"modules:storefront:modules:v0:2.search-integrations:1.coveo:_dir.yml","storefront/modules/v0/2.search-integrations/1.coveo/_dir.yml","storefront/modules/v0/2.search-integrations/1.coveo/_dir",{"_path":512,"_dir":513,"_draft":7,"_partial":8,"_locale":6,"navigation":514,"sidebarRoot":8,"_id":515,"_type":13,"title":14,"_source":467,"_file":516,"_stem":517,"_extension":18},"/storefront/v0.1/_dir","v0.1",{"title":469,"icon":258},"storefront:storefront:v0.1:_dir.yml","storefront/v0.1/_dir.yml","storefront/v0.1/_dir",{"_path":519,"_dir":520,"_draft":7,"_partial":8,"_locale":6,"navigation":521,"sidebarRoot":8,"_id":522,"_type":13,"title":14,"_source":467,"_file":523,"_stem":524,"_extension":18},"/storefront/v0.2/_dir","v0.2",{"title":469,"icon":258},"storefront:storefront:v0.2:_dir.yml","storefront/v0.2/_dir.yml","storefront/v0.2/_dir",{"_path":526,"_dir":527,"_draft":7,"_partial":8,"_locale":6,"navigation":528,"sidebarRoot":8,"_id":530,"_type":13,"title":14,"_source":531,"_file":532,"_stem":533,"_extension":18},"/unified-data-layer/_dir","unified-data-layer",{"title":529,"icon":258},"Unified Data Layer","unified:unified-data-layer:_dir.yml","unified","unified-data-layer/_dir.yml","unified-data-layer/_dir",{"_path":535,"_dir":39,"_draft":7,"_partial":8,"_locale":6,"navigation":536,"sidebarRoot":8,"_id":537,"_type":13,"title":14,"_source":531,"_file":538,"_stem":539,"_extension":18},"/unified-data-layer/v1/_dir",{"title":529,"icon":258},"unified:unified-data-layer:v1:_dir.yml","unified-data-layer/v1/_dir.yml","unified-data-layer/v1/_dir",{"_path":541,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":543,"description":544,"body":545,"_type":238,"_id":571,"_source":446,"_file":572,"_stem":573,"_extension":242,"layout":203},"/sdk/_partials/nextjs-state-management-installation","_partials","Nextjs State Management Installation","To use the State Manager within Next.js, you need to have the @vue-storefront/next package installed. This step is already done if you have followed the Getting Started. If not, you'll find installation instructions there.",{"type":205,"children":546,"toc":569},[547],{"type":208,"tag":215,"props":548,"children":549},{},[550,552,559,561,567],{"type":213,"value":551},"To use the State Manager within Next.js, you need to have the ",{"type":208,"tag":553,"props":554,"children":556},"code",{"className":555},[],[557],{"type":213,"value":558},"@vue-storefront/next",{"type":213,"value":560}," package installed. This step is already done if you have followed the ",{"type":208,"tag":562,"props":563,"children":565},"a",{"href":564},"/sdk/getting-started",[566],{"type":213,"value":22},{"type":213,"value":568},". If not, you'll find installation instructions there.",{"title":6,"searchDepth":235,"depth":236,"links":570},[],"sdk:sdk:_partials:nextjs-state-management-installation.md","sdk/_partials/nextjs-state-management-installation.md","sdk/_partials/nextjs-state-management-installation",{"_path":575,"_dir":542,"_draft":7,"_partial":8,"_locale":6,"title":576,"description":577,"body":578,"_type":238,"_id":2092,"_source":446,"_file":2093,"_stem":2094,"_extension":242,"layout":203},"/sdk/_partials/nextjs-state-management-usage","Nextjs State Management Usage","If you followed the Getting Started guide, your sdk/alokai-context.tsx already exports state hooks alongside AlokaiProvider and useSdk. These hooks are returned by createAlokaiContext and follow React's useState pattern — each returns a [value, setter] tuple.",{"type":205,"children":579,"toc":2086},[580,639,646,835,856,862,882,1162,1196,1202,1207,1554,1560,1565,2034,2080],{"type":208,"tag":215,"props":581,"children":582},{},[583,585,589,591,597,599,605,607,613,615,621,623,629,631,637],{"type":213,"value":584},"If you followed the ",{"type":208,"tag":562,"props":586,"children":587},{"href":564},[588],{"type":213,"value":22},{"type":213,"value":590}," guide, your ",{"type":208,"tag":553,"props":592,"children":594},{"className":593},[],[595],{"type":213,"value":596},"sdk/alokai-context.tsx",{"type":213,"value":598}," already exports state hooks alongside ",{"type":208,"tag":553,"props":600,"children":602},{"className":601},[],[603],{"type":213,"value":604},"AlokaiProvider",{"type":213,"value":606}," and ",{"type":208,"tag":553,"props":608,"children":610},{"className":609},[],[611],{"type":213,"value":612},"useSdk",{"type":213,"value":614},". These hooks are returned by ",{"type":208,"tag":553,"props":616,"children":618},{"className":617},[],[619],{"type":213,"value":620},"createAlokaiContext",{"type":213,"value":622}," and follow React's ",{"type":208,"tag":553,"props":624,"children":626},{"className":625},[],[627],{"type":213,"value":628},"useState",{"type":213,"value":630}," pattern — each returns a ",{"type":208,"tag":553,"props":632,"children":634},{"className":633},[],[635],{"type":213,"value":636},"[value, setter]",{"type":213,"value":638}," tuple.",{"type":208,"tag":640,"props":641,"children":643},"h3",{"id":642},"available-hooks",[644],{"type":213,"value":645},"Available hooks",{"type":208,"tag":647,"props":648,"children":649},"table",{},[650,674],{"type":208,"tag":651,"props":652,"children":653},"thead",{},[654],{"type":208,"tag":655,"props":656,"children":657},"tr",{},[658,664,669],{"type":208,"tag":659,"props":660,"children":661},"th",{},[662],{"type":213,"value":663},"Hook",{"type":208,"tag":659,"props":665,"children":666},{},[667],{"type":213,"value":668},"State",{"type":208,"tag":659,"props":670,"children":671},{},[672],{"type":213,"value":673},"Type",{"type":208,"tag":675,"props":676,"children":677},"tbody",{},[678,705,731,757,783,809],{"type":208,"tag":655,"props":679,"children":680},{},[681,691,696],{"type":208,"tag":682,"props":683,"children":684},"td",{},[685],{"type":208,"tag":553,"props":686,"children":688},{"className":687},[],[689],{"type":213,"value":690},"useSfCartState",{"type":208,"tag":682,"props":692,"children":693},{},[694],{"type":213,"value":695},"Current cart",{"type":208,"tag":682,"props":697,"children":698},{},[699],{"type":208,"tag":553,"props":700,"children":702},{"className":701},[],[703],{"type":213,"value":704},"SfCart | null",{"type":208,"tag":655,"props":706,"children":707},{},[708,717,722],{"type":208,"tag":682,"props":709,"children":710},{},[711],{"type":208,"tag":553,"props":712,"children":714},{"className":713},[],[715],{"type":213,"value":716},"useSfCustomerState",{"type":208,"tag":682,"props":718,"children":719},{},[720],{"type":213,"value":721},"Logged-in customer",{"type":208,"tag":682,"props":723,"children":724},{},[725],{"type":208,"tag":553,"props":726,"children":728},{"className":727},[],[729],{"type":213,"value":730},"SfCustomer | null",{"type":208,"tag":655,"props":732,"children":733},{},[734,743,748],{"type":208,"tag":682,"props":735,"children":736},{},[737],{"type":208,"tag":553,"props":738,"children":740},{"className":739},[],[741],{"type":213,"value":742},"useSfCurrencyState",{"type":208,"tag":682,"props":744,"children":745},{},[746],{"type":213,"value":747},"Selected currency",{"type":208,"tag":682,"props":749,"children":750},{},[751],{"type":208,"tag":553,"props":752,"children":754},{"className":753},[],[755],{"type":213,"value":756},"SfCurrency",{"type":208,"tag":655,"props":758,"children":759},{},[760,769,774],{"type":208,"tag":682,"props":761,"children":762},{},[763],{"type":208,"tag":553,"props":764,"children":766},{"className":765},[],[767],{"type":213,"value":768},"useSfCurrenciesState",{"type":208,"tag":682,"props":770,"children":771},{},[772],{"type":213,"value":773},"Available currencies",{"type":208,"tag":682,"props":775,"children":776},{},[777],{"type":208,"tag":553,"props":778,"children":780},{"className":779},[],[781],{"type":213,"value":782},"SfCurrency[]",{"type":208,"tag":655,"props":784,"children":785},{},[786,795,800],{"type":208,"tag":682,"props":787,"children":788},{},[789],{"type":208,"tag":553,"props":790,"children":792},{"className":791},[],[793],{"type":213,"value":794},"useSfLocaleState",{"type":208,"tag":682,"props":796,"children":797},{},[798],{"type":213,"value":799},"Selected locale",{"type":208,"tag":682,"props":801,"children":802},{},[803],{"type":208,"tag":553,"props":804,"children":806},{"className":805},[],[807],{"type":213,"value":808},"SfLocale",{"type":208,"tag":655,"props":810,"children":811},{},[812,821,826],{"type":208,"tag":682,"props":813,"children":814},{},[815],{"type":208,"tag":553,"props":816,"children":818},{"className":817},[],[819],{"type":213,"value":820},"useSfLocalesState",{"type":208,"tag":682,"props":822,"children":823},{},[824],{"type":213,"value":825},"Available locales",{"type":208,"tag":682,"props":827,"children":828},{},[829],{"type":208,"tag":553,"props":830,"children":832},{"className":831},[],[833],{"type":213,"value":834},"SfLocale[]",{"type":208,"tag":215,"props":836,"children":837},{},[838,840,846,848,854],{"type":213,"value":839},"The types come from the ",{"type":208,"tag":553,"props":841,"children":843},{"className":842},[],[844],{"type":213,"value":845},"SfContract",{"type":213,"value":847}," generic you pass to ",{"type":208,"tag":553,"props":849,"children":851},{"className":850},[],[852],{"type":213,"value":853},"createAlokaiContext\u003CSdk, SfContract>()",{"type":213,"value":855},". This contract tells the state hooks which types your middleware uses for cart, customer, currency, and locale. Since those types can be customized in your middleware, the contract keeps everything in sync.",{"type":208,"tag":640,"props":857,"children":859},{"id":858},"initial-data",[860],{"type":213,"value":861},"Initial data",{"type":208,"tag":215,"props":863,"children":864},{},[865,867,872,874,880],{"type":213,"value":866},"The ",{"type":208,"tag":553,"props":868,"children":870},{"className":869},[],[871],{"type":213,"value":604},{"type":213,"value":873}," accepts an ",{"type":208,"tag":553,"props":875,"children":877},{"className":876},[],[878],{"type":213,"value":879},"initialData",{"type":213,"value":881}," prop to hydrate state on the first render. This avoids a flash of empty state during SSR. Pass currencies, currency, locale, and locales:",{"type":208,"tag":883,"props":884,"children":889},"pre",{"className":885,"code":886,"filename":887,"language":888,"meta":6,"style":6},"language-tsx shiki shiki-themes one-dark-pro","\u003CAlokaiProvider\n  initialData={{\n    currencies: [\"USD\", \"EUR\"],\n    currency: \"USD\",\n    locale: \"en\",\n    locales: [\"en\", \"de\"],\n  }}\n  sdk={getSdk({ getLocale: () => locale })}\n>\n  {children}\n\u003C/AlokaiProvider>\n","components/providers.tsx","tsx",[890],{"type":208,"tag":553,"props":891,"children":892},{"__ignoreMap":6},[893,911,937,973,996,1017,1047,1061,1118,1127,1145],{"type":208,"tag":894,"props":895,"children":898},"span",{"class":896,"line":897},"line",1,[899,905],{"type":208,"tag":894,"props":900,"children":902},{"style":901},"--shiki-default:#ABB2BF",[903],{"type":213,"value":904},"\u003C",{"type":208,"tag":894,"props":906,"children":908},{"style":907},"--shiki-default:#E5C07B",[909],{"type":213,"value":910},"AlokaiProvider\n",{"type":208,"tag":894,"props":912,"children":913},{"class":896,"line":236},[914,920,926,932],{"type":208,"tag":894,"props":915,"children":917},{"style":916},"--shiki-default:#D19A66;--shiki-default-font-style:italic",[918],{"type":213,"value":919},"  initialData",{"type":208,"tag":894,"props":921,"children":923},{"style":922},"--shiki-default:#56B6C2",[924],{"type":213,"value":925},"=",{"type":208,"tag":894,"props":927,"children":929},{"style":928},"--shiki-default:#C678DD",[930],{"type":213,"value":931},"{",{"type":208,"tag":894,"props":933,"children":934},{"style":901},[935],{"type":213,"value":936},"{\n",{"type":208,"tag":894,"props":938,"children":940},{"class":896,"line":939},3,[941,947,952,958,963,968],{"type":208,"tag":894,"props":942,"children":944},{"style":943},"--shiki-default:#E06C75",[945],{"type":213,"value":946},"    currencies",{"type":208,"tag":894,"props":948,"children":949},{"style":901},[950],{"type":213,"value":951},": [",{"type":208,"tag":894,"props":953,"children":955},{"style":954},"--shiki-default:#98C379",[956],{"type":213,"value":957},"\"USD\"",{"type":208,"tag":894,"props":959,"children":960},{"style":901},[961],{"type":213,"value":962},", ",{"type":208,"tag":894,"props":964,"children":965},{"style":954},[966],{"type":213,"value":967},"\"EUR\"",{"type":208,"tag":894,"props":969,"children":970},{"style":901},[971],{"type":213,"value":972},"],\n",{"type":208,"tag":894,"props":974,"children":976},{"class":896,"line":975},4,[977,982,987,991],{"type":208,"tag":894,"props":978,"children":979},{"style":943},[980],{"type":213,"value":981},"    currency",{"type":208,"tag":894,"props":983,"children":984},{"style":901},[985],{"type":213,"value":986},": ",{"type":208,"tag":894,"props":988,"children":989},{"style":954},[990],{"type":213,"value":957},{"type":208,"tag":894,"props":992,"children":993},{"style":901},[994],{"type":213,"value":995},",\n",{"type":208,"tag":894,"props":997,"children":998},{"class":896,"line":235},[999,1004,1008,1013],{"type":208,"tag":894,"props":1000,"children":1001},{"style":943},[1002],{"type":213,"value":1003},"    locale",{"type":208,"tag":894,"props":1005,"children":1006},{"style":901},[1007],{"type":213,"value":986},{"type":208,"tag":894,"props":1009,"children":1010},{"style":954},[1011],{"type":213,"value":1012},"\"en\"",{"type":208,"tag":894,"props":1014,"children":1015},{"style":901},[1016],{"type":213,"value":995},{"type":208,"tag":894,"props":1018,"children":1020},{"class":896,"line":1019},6,[1021,1026,1030,1034,1038,1043],{"type":208,"tag":894,"props":1022,"children":1023},{"style":943},[1024],{"type":213,"value":1025},"    locales",{"type":208,"tag":894,"props":1027,"children":1028},{"style":901},[1029],{"type":213,"value":951},{"type":208,"tag":894,"props":1031,"children":1032},{"style":954},[1033],{"type":213,"value":1012},{"type":208,"tag":894,"props":1035,"children":1036},{"style":901},[1037],{"type":213,"value":962},{"type":208,"tag":894,"props":1039,"children":1040},{"style":954},[1041],{"type":213,"value":1042},"\"de\"",{"type":208,"tag":894,"props":1044,"children":1045},{"style":901},[1046],{"type":213,"value":972},{"type":208,"tag":894,"props":1048,"children":1050},{"class":896,"line":1049},7,[1051,1056],{"type":208,"tag":894,"props":1052,"children":1053},{"style":901},[1054],{"type":213,"value":1055},"  }",{"type":208,"tag":894,"props":1057,"children":1058},{"style":928},[1059],{"type":213,"value":1060},"}\n",{"type":208,"tag":894,"props":1062,"children":1064},{"class":896,"line":1063},8,[1065,1070,1074,1078,1084,1089,1094,1099,1104,1109,1114],{"type":208,"tag":894,"props":1066,"children":1067},{"style":916},[1068],{"type":213,"value":1069},"  sdk",{"type":208,"tag":894,"props":1071,"children":1072},{"style":922},[1073],{"type":213,"value":925},{"type":208,"tag":894,"props":1075,"children":1076},{"style":928},[1077],{"type":213,"value":931},{"type":208,"tag":894,"props":1079,"children":1081},{"style":1080},"--shiki-default:#61AFEF",[1082],{"type":213,"value":1083},"getSdk",{"type":208,"tag":894,"props":1085,"children":1086},{"style":901},[1087],{"type":213,"value":1088},"({ ",{"type":208,"tag":894,"props":1090,"children":1091},{"style":1080},[1092],{"type":213,"value":1093},"getLocale",{"type":208,"tag":894,"props":1095,"children":1096},{"style":901},[1097],{"type":213,"value":1098},": () ",{"type":208,"tag":894,"props":1100,"children":1101},{"style":928},[1102],{"type":213,"value":1103},"=>",{"type":208,"tag":894,"props":1105,"children":1106},{"style":943},[1107],{"type":213,"value":1108}," locale",{"type":208,"tag":894,"props":1110,"children":1111},{"style":901},[1112],{"type":213,"value":1113}," })",{"type":208,"tag":894,"props":1115,"children":1116},{"style":928},[1117],{"type":213,"value":1060},{"type":208,"tag":894,"props":1119,"children":1121},{"class":896,"line":1120},9,[1122],{"type":208,"tag":894,"props":1123,"children":1124},{"style":901},[1125],{"type":213,"value":1126},">\n",{"type":208,"tag":894,"props":1128,"children":1130},{"class":896,"line":1129},10,[1131,1136,1141],{"type":208,"tag":894,"props":1132,"children":1133},{"style":928},[1134],{"type":213,"value":1135},"  {",{"type":208,"tag":894,"props":1137,"children":1138},{"style":943},[1139],{"type":213,"value":1140},"children",{"type":208,"tag":894,"props":1142,"children":1143},{"style":928},[1144],{"type":213,"value":1060},{"type":208,"tag":894,"props":1146,"children":1148},{"class":896,"line":1147},11,[1149,1154,1158],{"type":208,"tag":894,"props":1150,"children":1151},{"style":901},[1152],{"type":213,"value":1153},"\u003C/",{"type":208,"tag":894,"props":1155,"children":1156},{"style":907},[1157],{"type":213,"value":604},{"type":208,"tag":894,"props":1159,"children":1160},{"style":901},[1161],{"type":213,"value":1126},{"type":208,"tag":1163,"props":1164,"children":1165},"tip",{},[1166,1169],{"type":208,"tag":226,"props":1167,"children":1168},{"v-slot:title":6},[],{"type":208,"tag":215,"props":1170,"children":1171},{},[1172,1174,1180,1182,1188,1190,1194],{"type":213,"value":1173},"In the Alokai Storefront, this data is fetched on the server in ",{"type":208,"tag":553,"props":1175,"children":1177},{"className":1176},[],[1178],{"type":213,"value":1179},"app/[locale]/layout.tsx",{"type":213,"value":1181}," and passed down to the client ",{"type":208,"tag":553,"props":1183,"children":1185},{"className":1184},[],[1186],{"type":213,"value":1187},"Providers",{"type":213,"value":1189}," component as props. See the ",{"type":208,"tag":562,"props":1191,"children":1192},{"href":564},[1193],{"type":213,"value":22},{"type":213,"value":1195}," guide for the full setup.",{"type":208,"tag":640,"props":1197,"children":1199},{"id":1198},"reading-state",[1200],{"type":213,"value":1201},"Reading state",{"type":208,"tag":215,"props":1203,"children":1204},{},[1205],{"type":213,"value":1206},"Use the hooks in any client component to read global state. You only need the value (first element of the tuple):",{"type":208,"tag":883,"props":1208,"children":1210},{"className":885,"code":1209,"language":888,"meta":6,"style":6},"\"use client\";\n\nimport { useSfCartState, useSfCurrencyState } from \"@/sdk/alokai-context\";\n\nexport function CartSummary() {\n  const [cart] = useSfCartState();\n  const [currency] = useSfCurrencyState();\n\n  return (\n    \u003Cdiv>\n      \u003Cp>Items in cart: {cart?.totalItems ?? 0}\u003C/p>\n      \u003Cp>Currency: {currency}\u003C/p>\n    \u003C/div>\n  );\n}\n",[1211],{"type":208,"tag":553,"props":1212,"children":1213},{"__ignoreMap":6},[1214,1227,1235,1279,1286,1309,1346,1379,1386,1399,1416,1479,1520,1537,1546],{"type":208,"tag":894,"props":1215,"children":1216},{"class":896,"line":897},[1217,1222],{"type":208,"tag":894,"props":1218,"children":1219},{"style":954},[1220],{"type":213,"value":1221},"\"use client\"",{"type":208,"tag":894,"props":1223,"children":1224},{"style":901},[1225],{"type":213,"value":1226},";\n",{"type":208,"tag":894,"props":1228,"children":1229},{"class":896,"line":236},[1230],{"type":208,"tag":894,"props":1231,"children":1232},{"emptyLinePlaceholder":8},[1233],{"type":213,"value":1234},"\n",{"type":208,"tag":894,"props":1236,"children":1237},{"class":896,"line":939},[1238,1243,1248,1252,1256,1260,1265,1270,1275],{"type":208,"tag":894,"props":1239,"children":1240},{"style":928},[1241],{"type":213,"value":1242},"import",{"type":208,"tag":894,"props":1244,"children":1245},{"style":901},[1246],{"type":213,"value":1247}," { ",{"type":208,"tag":894,"props":1249,"children":1250},{"style":943},[1251],{"type":213,"value":690},{"type":208,"tag":894,"props":1253,"children":1254},{"style":901},[1255],{"type":213,"value":962},{"type":208,"tag":894,"props":1257,"children":1258},{"style":943},[1259],{"type":213,"value":742},{"type":208,"tag":894,"props":1261,"children":1262},{"style":901},[1263],{"type":213,"value":1264}," } ",{"type":208,"tag":894,"props":1266,"children":1267},{"style":928},[1268],{"type":213,"value":1269},"from",{"type":208,"tag":894,"props":1271,"children":1272},{"style":954},[1273],{"type":213,"value":1274}," \"@/sdk/alokai-context\"",{"type":208,"tag":894,"props":1276,"children":1277},{"style":901},[1278],{"type":213,"value":1226},{"type":208,"tag":894,"props":1280,"children":1281},{"class":896,"line":975},[1282],{"type":208,"tag":894,"props":1283,"children":1284},{"emptyLinePlaceholder":8},[1285],{"type":213,"value":1234},{"type":208,"tag":894,"props":1287,"children":1288},{"class":896,"line":235},[1289,1294,1299,1304],{"type":208,"tag":894,"props":1290,"children":1291},{"style":928},[1292],{"type":213,"value":1293},"export",{"type":208,"tag":894,"props":1295,"children":1296},{"style":928},[1297],{"type":213,"value":1298}," function",{"type":208,"tag":894,"props":1300,"children":1301},{"style":1080},[1302],{"type":213,"value":1303}," CartSummary",{"type":208,"tag":894,"props":1305,"children":1306},{"style":901},[1307],{"type":213,"value":1308},"() {\n",{"type":208,"tag":894,"props":1310,"children":1311},{"class":896,"line":1019},[1312,1317,1322,1327,1332,1336,1341],{"type":208,"tag":894,"props":1313,"children":1314},{"style":928},[1315],{"type":213,"value":1316},"  const",{"type":208,"tag":894,"props":1318,"children":1319},{"style":901},[1320],{"type":213,"value":1321}," [",{"type":208,"tag":894,"props":1323,"children":1324},{"style":907},[1325],{"type":213,"value":1326},"cart",{"type":208,"tag":894,"props":1328,"children":1329},{"style":901},[1330],{"type":213,"value":1331},"] ",{"type":208,"tag":894,"props":1333,"children":1334},{"style":922},[1335],{"type":213,"value":925},{"type":208,"tag":894,"props":1337,"children":1338},{"style":1080},[1339],{"type":213,"value":1340}," useSfCartState",{"type":208,"tag":894,"props":1342,"children":1343},{"style":901},[1344],{"type":213,"value":1345},"();\n",{"type":208,"tag":894,"props":1347,"children":1348},{"class":896,"line":1049},[1349,1353,1357,1362,1366,1370,1375],{"type":208,"tag":894,"props":1350,"children":1351},{"style":928},[1352],{"type":213,"value":1316},{"type":208,"tag":894,"props":1354,"children":1355},{"style":901},[1356],{"type":213,"value":1321},{"type":208,"tag":894,"props":1358,"children":1359},{"style":907},[1360],{"type":213,"value":1361},"currency",{"type":208,"tag":894,"props":1363,"children":1364},{"style":901},[1365],{"type":213,"value":1331},{"type":208,"tag":894,"props":1367,"children":1368},{"style":922},[1369],{"type":213,"value":925},{"type":208,"tag":894,"props":1371,"children":1372},{"style":1080},[1373],{"type":213,"value":1374}," useSfCurrencyState",{"type":208,"tag":894,"props":1376,"children":1377},{"style":901},[1378],{"type":213,"value":1345},{"type":208,"tag":894,"props":1380,"children":1381},{"class":896,"line":1063},[1382],{"type":208,"tag":894,"props":1383,"children":1384},{"emptyLinePlaceholder":8},[1385],{"type":213,"value":1234},{"type":208,"tag":894,"props":1387,"children":1388},{"class":896,"line":1120},[1389,1394],{"type":208,"tag":894,"props":1390,"children":1391},{"style":928},[1392],{"type":213,"value":1393},"  return",{"type":208,"tag":894,"props":1395,"children":1396},{"style":901},[1397],{"type":213,"value":1398}," (\n",{"type":208,"tag":894,"props":1400,"children":1401},{"class":896,"line":1129},[1402,1407,1412],{"type":208,"tag":894,"props":1403,"children":1404},{"style":901},[1405],{"type":213,"value":1406},"    \u003C",{"type":208,"tag":894,"props":1408,"children":1409},{"style":943},[1410],{"type":213,"value":1411},"div",{"type":208,"tag":894,"props":1413,"children":1414},{"style":901},[1415],{"type":213,"value":1126},{"type":208,"tag":894,"props":1417,"children":1418},{"class":896,"line":1147},[1419,1424,1428,1433,1437,1441,1446,1451,1456,1462,1467,1471,1475],{"type":208,"tag":894,"props":1420,"children":1421},{"style":901},[1422],{"type":213,"value":1423},"      \u003C",{"type":208,"tag":894,"props":1425,"children":1426},{"style":943},[1427],{"type":213,"value":215},{"type":208,"tag":894,"props":1429,"children":1430},{"style":901},[1431],{"type":213,"value":1432},">Items in cart: ",{"type":208,"tag":894,"props":1434,"children":1435},{"style":928},[1436],{"type":213,"value":931},{"type":208,"tag":894,"props":1438,"children":1439},{"style":907},[1440],{"type":213,"value":1326},{"type":208,"tag":894,"props":1442,"children":1443},{"style":901},[1444],{"type":213,"value":1445},"?.",{"type":208,"tag":894,"props":1447,"children":1448},{"style":943},[1449],{"type":213,"value":1450},"totalItems",{"type":208,"tag":894,"props":1452,"children":1453},{"style":922},[1454],{"type":213,"value":1455}," ??",{"type":208,"tag":894,"props":1457,"children":1459},{"style":1458},"--shiki-default:#D19A66",[1460],{"type":213,"value":1461}," 0",{"type":208,"tag":894,"props":1463,"children":1464},{"style":928},[1465],{"type":213,"value":1466},"}",{"type":208,"tag":894,"props":1468,"children":1469},{"style":901},[1470],{"type":213,"value":1153},{"type":208,"tag":894,"props":1472,"children":1473},{"style":943},[1474],{"type":213,"value":215},{"type":208,"tag":894,"props":1476,"children":1477},{"style":901},[1478],{"type":213,"value":1126},{"type":208,"tag":894,"props":1480,"children":1482},{"class":896,"line":1481},12,[1483,1487,1491,1496,1500,1504,1508,1512,1516],{"type":208,"tag":894,"props":1484,"children":1485},{"style":901},[1486],{"type":213,"value":1423},{"type":208,"tag":894,"props":1488,"children":1489},{"style":943},[1490],{"type":213,"value":215},{"type":208,"tag":894,"props":1492,"children":1493},{"style":901},[1494],{"type":213,"value":1495},">Currency: ",{"type":208,"tag":894,"props":1497,"children":1498},{"style":928},[1499],{"type":213,"value":931},{"type":208,"tag":894,"props":1501,"children":1502},{"style":943},[1503],{"type":213,"value":1361},{"type":208,"tag":894,"props":1505,"children":1506},{"style":928},[1507],{"type":213,"value":1466},{"type":208,"tag":894,"props":1509,"children":1510},{"style":901},[1511],{"type":213,"value":1153},{"type":208,"tag":894,"props":1513,"children":1514},{"style":943},[1515],{"type":213,"value":215},{"type":208,"tag":894,"props":1517,"children":1518},{"style":901},[1519],{"type":213,"value":1126},{"type":208,"tag":894,"props":1521,"children":1523},{"class":896,"line":1522},13,[1524,1529,1533],{"type":208,"tag":894,"props":1525,"children":1526},{"style":901},[1527],{"type":213,"value":1528},"    \u003C/",{"type":208,"tag":894,"props":1530,"children":1531},{"style":943},[1532],{"type":213,"value":1411},{"type":208,"tag":894,"props":1534,"children":1535},{"style":901},[1536],{"type":213,"value":1126},{"type":208,"tag":894,"props":1538,"children":1540},{"class":896,"line":1539},14,[1541],{"type":208,"tag":894,"props":1542,"children":1543},{"style":901},[1544],{"type":213,"value":1545},"  );\n",{"type":208,"tag":894,"props":1547,"children":1549},{"class":896,"line":1548},15,[1550],{"type":208,"tag":894,"props":1551,"children":1552},{"style":901},[1553],{"type":213,"value":1060},{"type":208,"tag":640,"props":1555,"children":1557},{"id":1556},"updating-state",[1558],{"type":213,"value":1559},"Updating state",{"type":208,"tag":215,"props":1561,"children":1562},{},[1563],{"type":213,"value":1564},"Use the setter (second element of the tuple) to update state. For example, changing the selected currency:",{"type":208,"tag":883,"props":1566,"children":1568},{"className":885,"code":1567,"language":888,"meta":6,"style":6},"\"use client\";\n\nimport { useRouter } from \"next/navigation\";\nimport { useSfCurrencyState } from \"@/sdk/alokai-context\";\n\nexport function CurrencySelector() {\n  const router = useRouter();\n  const [currency, setCurrency] = useSfCurrencyState();\n\n  return (\n    \u003Cselect\n      onChange={(e) => {\n        setCurrency(e.target.value);\n        router.refresh();\n      }}\n      value={currency}\n    >\n      \u003Coption value=\"USD\">USD\u003C/option>\n      \u003Coption value=\"EUR\">EUR\u003C/option>\n    \u003C/select>\n  );\n}\n",[1569],{"type":208,"tag":553,"props":1570,"children":1571},{"__ignoreMap":6},[1572,1583,1590,1623,1654,1661,1681,1707,1747,1754,1765,1777,1818,1858,1879,1891,1916,1925,1964,2001,2018,2026],{"type":208,"tag":894,"props":1573,"children":1574},{"class":896,"line":897},[1575,1579],{"type":208,"tag":894,"props":1576,"children":1577},{"style":954},[1578],{"type":213,"value":1221},{"type":208,"tag":894,"props":1580,"children":1581},{"style":901},[1582],{"type":213,"value":1226},{"type":208,"tag":894,"props":1584,"children":1585},{"class":896,"line":236},[1586],{"type":208,"tag":894,"props":1587,"children":1588},{"emptyLinePlaceholder":8},[1589],{"type":213,"value":1234},{"type":208,"tag":894,"props":1591,"children":1592},{"class":896,"line":939},[1593,1597,1601,1606,1610,1614,1619],{"type":208,"tag":894,"props":1594,"children":1595},{"style":928},[1596],{"type":213,"value":1242},{"type":208,"tag":894,"props":1598,"children":1599},{"style":901},[1600],{"type":213,"value":1247},{"type":208,"tag":894,"props":1602,"children":1603},{"style":943},[1604],{"type":213,"value":1605},"useRouter",{"type":208,"tag":894,"props":1607,"children":1608},{"style":901},[1609],{"type":213,"value":1264},{"type":208,"tag":894,"props":1611,"children":1612},{"style":928},[1613],{"type":213,"value":1269},{"type":208,"tag":894,"props":1615,"children":1616},{"style":954},[1617],{"type":213,"value":1618}," \"next/navigation\"",{"type":208,"tag":894,"props":1620,"children":1621},{"style":901},[1622],{"type":213,"value":1226},{"type":208,"tag":894,"props":1624,"children":1625},{"class":896,"line":975},[1626,1630,1634,1638,1642,1646,1650],{"type":208,"tag":894,"props":1627,"children":1628},{"style":928},[1629],{"type":213,"value":1242},{"type":208,"tag":894,"props":1631,"children":1632},{"style":901},[1633],{"type":213,"value":1247},{"type":208,"tag":894,"props":1635,"children":1636},{"style":943},[1637],{"type":213,"value":742},{"type":208,"tag":894,"props":1639,"children":1640},{"style":901},[1641],{"type":213,"value":1264},{"type":208,"tag":894,"props":1643,"children":1644},{"style":928},[1645],{"type":213,"value":1269},{"type":208,"tag":894,"props":1647,"children":1648},{"style":954},[1649],{"type":213,"value":1274},{"type":208,"tag":894,"props":1651,"children":1652},{"style":901},[1653],{"type":213,"value":1226},{"type":208,"tag":894,"props":1655,"children":1656},{"class":896,"line":235},[1657],{"type":208,"tag":894,"props":1658,"children":1659},{"emptyLinePlaceholder":8},[1660],{"type":213,"value":1234},{"type":208,"tag":894,"props":1662,"children":1663},{"class":896,"line":1019},[1664,1668,1672,1677],{"type":208,"tag":894,"props":1665,"children":1666},{"style":928},[1667],{"type":213,"value":1293},{"type":208,"tag":894,"props":1669,"children":1670},{"style":928},[1671],{"type":213,"value":1298},{"type":208,"tag":894,"props":1673,"children":1674},{"style":1080},[1675],{"type":213,"value":1676}," CurrencySelector",{"type":208,"tag":894,"props":1678,"children":1679},{"style":901},[1680],{"type":213,"value":1308},{"type":208,"tag":894,"props":1682,"children":1683},{"class":896,"line":1049},[1684,1688,1693,1698,1703],{"type":208,"tag":894,"props":1685,"children":1686},{"style":928},[1687],{"type":213,"value":1316},{"type":208,"tag":894,"props":1689,"children":1690},{"style":907},[1691],{"type":213,"value":1692}," router",{"type":208,"tag":894,"props":1694,"children":1695},{"style":922},[1696],{"type":213,"value":1697}," =",{"type":208,"tag":894,"props":1699,"children":1700},{"style":1080},[1701],{"type":213,"value":1702}," useRouter",{"type":208,"tag":894,"props":1704,"children":1705},{"style":901},[1706],{"type":213,"value":1345},{"type":208,"tag":894,"props":1708,"children":1709},{"class":896,"line":1063},[1710,1714,1718,1722,1726,1731,1735,1739,1743],{"type":208,"tag":894,"props":1711,"children":1712},{"style":928},[1713],{"type":213,"value":1316},{"type":208,"tag":894,"props":1715,"children":1716},{"style":901},[1717],{"type":213,"value":1321},{"type":208,"tag":894,"props":1719,"children":1720},{"style":907},[1721],{"type":213,"value":1361},{"type":208,"tag":894,"props":1723,"children":1724},{"style":901},[1725],{"type":213,"value":962},{"type":208,"tag":894,"props":1727,"children":1728},{"style":907},[1729],{"type":213,"value":1730},"setCurrency",{"type":208,"tag":894,"props":1732,"children":1733},{"style":901},[1734],{"type":213,"value":1331},{"type":208,"tag":894,"props":1736,"children":1737},{"style":922},[1738],{"type":213,"value":925},{"type":208,"tag":894,"props":1740,"children":1741},{"style":1080},[1742],{"type":213,"value":1374},{"type":208,"tag":894,"props":1744,"children":1745},{"style":901},[1746],{"type":213,"value":1345},{"type":208,"tag":894,"props":1748,"children":1749},{"class":896,"line":1120},[1750],{"type":208,"tag":894,"props":1751,"children":1752},{"emptyLinePlaceholder":8},[1753],{"type":213,"value":1234},{"type":208,"tag":894,"props":1755,"children":1756},{"class":896,"line":1129},[1757,1761],{"type":208,"tag":894,"props":1758,"children":1759},{"style":928},[1760],{"type":213,"value":1393},{"type":208,"tag":894,"props":1762,"children":1763},{"style":901},[1764],{"type":213,"value":1398},{"type":208,"tag":894,"props":1766,"children":1767},{"class":896,"line":1147},[1768,1772],{"type":208,"tag":894,"props":1769,"children":1770},{"style":901},[1771],{"type":213,"value":1406},{"type":208,"tag":894,"props":1773,"children":1774},{"style":943},[1775],{"type":213,"value":1776},"select\n",{"type":208,"tag":894,"props":1778,"children":1779},{"class":896,"line":1481},[1780,1785,1789,1793,1798,1804,1809,1813],{"type":208,"tag":894,"props":1781,"children":1782},{"style":916},[1783],{"type":213,"value":1784},"      onChange",{"type":208,"tag":894,"props":1786,"children":1787},{"style":922},[1788],{"type":213,"value":925},{"type":208,"tag":894,"props":1790,"children":1791},{"style":928},[1792],{"type":213,"value":931},{"type":208,"tag":894,"props":1794,"children":1795},{"style":901},[1796],{"type":213,"value":1797},"(",{"type":208,"tag":894,"props":1799,"children":1801},{"style":1800},"--shiki-default:#E06C75;--shiki-default-font-style:italic",[1802],{"type":213,"value":1803},"e",{"type":208,"tag":894,"props":1805,"children":1806},{"style":901},[1807],{"type":213,"value":1808},") ",{"type":208,"tag":894,"props":1810,"children":1811},{"style":928},[1812],{"type":213,"value":1103},{"type":208,"tag":894,"props":1814,"children":1815},{"style":901},[1816],{"type":213,"value":1817}," {\n",{"type":208,"tag":894,"props":1819,"children":1820},{"class":896,"line":1522},[1821,1826,1830,1834,1839,1844,1848,1853],{"type":208,"tag":894,"props":1822,"children":1823},{"style":1080},[1824],{"type":213,"value":1825},"        setCurrency",{"type":208,"tag":894,"props":1827,"children":1828},{"style":901},[1829],{"type":213,"value":1797},{"type":208,"tag":894,"props":1831,"children":1832},{"style":907},[1833],{"type":213,"value":1803},{"type":208,"tag":894,"props":1835,"children":1836},{"style":901},[1837],{"type":213,"value":1838},".",{"type":208,"tag":894,"props":1840,"children":1841},{"style":907},[1842],{"type":213,"value":1843},"target",{"type":208,"tag":894,"props":1845,"children":1846},{"style":901},[1847],{"type":213,"value":1838},{"type":208,"tag":894,"props":1849,"children":1850},{"style":943},[1851],{"type":213,"value":1852},"value",{"type":208,"tag":894,"props":1854,"children":1855},{"style":901},[1856],{"type":213,"value":1857},");\n",{"type":208,"tag":894,"props":1859,"children":1860},{"class":896,"line":1539},[1861,1866,1870,1875],{"type":208,"tag":894,"props":1862,"children":1863},{"style":907},[1864],{"type":213,"value":1865},"        router",{"type":208,"tag":894,"props":1867,"children":1868},{"style":901},[1869],{"type":213,"value":1838},{"type":208,"tag":894,"props":1871,"children":1872},{"style":1080},[1873],{"type":213,"value":1874},"refresh",{"type":208,"tag":894,"props":1876,"children":1877},{"style":901},[1878],{"type":213,"value":1345},{"type":208,"tag":894,"props":1880,"children":1881},{"class":896,"line":1548},[1882,1887],{"type":208,"tag":894,"props":1883,"children":1884},{"style":901},[1885],{"type":213,"value":1886},"      }",{"type":208,"tag":894,"props":1888,"children":1889},{"style":928},[1890],{"type":213,"value":1060},{"type":208,"tag":894,"props":1892,"children":1894},{"class":896,"line":1893},16,[1895,1900,1904,1908,1912],{"type":208,"tag":894,"props":1896,"children":1897},{"style":916},[1898],{"type":213,"value":1899},"      value",{"type":208,"tag":894,"props":1901,"children":1902},{"style":922},[1903],{"type":213,"value":925},{"type":208,"tag":894,"props":1905,"children":1906},{"style":928},[1907],{"type":213,"value":931},{"type":208,"tag":894,"props":1909,"children":1910},{"style":943},[1911],{"type":213,"value":1361},{"type":208,"tag":894,"props":1913,"children":1914},{"style":928},[1915],{"type":213,"value":1060},{"type":208,"tag":894,"props":1917,"children":1919},{"class":896,"line":1918},17,[1920],{"type":208,"tag":894,"props":1921,"children":1922},{"style":901},[1923],{"type":213,"value":1924},"    >\n",{"type":208,"tag":894,"props":1926,"children":1928},{"class":896,"line":1927},18,[1929,1933,1938,1943,1947,1951,1956,1960],{"type":208,"tag":894,"props":1930,"children":1931},{"style":901},[1932],{"type":213,"value":1423},{"type":208,"tag":894,"props":1934,"children":1935},{"style":943},[1936],{"type":213,"value":1937},"option",{"type":208,"tag":894,"props":1939,"children":1940},{"style":916},[1941],{"type":213,"value":1942}," value",{"type":208,"tag":894,"props":1944,"children":1945},{"style":922},[1946],{"type":213,"value":925},{"type":208,"tag":894,"props":1948,"children":1949},{"style":954},[1950],{"type":213,"value":957},{"type":208,"tag":894,"props":1952,"children":1953},{"style":901},[1954],{"type":213,"value":1955},">USD\u003C/",{"type":208,"tag":894,"props":1957,"children":1958},{"style":943},[1959],{"type":213,"value":1937},{"type":208,"tag":894,"props":1961,"children":1962},{"style":901},[1963],{"type":213,"value":1126},{"type":208,"tag":894,"props":1965,"children":1967},{"class":896,"line":1966},19,[1968,1972,1976,1980,1984,1988,1993,1997],{"type":208,"tag":894,"props":1969,"children":1970},{"style":901},[1971],{"type":213,"value":1423},{"type":208,"tag":894,"props":1973,"children":1974},{"style":943},[1975],{"type":213,"value":1937},{"type":208,"tag":894,"props":1977,"children":1978},{"style":916},[1979],{"type":213,"value":1942},{"type":208,"tag":894,"props":1981,"children":1982},{"style":922},[1983],{"type":213,"value":925},{"type":208,"tag":894,"props":1985,"children":1986},{"style":954},[1987],{"type":213,"value":967},{"type":208,"tag":894,"props":1989,"children":1990},{"style":901},[1991],{"type":213,"value":1992},">EUR\u003C/",{"type":208,"tag":894,"props":1994,"children":1995},{"style":943},[1996],{"type":213,"value":1937},{"type":208,"tag":894,"props":1998,"children":1999},{"style":901},[2000],{"type":213,"value":1126},{"type":208,"tag":894,"props":2002,"children":2004},{"class":896,"line":2003},20,[2005,2009,2014],{"type":208,"tag":894,"props":2006,"children":2007},{"style":901},[2008],{"type":213,"value":1528},{"type":208,"tag":894,"props":2010,"children":2011},{"style":943},[2012],{"type":213,"value":2013},"select",{"type":208,"tag":894,"props":2015,"children":2016},{"style":901},[2017],{"type":213,"value":1126},{"type":208,"tag":894,"props":2019,"children":2021},{"class":896,"line":2020},21,[2022],{"type":208,"tag":894,"props":2023,"children":2024},{"style":901},[2025],{"type":213,"value":1545},{"type":208,"tag":894,"props":2027,"children":2029},{"class":896,"line":2028},22,[2030],{"type":208,"tag":894,"props":2031,"children":2032},{"style":901},[2033],{"type":213,"value":1060},{"type":208,"tag":2035,"props":2036,"children":2037},"info",{},[2038,2041],{"type":208,"tag":226,"props":2039,"children":2040},{"v-slot:title":6},[],{"type":208,"tag":215,"props":2042,"children":2043},{},[2044,2046,2052,2054,2062,2064,2070,2072,2078],{"type":213,"value":2045},"In the Alokai Storefront, cart and customer state is synced automatically. A ",{"type":208,"tag":553,"props":2047,"children":2049},{"className":2048},[],[2050],{"type":213,"value":2051},"StateObserver",{"type":213,"value":2053}," component subscribes to ",{"type":208,"tag":562,"props":2055,"children":2059},{"href":2056,"rel":2057},"https://tanstack.com/query",[2058],"nofollow",[2060],{"type":213,"value":2061},"TanStack Query",{"type":213,"value":2063}," observers and calls ",{"type":208,"tag":553,"props":2065,"children":2067},{"className":2066},[],[2068],{"type":213,"value":2069},"setCart",{"type":213,"value":2071}," / ",{"type":208,"tag":553,"props":2073,"children":2075},{"className":2074},[],[2076],{"type":213,"value":2077},"setCustomer",{"type":213,"value":2079}," whenever the cached data changes — so you don't need to manually sync query results into state. This component is already wired up in the storefront, so no extra setup is required on your end.",{"type":208,"tag":2081,"props":2082,"children":2083},"style",{},[2084],{"type":213,"value":2085},"html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}",{"title":6,"searchDepth":235,"depth":236,"links":2087},[2088,2089,2090,2091],{"id":642,"depth":939,"text":645},{"id":858,"depth":939,"text":861},{"id":1198,"depth":939,"text":1201},{"id":1556,"depth":939,"text":1559},"sdk:sdk:_partials:nextjs-state-management-usage.md","sdk/_partials/nextjs-state-management-usage.md","sdk/_partials/nextjs-state-management-usage",{"nav":2096,"sidebarRoot":2098},[2097],{"title":448,"_path":2098,"children":2099,"_id":449,"layout":203,"sidebarRoot":8,"icon":258},"/sdk",[2100,2103,2121,2134,2143,2152,2210],{"title":2101,"_path":2098,"_id":2102,"layout":203},"Overview","sdk:sdk:1.index.md",{"title":2104,"_path":564,"children":2105,"_id":2120,"layout":203},"Basics",[2106,2108,2112,2116],{"title":22,"_path":564,"_id":2107,"layout":203},"sdk:sdk:2.getting-started:1.index.md",{"title":2109,"_path":2110,"_id":2111,"layout":203},"State Management","/sdk/getting-started/state-management","sdk:sdk:2.getting-started:2.state-management.md",{"title":2113,"_path":2114,"_id":2115,"layout":203},"The middlewareModule","/sdk/getting-started/middleware-module","sdk:sdk:2.getting-started:3.middleware-module.md",{"title":2117,"_path":2118,"_id":2119,"layout":203},"Logger","/sdk/getting-started/logger","sdk:sdk:2.getting-started:4.logger.md","sdk:sdk:2.getting-started:_dir.yml",{"title":2122,"_path":2123,"children":2124,"_id":2133},"Advanced","/sdk/advanced",[2125,2129],{"title":2126,"_path":2127,"_id":2128,"layout":203},"Extending a Module","/sdk/advanced/extending-module","sdk:sdk:3.advanced:1.extending-module.md",{"title":2130,"_path":2131,"_id":2132,"layout":203},"Custom Modules","/sdk/advanced/custom-modules","sdk:sdk:3.advanced:2.custom-modules.md","sdk:sdk:3.advanced:_dir.yml",{"title":2135,"_path":2136,"children":2137,"_id":2142},"Reference","/sdk/reference",[2138],{"title":2139,"_path":2140,"_id":2141,"layout":203},"Change Log","/sdk/reference/changelogs","sdk:sdk:4.reference:changelogs.md","sdk:sdk:4.reference:_dir.yml",{"title":2144,"_path":2145,"children":2146,"_id":2151},"API Reference","/sdk/api",[2147],{"title":2148,"_path":2149,"_id":2150,"layout":203},"@alokai/connect/sdk","/sdk/api/sdk","sdk:sdk:5.api:sdk.md","sdk:sdk:5.api:_dir.yml",{"title":448,"_path":2153,"children":2154,"_id":456,"layout":203,"sidebarRoot":8,"icon":258},"/sdk/legacy",[2155,2157,2172,2183,2191,2206],{"title":2101,"_path":2153,"_id":2156,"layout":203},"sdk:sdk:legacy:1.index.md",{"title":2104,"_path":2158,"children":2159,"_id":2171,"layout":203},"/sdk/legacy/getting-started",[2160,2162,2165,2168],{"title":22,"_path":2158,"_id":2161,"layout":203},"sdk:sdk:legacy:2.getting-started:1.index.md",{"title":2109,"_path":2163,"_id":2164,"layout":203},"/sdk/legacy/getting-started/state-management","sdk:sdk:legacy:2.getting-started:2.state-management.md",{"title":2113,"_path":2166,"_id":2167,"layout":203},"/sdk/legacy/getting-started/middleware-module","sdk:sdk:legacy:2.getting-started:3.middleware-module.md",{"title":2117,"_path":2169,"_id":2170,"layout":203},"/sdk/legacy/getting-started/logger","sdk:sdk:legacy:2.getting-started:4.logger.md","sdk:sdk:legacy:2.getting-started:_dir.yml",{"title":2122,"_path":2173,"children":2174,"_id":2182},"/sdk/legacy/advanced",[2175,2178],{"title":2126,"_path":2176,"_id":2177,"layout":203},"/sdk/legacy/advanced/extending-module","sdk:sdk:legacy:3.advanced:1.extending-module.md",{"title":2179,"_path":2180,"_id":2181,"layout":203},"Custom modules","/sdk/legacy/advanced/custom-modules","sdk:sdk:legacy:3.advanced:2.custom-modules.md","sdk:sdk:legacy:3.advanced:_dir.yml",{"title":2184,"_path":2185,"children":2186},"Api","/sdk/legacy/api",[2187],{"title":2188,"_path":2189,"_id":2190,"layout":203},"@vue-storefront/sdk","/sdk/legacy/api/sdk","sdk:sdk:legacy:4.api:sdk.md",{"title":2135,"_path":2192,"children":2193},"/sdk/legacy/reference",[2194,2198,2202],{"title":2195,"_path":2196,"_id":2197,"layout":203},"Change log","/sdk/legacy/reference/sdk-change-log","sdk:sdk:legacy:5.reference:sdk-change-log.md",{"title":2199,"_path":2200,"_id":2201,"layout":203},"Change log: @vue-storefront/next","/sdk/legacy/reference/sdk-next-change-log","sdk:sdk:legacy:5.reference:sdk-next-change-log.md",{"title":2203,"_path":2204,"_id":2205,"layout":203},"Change log: @vue-storefront/nuxt","/sdk/legacy/reference/sdk-nuxt-change-log","sdk:sdk:legacy:5.reference:sdk-nuxt-change-log.md",{"title":2207,"_path":2208,"_id":2209,"layout":203},"Migration to Runtime ENVs & Docker cached building process","/sdk/legacy/migration-guide","sdk:sdk:legacy:6.migration-guide.md",{"title":448,"_path":2211,"children":2212,"_id":462,"layout":203,"sidebarRoot":8,"icon":258},"/sdk/v1",[2213,2215,2230,2240,2247],{"title":2101,"_path":2211,"_id":2214,"layout":203},"sdk:sdk:v1:1.index.md",{"title":2104,"_path":2216,"children":2217,"_id":2229,"layout":203},"/sdk/v1/getting-started",[2218,2220,2223,2226],{"title":22,"_path":2216,"_id":2219,"layout":203},"sdk:sdk:v1:2.getting-started:1.index.md",{"title":2109,"_path":2221,"_id":2222,"layout":203},"/sdk/v1/getting-started/state-management","sdk:sdk:v1:2.getting-started:2.state-management.md",{"title":2113,"_path":2224,"_id":2225,"layout":203},"/sdk/v1/getting-started/middleware-module","sdk:sdk:v1:2.getting-started:3.middleware-module.md",{"title":2117,"_path":2227,"_id":2228,"layout":203},"/sdk/v1/getting-started/logger","sdk:sdk:v1:2.getting-started:4.logger.md","sdk:sdk:v1:2.getting-started:_dir.yml",{"title":2122,"_path":2231,"children":2232,"_id":2239},"/sdk/v1/advanced",[2233,2236],{"title":2126,"_path":2234,"_id":2235,"layout":203},"/sdk/v1/advanced/extending-module","sdk:sdk:v1:3.advanced:1.extending-module.md",{"title":2179,"_path":2237,"_id":2238,"layout":203},"/sdk/v1/advanced/custom-modules","sdk:sdk:v1:3.advanced:2.custom-modules.md","sdk:sdk:v1:3.advanced:_dir.yml",{"title":2135,"_path":2241,"children":2242,"_id":2246},"/sdk/v1/reference",[2243],{"title":2139,"_path":2244,"_id":2245,"layout":203},"/sdk/v1/reference/changelogs","sdk:sdk:v1:4.reference:changelogs.md","sdk:sdk:v1:4.reference:_dir.yml",{"title":2144,"_path":2248,"children":2249,"_id":2253},"/sdk/v1/api",[2250],{"title":2148,"_path":2251,"_id":2252,"layout":203},"/sdk/v1/api/sdk","sdk:sdk:v1:5.api:sdk.md","sdk:sdk:v1:5.api:_dir.yml",[2255,2268,2279,2292,2301,2312,2321],{"_path":2256,"_dir":320,"_draft":7,"_partial":8,"_locale":6,"versions":2257,"_id":2264,"_type":13,"title":2265,"_source":320,"_file":2266,"_stem":2267,"_extension":18},"/integrations/commercetools/_versions",[2258,2261],{"title":2259,"path":2260,"latest":8},"current","/",{"title":2262,"path":2263},"SDK v2","/v2","commercetools:integrations:commercetools:_versions.yml","Versions","integrations/commercetools/_versions.yml","integrations/commercetools/_versions",{"_path":2269,"_dir":379,"_draft":7,"_partial":8,"_locale":6,"versions":2270,"_id":2276,"_type":13,"title":2265,"_source":379,"_file":2277,"_stem":2278,"_extension":18},"/integrations/sapcc/_versions",[2271,2273],{"title":2272,"path":2260,"latest":8},"v8.x",{"title":2274,"path":2275},"v7.x and earlier","/v7","sapcc:integrations:sapcc:_versions.yml","integrations/sapcc/_versions.yml","integrations/sapcc/_versions",{"_path":2280,"_dir":431,"_draft":7,"_partial":8,"_locale":6,"versions":2281,"_id":2289,"_type":13,"title":2265,"_source":431,"_file":2290,"_stem":2291,"_extension":18},"/middleware/_versions",[2282,2284,2287],{"title":2283,"path":2260,"latest":8},"connect v2",{"title":2285,"path":2286},"connect v1","/v1",{"title":454,"path":2288},"/legacy","middleware:middleware:_versions.yml","middleware/_versions.yml","middleware/_versions",{"_path":2293,"_dir":446,"_draft":7,"_partial":8,"_locale":6,"versions":2294,"_id":2298,"_type":13,"title":2265,"_source":446,"_file":2299,"_stem":2300,"_extension":18},"/sdk/_versions",[2295,2296,2297],{"title":2283,"path":2260,"latest":8},{"title":2285,"path":2286},{"title":454,"path":2288},"sdk:sdk:_versions.yml","sdk/_versions.yml","sdk/_versions",{"_path":2302,"_dir":467,"_draft":7,"_partial":8,"_locale":6,"versions":2303,"_id":2309,"_type":13,"title":2265,"_source":467,"_file":2310,"_stem":2311,"_extension":18},"/storefront/_versions",[2304,2305,2307],{"title":39,"path":2260,"latest":8},{"title":513,"path":2306},"/v0.1",{"title":520,"path":2308},"/v0.2","storefront:storefront:_versions.yml","storefront/_versions.yml","storefront/_versions",{"_path":2313,"_dir":475,"_draft":7,"_partial":8,"_locale":6,"versions":2314,"_id":2318,"_type":13,"title":2265,"_source":475,"_file":2319,"_stem":2320,"_extension":18},"/storefront/modules/_versions",[2315,2316],{"title":39,"path":2260,"latest":8},{"title":500,"path":2317},"/v0","modules:storefront:modules:_versions.yml","storefront/modules/_versions.yml","storefront/modules/_versions",{"_path":2322,"_dir":527,"_draft":7,"_partial":8,"_locale":6,"versions":2323,"_id":2326,"_type":13,"title":2265,"_source":531,"_file":2327,"_stem":2328,"_extension":18},"/unified-data-layer/_versions",[2324,2325],{"title":2283,"path":2260,"latest":8},{"title":2285,"path":2286},"unified:unified-data-layer:_versions.yml","unified-data-layer/_versions.yml","unified-data-layer/_versions",1782903407887]