[{"data":1,"prerenderedAt":9050},["ShallowReactive",2],{"\u002Fdocs\u002Fgetting-started":3,"docs-nav":391},{"id":4,"title":5,"body":6,"description":381,"extension":382,"links":383,"meta":384,"navigation":385,"path":387,"seo":388,"stem":389,"__hash__":390},"docs\u002F1.getting-started\u002F1.index.md","Introduction",{"type":7,"value":8,"toc":374},"minimark",[9,18,23,26,60,64,67,129,133,140,152,155,169,173,176,324,331,335,370],[10,11,12,13,17],"p",{},"WooNuxt is the ",[14,15,16],"strong",{},"Next Generation Front-End for WooCommerce",". A modern, headless eCommerce solution that combines the power of WooCommerce with the performance of Nuxt.js. Build blazing-fast, SEO-friendly online stores with complete control over your frontend while leveraging WooCommerce's robust backend.",[19,20,22],"h2",{"id":21},"what-is-woonuxt","What is WooNuxt?",[10,24,25],{},"WooNuxt provides a complete eCommerce frontend built with:",[27,28,29,36,42,48,54],"ul",{},[30,31,32,35],"li",{},[14,33,34],{},"Nuxt.js 4"," - The latest version of the Vue.js framework",[30,37,38,41],{},[14,39,40],{},"WooCommerce"," - Industry-standard eCommerce platform",[30,43,44,47],{},[14,45,46],{},"GraphQL"," - Efficient data fetching via WPGraphQL & WooGraphQL",[30,49,50,53],{},[14,51,52],{},"Tailwind CSS"," - Utility-first styling framework",[30,55,56,59],{},[14,57,58],{},"Vue 3"," - Reactive, component-based architecture",[19,61,63],{"id":62},"key-features","Key Features",[10,65,66],{},"WooNuxt comes with everything you need to build a modern online store:",[27,68,69,75,81,87,93,99,105,111,117,123],{},[30,70,71,74],{},[14,72,73],{},"🚀 Lightning Fast",": Server-side rendering and optimized performance",[30,76,77,80],{},[14,78,79],{},"🛒 Complete Cart & Checkout",": Full shopping experience with secure payments",[30,82,83,86],{},[14,84,85],{},"🔐 User Authentication",": Customer accounts with JWT-based auth",[30,88,89,92],{},[14,90,91],{},"💳 Stripe Integration",": Built-in payment processing",[30,94,95,98],{},[14,96,97],{},"🔍 Advanced Filtering",": Dynamic product filters and search",[30,100,101,104],{},[14,102,103],{},"📱 Responsive Design",": Mobile-first, works on all devices",[30,106,107,110],{},[14,108,109],{},"🎨 Fully Customizable",": Built with Nuxt Layers for easy overrides",[30,112,113,116],{},[14,114,115],{},"♿ Accessible",": WCAG compliant components",[30,118,119,122],{},[14,120,121],{},"🌍 i18n Ready",": Multi-language support included",[30,124,125,128],{},[14,126,127],{},"🖼️ Image Optimization",": Automatic image optimization with Nuxt Image",[19,130,132],{"id":131},"architecture","Architecture",[10,134,135,136,139],{},"WooNuxt uses a ",[14,137,138],{},"Nuxt Layers"," architecture - similar to WordPress parent\u002Fchild themes:",[141,142,147],"pre",{"className":143,"code":145,"language":146},[144],"language-text","\nwoonuxt\u002F\n├── woonuxt_base\u002F # Core functionality (parent)\n└── app\u002F # Your customizations (child)\n\n","text",[148,149,151],"code",{"__ignoreMap":150},"","woonuxt\u002F\n├── woonuxt_base\u002F # Core functionality (parent)\n└── app\u002F # Your customizations (child)\n\n",[10,153,154],{},"This means:",[27,156,157,160,163,166],{},[30,158,159],{},"✅ Easy updates to core without losing customizations",[30,161,162],{},"✅ Override any component, page, or composable",[30,164,165],{},"✅ Clean separation of concerns",[30,167,168],{},"✅ Full control over your implementation",[19,170,172],{"id":171},"quick-start","Quick Start",[10,174,175],{},"Get started in minutes:",[141,177,181],{"className":178,"code":179,"language":180,"meta":150,"style":150},"language-bash shiki shiki-themes material-theme-palenight","# Clone the repository\ngit clone https:\u002F\u002Fgithub.com\u002Fscottyzen\u002Fwoonuxt.git\ncd woonuxt\n\n# Install dependencies\nnpm install\n# or: yarn install\n# or: pnpm install\n\n# Create environment file\ncp .env.example .env\n\n# Edit .env with your WordPress URL\n# GQL_HOST=https:\u002F\u002Fyoursite.com\u002Fgraphql\n\n# Start development server\nnpm run dev\n# or: yarn dev\n# or: pnpm dev\n","bash",[148,182,183,192,206,216,223,229,238,244,250,255,261,273,278,284,290,295,301,312,318],{"__ignoreMap":150},[184,185,188],"span",{"class":186,"line":187},"line",1,[184,189,191],{"class":190},"saEQR","# Clone the repository\n",[184,193,195,199,203],{"class":186,"line":194},2,[184,196,198],{"class":197},"s5Dmg","git",[184,200,202],{"class":201},"sfyAc"," clone",[184,204,205],{"class":201}," https:\u002F\u002Fgithub.com\u002Fscottyzen\u002Fwoonuxt.git\n",[184,207,209,213],{"class":186,"line":208},3,[184,210,212],{"class":211},"sdLwU","cd",[184,214,215],{"class":201}," woonuxt\n",[184,217,219],{"class":186,"line":218},4,[184,220,222],{"emptyLinePlaceholder":221},true,"\n",[184,224,226],{"class":186,"line":225},5,[184,227,228],{"class":190},"# Install dependencies\n",[184,230,232,235],{"class":186,"line":231},6,[184,233,234],{"class":197},"npm",[184,236,237],{"class":201}," install\n",[184,239,241],{"class":186,"line":240},7,[184,242,243],{"class":190},"# or: yarn install\n",[184,245,247],{"class":186,"line":246},8,[184,248,249],{"class":190},"# or: pnpm install\n",[184,251,253],{"class":186,"line":252},9,[184,254,222],{"emptyLinePlaceholder":221},[184,256,258],{"class":186,"line":257},10,[184,259,260],{"class":190},"# Create environment file\n",[184,262,264,267,270],{"class":186,"line":263},11,[184,265,266],{"class":197},"cp",[184,268,269],{"class":201}," .env.example",[184,271,272],{"class":201}," .env\n",[184,274,276],{"class":186,"line":275},12,[184,277,222],{"emptyLinePlaceholder":221},[184,279,281],{"class":186,"line":280},13,[184,282,283],{"class":190},"# Edit .env with your WordPress URL\n",[184,285,287],{"class":186,"line":286},14,[184,288,289],{"class":190},"# GQL_HOST=https:\u002F\u002Fyoursite.com\u002Fgraphql\n",[184,291,293],{"class":186,"line":292},15,[184,294,222],{"emptyLinePlaceholder":221},[184,296,298],{"class":186,"line":297},16,[184,299,300],{"class":190},"# Start development server\n",[184,302,304,306,309],{"class":186,"line":303},17,[184,305,234],{"class":197},[184,307,308],{"class":201}," run",[184,310,311],{"class":201}," dev\n",[184,313,315],{"class":186,"line":314},18,[184,316,317],{"class":190},"# or: yarn dev\n",[184,319,321],{"class":186,"line":320},19,[184,322,323],{"class":190},"# or: pnpm dev\n",[10,325,326,327,330],{},"Your store will be running at ",[148,328,329],{},"http:\u002F\u002Flocalhost:3000"," 🎉",[19,332,334],{"id":333},"next-steps","Next Steps",[336,337,338,347,355,362],"card-group",{},[339,340,344],"card",{"icon":341,"title":342,"to":343},"i-lucide-download","Installation","\u002Fdocs\u002Fgetting-started\u002Finstallation",[10,345,346],{},"Step-by-step installation guide",[339,348,352],{"icon":349,"title":350,"to":351},"i-lucide-server","WordPress Setup","\u002Fdocs\u002Fwordpress-setup",[10,353,354],{},"Configure your WordPress backend",[339,356,359],{"icon":357,"title":172,"to":358},"i-lucide-code","\u002Fdocs\u002Fgetting-started\u002Fquick-start",[10,360,361],{},"Get up and running quickly",[339,363,367],{"icon":364,"title":365,"to":366},"i-lucide-sliders","Plugin Setup","\u002Fdocs\u002Fwordpress-setup\u002Fplugins",[10,368,369],{},"Install and configure WooNuxt Settings",[371,372,373],"style",{},"html pre.shiki code .saEQR, html code.shiki .saEQR{--shiki-default:#676E95;--shiki-default-font-style:italic}html pre.shiki code .s5Dmg, html code.shiki .s5Dmg{--shiki-default:#FFCB6B}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}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":150,"searchDepth":194,"depth":194,"links":375},[376,377,378,379,380],{"id":21,"depth":194,"text":22},{"id":62,"depth":194,"text":63},{"id":131,"depth":194,"text":132},{"id":171,"depth":194,"text":172},{"id":333,"depth":194,"text":334},"Welcome to WooNuxt - Modern headless eCommerce with WooCommerce and Nuxt.js","md",null,{},{"icon":386},"i-lucide-house","\u002Fgetting-started",{"title":5,"description":381},"1.getting-started\u002F1.index","jkQK21KuqvE6CVnsTd27zJGt9nRrljjNOkQLeDqtttE",[392,630,1461,1995,2830,3475,3675,3793,5088,5667,6719,7200,8612],{"id":4,"title":5,"body":393,"description":381,"extension":382,"links":383,"meta":627,"navigation":628,"path":387,"seo":629,"stem":389,"__hash__":390},{"type":7,"value":394,"toc":620},[395,399,401,403,425,427,429,471,473,477,482,484,494,496,498,594,598,600,618],[10,396,12,397,17],{},[14,398,16],{},[19,400,22],{"id":21},[10,402,25],{},[27,404,405,409,413,417,421],{},[30,406,407,35],{},[14,408,34],{},[30,410,411,41],{},[14,412,40],{},[30,414,415,47],{},[14,416,46],{},[30,418,419,53],{},[14,420,52],{},[30,422,423,59],{},[14,424,58],{},[19,426,63],{"id":62},[10,428,66],{},[27,430,431,435,439,443,447,451,455,459,463,467],{},[30,432,433,74],{},[14,434,73],{},[30,436,437,80],{},[14,438,79],{},[30,440,441,86],{},[14,442,85],{},[30,444,445,92],{},[14,446,91],{},[30,448,449,98],{},[14,450,97],{},[30,452,453,104],{},[14,454,103],{},[30,456,457,110],{},[14,458,109],{},[30,460,461,116],{},[14,462,115],{},[30,464,465,122],{},[14,466,121],{},[30,468,469,128],{},[14,470,127],{},[19,472,132],{"id":131},[10,474,135,475,139],{},[14,476,138],{},[141,478,480],{"className":479,"code":145,"language":146},[144],[148,481,151],{"__ignoreMap":150},[10,483,154],{},[27,485,486,488,490,492],{},[30,487,159],{},[30,489,162],{},[30,491,165],{},[30,493,168],{},[19,495,172],{"id":171},[10,497,175],{},[141,499,500],{"className":178,"code":179,"language":180,"meta":150,"style":150},[148,501,502,506,514,520,524,528,534,538,542,546,550,558,562,566,570,574,578,586,590],{"__ignoreMap":150},[184,503,504],{"class":186,"line":187},[184,505,191],{"class":190},[184,507,508,510,512],{"class":186,"line":194},[184,509,198],{"class":197},[184,511,202],{"class":201},[184,513,205],{"class":201},[184,515,516,518],{"class":186,"line":208},[184,517,212],{"class":211},[184,519,215],{"class":201},[184,521,522],{"class":186,"line":218},[184,523,222],{"emptyLinePlaceholder":221},[184,525,526],{"class":186,"line":225},[184,527,228],{"class":190},[184,529,530,532],{"class":186,"line":231},[184,531,234],{"class":197},[184,533,237],{"class":201},[184,535,536],{"class":186,"line":240},[184,537,243],{"class":190},[184,539,540],{"class":186,"line":246},[184,541,249],{"class":190},[184,543,544],{"class":186,"line":252},[184,545,222],{"emptyLinePlaceholder":221},[184,547,548],{"class":186,"line":257},[184,549,260],{"class":190},[184,551,552,554,556],{"class":186,"line":263},[184,553,266],{"class":197},[184,555,269],{"class":201},[184,557,272],{"class":201},[184,559,560],{"class":186,"line":275},[184,561,222],{"emptyLinePlaceholder":221},[184,563,564],{"class":186,"line":280},[184,565,283],{"class":190},[184,567,568],{"class":186,"line":286},[184,569,289],{"class":190},[184,571,572],{"class":186,"line":292},[184,573,222],{"emptyLinePlaceholder":221},[184,575,576],{"class":186,"line":297},[184,577,300],{"class":190},[184,579,580,582,584],{"class":186,"line":303},[184,581,234],{"class":197},[184,583,308],{"class":201},[184,585,311],{"class":201},[184,587,588],{"class":186,"line":314},[184,589,317],{"class":190},[184,591,592],{"class":186,"line":320},[184,593,323],{"class":190},[10,595,326,596,330],{},[148,597,329],{},[19,599,334],{"id":333},[336,601,602,606,610,614],{},[339,603,604],{"icon":341,"title":342,"to":343},[10,605,346],{},[339,607,608],{"icon":349,"title":350,"to":351},[10,609,354],{},[339,611,612],{"icon":357,"title":172,"to":358},[10,613,361],{},[339,615,616],{"icon":364,"title":365,"to":366},[10,617,369],{},[371,619,373],{},{"title":150,"searchDepth":194,"depth":194,"links":621},[622,623,624,625,626],{"id":21,"depth":194,"text":22},{"id":62,"depth":194,"text":63},{"id":131,"depth":194,"text":132},{"id":171,"depth":194,"text":172},{"id":333,"depth":194,"text":334},{},{"icon":386},{"title":5,"description":381},{"id":631,"title":342,"body":632,"description":1454,"extension":382,"links":383,"meta":1455,"navigation":1456,"path":1457,"seo":1458,"stem":1459,"__hash__":1460},"docs\u002F1.getting-started\u002F2.installation.md",{"type":7,"value":633,"toc":1438},[634,637,641,644,664,668,671,719,722,726,729,742,749,869,982,986,1003,1035,1043,1053,1057,1060,1105,1108,1114,1120,1124,1127,1132,1193,1225,1229,1242,1253,1257,1269,1273,1319,1326,1345,1349,1352,1387,1391,1403,1415,1417,1435],[10,635,636],{},"This guide will walk you through installing WooNuxt and getting your first headless eCommerce store running.",[19,638,640],{"id":639},"step-1-clone-repository","Step 1: Clone Repository",[10,642,643],{},"Clone the WooNuxt repository to your local machine:",[141,645,648],{"className":178,"code":646,"filename":647,"language":180,"meta":150,"style":150},"git clone https:\u002F\u002Fgithub.com\u002Fscottyzen\u002Fwoonuxt.git\ncd woonuxt\n","Terminal",[148,649,650,658],{"__ignoreMap":150},[184,651,652,654,656],{"class":186,"line":187},[184,653,198],{"class":197},[184,655,202],{"class":201},[184,657,205],{"class":201},[184,659,660,662],{"class":186,"line":194},[184,661,212],{"class":211},[184,663,215],{"class":201},[19,665,667],{"id":666},"step-2-install-dependencies","Step 2: Install Dependencies",[10,669,670],{},"Install the required Node.js packages:",[141,672,674],{"className":178,"code":673,"filename":647,"language":180,"meta":150,"style":150},"# Using npm\nnpm install\n\n# Or using yarn\nyarn install\n\n# Or using pnpm\npnpm install\n",[148,675,676,681,687,691,696,703,707,712],{"__ignoreMap":150},[184,677,678],{"class":186,"line":187},[184,679,680],{"class":190},"# Using npm\n",[184,682,683,685],{"class":186,"line":194},[184,684,234],{"class":197},[184,686,237],{"class":201},[184,688,689],{"class":186,"line":208},[184,690,222],{"emptyLinePlaceholder":221},[184,692,693],{"class":186,"line":218},[184,694,695],{"class":190},"# Or using yarn\n",[184,697,698,701],{"class":186,"line":225},[184,699,700],{"class":197},"yarn",[184,702,237],{"class":201},[184,704,705],{"class":186,"line":231},[184,706,222],{"emptyLinePlaceholder":221},[184,708,709],{"class":186,"line":240},[184,710,711],{"class":190},"# Or using pnpm\n",[184,713,714,717],{"class":186,"line":246},[184,715,716],{"class":197},"pnpm",[184,718,237],{"class":201},[10,720,721],{},"This will install all dependencies including Nuxt.js, Vue, and other required packages.",[19,723,725],{"id":724},"step-3-environment-configuration","Step 3: Environment Configuration",[10,727,728],{},"Create your environment configuration file:",[141,730,732],{"className":178,"code":731,"filename":647,"language":180,"meta":150,"style":150},"cp .env.example .env\n",[148,733,734],{"__ignoreMap":150},[184,735,736,738,740],{"class":186,"line":187},[184,737,266],{"class":197},[184,739,269],{"class":201},[184,741,272],{"class":201},[10,743,744,745,748],{},"Edit the ",[148,746,747],{},".env"," file with your WordPress site details:",[141,750,754],{"className":751,"code":752,"filename":747,"language":753,"meta":150,"style":150},"language-env shiki shiki-themes material-theme-palenight","# ─── Required ────────────────────────────────────────────────\n# WordPress GraphQL endpoint\nGQL_HOST=https:\u002F\u002Fyoursite.com\u002Fgraphql\n\n# Comma-separated list of image domains for @nuxt\u002Fimage optimization\nNUXT_IMAGE_DOMAINS=yoursite.com,cdn.yoursite.com\n\n# ─── Optional ────────────────────────────────────────────────\n# Origin header sent with GraphQL requests (defaults to http:\u002F\u002Flocalhost:3000)\nAPP_HOST=http:\u002F\u002Flocalhost:3000\n\n# ISR cache lifetime in seconds for product\u002Fcategory pages (default: 3600)\n# Increase for large catalogs (10 000+ products) to reduce build times\nCATALOG_ISR_TTL=3600\n\n# Override products per page set in WooNuxt Settings plugin\nNUXT_PUBLIC_PRODUCTS_PER_PAGE=24\n\n# Stripe publishable key (overrides value fetched from WordPress)\nNUXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...\n\n# Override brand primary color (hex, overrides WooNuxt Settings plugin value)\nPRIMARY_COLOR=#7F54B2\n","env",[148,755,756,761,766,771,775,780,785,789,794,799,804,808,813,818,823,827,832,837,841,846,852,857,863],{"__ignoreMap":150},[184,757,758],{"class":186,"line":187},[184,759,760],{},"# ─── Required ────────────────────────────────────────────────\n",[184,762,763],{"class":186,"line":194},[184,764,765],{},"# WordPress GraphQL endpoint\n",[184,767,768],{"class":186,"line":208},[184,769,770],{},"GQL_HOST=https:\u002F\u002Fyoursite.com\u002Fgraphql\n",[184,772,773],{"class":186,"line":218},[184,774,222],{"emptyLinePlaceholder":221},[184,776,777],{"class":186,"line":225},[184,778,779],{},"# Comma-separated list of image domains for @nuxt\u002Fimage optimization\n",[184,781,782],{"class":186,"line":231},[184,783,784],{},"NUXT_IMAGE_DOMAINS=yoursite.com,cdn.yoursite.com\n",[184,786,787],{"class":186,"line":240},[184,788,222],{"emptyLinePlaceholder":221},[184,790,791],{"class":186,"line":246},[184,792,793],{},"# ─── Optional ────────────────────────────────────────────────\n",[184,795,796],{"class":186,"line":252},[184,797,798],{},"# Origin header sent with GraphQL requests (defaults to http:\u002F\u002Flocalhost:3000)\n",[184,800,801],{"class":186,"line":257},[184,802,803],{},"APP_HOST=http:\u002F\u002Flocalhost:3000\n",[184,805,806],{"class":186,"line":263},[184,807,222],{"emptyLinePlaceholder":221},[184,809,810],{"class":186,"line":275},[184,811,812],{},"# ISR cache lifetime in seconds for product\u002Fcategory pages (default: 3600)\n",[184,814,815],{"class":186,"line":280},[184,816,817],{},"# Increase for large catalogs (10 000+ products) to reduce build times\n",[184,819,820],{"class":186,"line":286},[184,821,822],{},"CATALOG_ISR_TTL=3600\n",[184,824,825],{"class":186,"line":292},[184,826,222],{"emptyLinePlaceholder":221},[184,828,829],{"class":186,"line":297},[184,830,831],{},"# Override products per page set in WooNuxt Settings plugin\n",[184,833,834],{"class":186,"line":303},[184,835,836],{},"NUXT_PUBLIC_PRODUCTS_PER_PAGE=24\n",[184,838,839],{"class":186,"line":314},[184,840,222],{"emptyLinePlaceholder":221},[184,842,843],{"class":186,"line":320},[184,844,845],{},"# Stripe publishable key (overrides value fetched from WordPress)\n",[184,847,849],{"class":186,"line":848},20,[184,850,851],{},"NUXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_test_...\n",[184,853,855],{"class":186,"line":854},21,[184,856,222],{"emptyLinePlaceholder":221},[184,858,860],{"class":186,"line":859},22,[184,861,862],{},"# Override brand primary color (hex, overrides WooNuxt Settings plugin value)\n",[184,864,866],{"class":186,"line":865},23,[184,867,868],{},"PRIMARY_COLOR=#7F54B2\n",[870,871,872,888],"table",{},[873,874,875],"thead",{},[876,877,878,882,885],"tr",{},[879,880,881],"th",{},"Variable",[879,883,884],{},"Required",[879,886,887],{},"Description",[889,890,891,905,917,930,946,958,970],"tbody",{},[876,892,893,899,902],{},[894,895,896],"td",{},[148,897,898],{},"GQL_HOST",[894,900,901],{},"✅",[894,903,904],{},"WordPress GraphQL endpoint",[876,906,907,912,914],{},[894,908,909],{},[148,910,911],{},"NUXT_IMAGE_DOMAINS",[894,913,901],{},[894,915,916],{},"Allowed image domains for optimization",[876,918,919,924,927],{},[894,920,921],{},[148,922,923],{},"APP_HOST",[894,925,926],{},"Not set",[894,928,929],{},"Origin header for GraphQL requests",[876,931,932,937,939],{},[894,933,934],{},[148,935,936],{},"CATALOG_ISR_TTL",[894,938,926],{},[894,940,941,942,945],{},"ISR cache TTL in seconds (default ",[148,943,944],{},"3600",")",[876,947,948,953,955],{},[894,949,950],{},[148,951,952],{},"NUXT_PUBLIC_PRODUCTS_PER_PAGE",[894,954,926],{},[894,956,957],{},"Overrides plugin setting",[876,959,960,965,967],{},[894,961,962],{},[148,963,964],{},"NUXT_PUBLIC_STRIPE_PUBLISHABLE_KEY",[894,966,926],{},[894,968,969],{},"Overrides Stripe key from plugin",[876,971,972,977,979],{},[894,973,974],{},[148,975,976],{},"PRIMARY_COLOR",[894,978,926],{},[894,980,981],{},"Overrides brand color from plugin",[19,983,985],{"id":984},"step-4-wordpress-setup","Step 4: WordPress Setup",[10,987,988,989,998,999,1002],{},"Before starting the frontend, you need to configure WordPress. Install the ",[14,990,991],{},[992,993,997],"a",{"href":994,"rel":995},"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fsettings-for-woonuxt\u002F",[996],"nofollow","Settings for WooNuxt"," plugin from ",[14,1000,1001],{},"Plugins > Add New","; it will automatically install and configure:",[27,1004,1005,1015,1025],{},[30,1006,1007,1014],{},[14,1008,1009],{},[992,1010,1013],{"href":1011,"rel":1012},"https:\u002F\u002Fwww.wpgraphql.com\u002F",[996],"WPGraphQL 2.17.0+"," - GraphQL API for WordPress",[30,1016,1017,1024],{},[14,1018,1019],{},[992,1020,1023],{"href":1021,"rel":1022},"https:\u002F\u002Fwoographql.com\u002F",[996],"WooGraphQL 1.0.2+"," - WooCommerce integration for GraphQL",[30,1026,1027,1034],{},[14,1028,1029],{},[992,1030,1033],{"href":1031,"rel":1032},"https:\u002F\u002Fgithub.com\u002FAxeWP\u002Fwp-graphql-headless-login",[996],"WPGraphQL Headless Login 0.4.4+"," - Authentication for headless sites",[10,1036,1037],{},[14,1038,1039],{},[992,1040,1042],{"href":994,"rel":1041},[996],"Install Settings for WooNuxt from WordPress.org",[1044,1045,1046],"tip",{},[10,1047,1048,1049,1052],{},"See the ",[992,1050,1051],{"href":351},"WordPress Setup Guide"," for complete installation instructions.",[19,1054,1056],{"id":1055},"step-5-start-development-server","Step 5: Start Development Server",[10,1058,1059],{},"Once WordPress is configured, start your WooNuxt development server:",[141,1061,1063],{"className":178,"code":1062,"filename":647,"language":180,"meta":150,"style":150},"# Using npm\nnpm run dev\n\n# Or using yarn\nyarn dev\n\n# Or using pnpm\npnpm dev\n",[148,1064,1065,1069,1077,1081,1085,1091,1095,1099],{"__ignoreMap":150},[184,1066,1067],{"class":186,"line":187},[184,1068,680],{"class":190},[184,1070,1071,1073,1075],{"class":186,"line":194},[184,1072,234],{"class":197},[184,1074,308],{"class":201},[184,1076,311],{"class":201},[184,1078,1079],{"class":186,"line":208},[184,1080,222],{"emptyLinePlaceholder":221},[184,1082,1083],{"class":186,"line":218},[184,1084,695],{"class":190},[184,1086,1087,1089],{"class":186,"line":225},[184,1088,700],{"class":197},[184,1090,311],{"class":201},[184,1092,1093],{"class":186,"line":231},[184,1094,222],{"emptyLinePlaceholder":221},[184,1096,1097],{"class":186,"line":240},[184,1098,711],{"class":190},[184,1100,1101,1103],{"class":186,"line":246},[184,1102,716],{"class":197},[184,1104,311],{"class":201},[10,1106,1107],{},"Your store should now be running at:",[141,1109,1112],{"className":1110,"code":1111,"language":146},[144],"http:\u002F\u002Flocalhost:3000\n",[148,1113,1111],{"__ignoreMap":150},[1115,1116,1117],"success",{},[10,1118,1119],{},"🎉 Congratulations! Your WooNuxt store is now running.",[19,1121,1123],{"id":1122},"optional-ssl-for-local-development","Optional: SSL for Local Development",[10,1125,1126],{},"If you need HTTPS for local development (for testing payment gateways, PWA features, or third-party integrations):",[1128,1129,1131],"h3",{"id":1130},"install-mkcert","Install mkcert",[141,1133,1136],{"className":178,"code":1134,"filename":1135,"language":180,"meta":150,"style":150},"# macOS (Homebrew)\nbrew install mkcert\n\n# Linux\nsudo apt install mkcert   # Debian\u002FUbuntu\nsudo yum install mkcert    # Fedora\u002FRHEL\n","macOS\u002FLinux",[148,1137,1138,1143,1154,1158,1163,1179],{"__ignoreMap":150},[184,1139,1140],{"class":186,"line":187},[184,1141,1142],{"class":190},"# macOS (Homebrew)\n",[184,1144,1145,1148,1151],{"class":186,"line":194},[184,1146,1147],{"class":197},"brew",[184,1149,1150],{"class":201}," install",[184,1152,1153],{"class":201}," mkcert\n",[184,1155,1156],{"class":186,"line":208},[184,1157,222],{"emptyLinePlaceholder":221},[184,1159,1160],{"class":186,"line":218},[184,1161,1162],{"class":190},"# Linux\n",[184,1164,1165,1168,1171,1173,1176],{"class":186,"line":225},[184,1166,1167],{"class":197},"sudo",[184,1169,1170],{"class":201}," apt",[184,1172,1150],{"class":201},[184,1174,1175],{"class":201}," mkcert",[184,1177,1178],{"class":190},"   # Debian\u002FUbuntu\n",[184,1180,1181,1183,1186,1188,1190],{"class":186,"line":231},[184,1182,1167],{"class":197},[184,1184,1185],{"class":201}," yum",[184,1187,1150],{"class":201},[184,1189,1175],{"class":201},[184,1191,1192],{"class":190},"    # Fedora\u002FRHEL\n",[141,1194,1199],{"className":1195,"code":1196,"filename":1197,"language":1198,"meta":150,"style":150},"language-powershell shiki shiki-themes material-theme-palenight","# Using Chocolatey\nchoco install mkcert\n\n# Or using Scoop\nscoop install mkcert\n","Windows","powershell",[148,1200,1201,1206,1211,1215,1220],{"__ignoreMap":150},[184,1202,1203],{"class":186,"line":187},[184,1204,1205],{},"# Using Chocolatey\n",[184,1207,1208],{"class":186,"line":194},[184,1209,1210],{},"choco install mkcert\n",[184,1212,1213],{"class":186,"line":208},[184,1214,222],{"emptyLinePlaceholder":221},[184,1216,1217],{"class":186,"line":218},[184,1218,1219],{},"# Or using Scoop\n",[184,1221,1222],{"class":186,"line":225},[184,1223,1224],{},"scoop install mkcert\n",[1128,1226,1228],{"id":1227},"generate-certificate","Generate Certificate",[141,1230,1232],{"className":178,"code":1231,"filename":647,"language":180,"meta":150,"style":150},"mkcert localhost\n",[148,1233,1234],{"__ignoreMap":150},[184,1235,1236,1239],{"class":186,"line":187},[184,1237,1238],{"class":197},"mkcert",[184,1240,1241],{"class":201}," localhost\n",[10,1243,1244,1245,1248,1249,1252],{},"This creates ",[148,1246,1247],{},"localhost.pem"," and ",[148,1250,1251],{},"localhost-key.pem"," files in your current directory.",[1128,1254,1256],{"id":1255},"install-certificate-authority","Install Certificate Authority",[141,1258,1260],{"className":178,"code":1259,"filename":647,"language":180,"meta":150,"style":150},"mkcert -install\n",[148,1261,1262],{"__ignoreMap":150},[184,1263,1264,1266],{"class":186,"line":187},[184,1265,1238],{"class":197},[184,1267,1268],{"class":201}," -install\n",[1128,1270,1272],{"id":1271},"start-with-ssl","Start with SSL",[141,1274,1276],{"className":178,"code":1275,"filename":647,"language":180,"meta":150,"style":150},"# Using npm\nnpm run dev:ssl\n\n# Or using yarn\nyarn dev:ssl\n\n# Or using pnpm\npnpm dev:ssl\n",[148,1277,1278,1282,1291,1295,1299,1305,1309,1313],{"__ignoreMap":150},[184,1279,1280],{"class":186,"line":187},[184,1281,680],{"class":190},[184,1283,1284,1286,1288],{"class":186,"line":194},[184,1285,234],{"class":197},[184,1287,308],{"class":201},[184,1289,1290],{"class":201}," dev:ssl\n",[184,1292,1293],{"class":186,"line":208},[184,1294,222],{"emptyLinePlaceholder":221},[184,1296,1297],{"class":186,"line":218},[184,1298,695],{"class":190},[184,1300,1301,1303],{"class":186,"line":225},[184,1302,700],{"class":197},[184,1304,1290],{"class":201},[184,1306,1307],{"class":186,"line":231},[184,1308,222],{"emptyLinePlaceholder":221},[184,1310,1311],{"class":186,"line":240},[184,1312,711],{"class":190},[184,1314,1315,1317],{"class":186,"line":246},[184,1316,716],{"class":197},[184,1318,1290],{"class":201},[10,1320,1321,1322,1325],{},"Your store will now be available at ",[148,1323,1324],{},"https:\u002F\u002Flocalhost:3000"," with a valid SSL certificate.",[1044,1327,1328],{},[10,1329,1330,1331,1334,1335,1338,1339,1344],{},"The ",[148,1332,1333],{},"dev:ssl"," script must be configured in your ",[148,1336,1337],{},"package.json",". Check the ",[992,1340,1343],{"href":1341,"rel":1342},"https:\u002F\u002Fgithub.com\u002Fscottyzen\u002Fwoonuxt",[996],"WooNuxt repository"," for the latest configuration.",[19,1346,1348],{"id":1347},"verify-installation","Verify Installation",[10,1350,1351],{},"Check that everything is working:",[1353,1354,1355,1363,1369,1375,1381],"ol",{},[30,1356,1357,1360,1361],{},[14,1358,1359],{},"Homepage loads"," - Navigate to ",[148,1362,329],{},[30,1364,1365,1368],{},[14,1366,1367],{},"Products display"," - Products from WooCommerce appear",[30,1370,1371,1374],{},[14,1372,1373],{},"No errors"," - Check browser console (F12) for errors",[30,1376,1377,1380],{},[14,1378,1379],{},"Images load"," - Product images display correctly",[30,1382,1383,1386],{},[14,1384,1385],{},"Navigation works"," - Menu and links function properly",[19,1388,1390],{"id":1389},"common-issues","Common Issues",[10,1392,1393,1396,1397,1399,1400,1402],{},[14,1394,1395],{},"GraphQL connection errors?"," Verify your ",[148,1398,898],{}," in ",[148,1401,747],{}," matches your WordPress GraphQL endpoint and ensure the WooNuxt Settings plugin is installed.",[10,1404,1405,1408,1409,1414],{},[14,1406,1407],{},"Need help?"," Visit ",[992,1410,1413],{"href":1411,"rel":1412},"https:\u002F\u002Fgithub.com\u002Fscottyzen\u002Fwoonuxt\u002Fissues",[996],"GitHub Issues"," for support.",[19,1416,334],{"id":333},[336,1418,1419,1424,1430],{},[339,1420,1421],{"icon":349,"title":350,"to":351},[10,1422,1423],{},"Configure your WordPress backend with required plugins",[339,1425,1427],{"icon":1426,"title":172,"to":358},"i-lucide-zap",[10,1428,1429],{},"Get your store running in minutes",[339,1431,1433],{"icon":1432,"title":365,"to":366},"i-lucide-plug",[10,1434,369],{},[371,1436,1437],{},"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);}html pre.shiki code .s5Dmg, html code.shiki .s5Dmg{--shiki-default:#FFCB6B}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}html pre.shiki code .saEQR, html code.shiki .saEQR{--shiki-default:#676E95;--shiki-default-font-style:italic}",{"title":150,"searchDepth":194,"depth":194,"links":1439},[1440,1441,1442,1443,1444,1445,1451,1452,1453],{"id":639,"depth":194,"text":640},{"id":666,"depth":194,"text":667},{"id":724,"depth":194,"text":725},{"id":984,"depth":194,"text":985},{"id":1055,"depth":194,"text":1056},{"id":1122,"depth":194,"text":1123,"children":1446},[1447,1448,1449,1450],{"id":1130,"depth":208,"text":1131},{"id":1227,"depth":208,"text":1228},{"id":1255,"depth":208,"text":1256},{"id":1271,"depth":208,"text":1272},{"id":1347,"depth":194,"text":1348},{"id":1389,"depth":194,"text":1390},{"id":333,"depth":194,"text":334},"Step-by-step guide to installing WooNuxt",{},{"icon":341},"\u002Fgetting-started\u002Finstallation",{"title":342,"description":1454},"1.getting-started\u002F2.installation","RXd9kTZvAQ6zU85qDwWZNwNELM_k60zFAeyVq-r-wpY",{"id":1462,"title":1463,"body":1464,"description":1988,"extension":382,"links":383,"meta":1989,"navigation":1990,"path":1991,"seo":1992,"stem":1993,"__hash__":1994},"docs\u002F1.getting-started\u002F3.quick-start.md","Quick Start Guide",{"type":7,"value":1465,"toc":1977},[1466,1469,1473,1476,1506,1510,1513,1543,1546,1561,1565,1571,1600,1606,1623,1627,1630,1640,1721,1726,1730,1792,1798,1832,1836,1880,1886,1890,1893,1921,1923,1929,1939,1947,1956,1960,1963,1974],[10,1467,1468],{},"Follow these steps to get WooNuxt running quickly. This is the condensed version - see detailed sections for more information.",[19,1470,1472],{"id":1471},"step-1-prerequisites-checklist","Step 1: Prerequisites Checklist",[10,1474,1475],{},"Make sure you have everything ready:",[1477,1478,1479],"checklist",{},[27,1480,1481,1494,1497,1500,1503],{},[30,1482,1483,1488,1489],{},[992,1484,1487],{"href":1485,"rel":1486},"https:\u002F\u002Fwordpress.org\u002Fdownload\u002F",[996],"WordPress 7.0.0+"," with ",[992,1490,1493],{"href":1491,"rel":1492},"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwoocommerce\u002F",[996],"WooCommerce 10.9.1+",[30,1495,1496],{},"At least one product published",[30,1498,1499],{},"At least one product attribute configured (this is a prerequisite of WooGraphQL)",[30,1501,1502],{},"Permalinks set to \"Post name\"",[30,1504,1505],{},"Node.js 20+ installed locally",[19,1507,1509],{"id":1508},"step-2-install-woonuxt-settings-plugin","Step 2: Install WooNuxt Settings Plugin",[10,1511,1512],{},"This plugin is essential - it installs all dependencies automatically:",[1353,1514,1515,1524,1531,1537,1540],{},[30,1516,1517,1518,1520,1521],{},"In WordPress admin, go to ",[14,1519,1001],{}," and search for ",[992,1522,997],{"href":994,"rel":1523},[996],[30,1525,1526,1527,1530],{},"Click ",[14,1528,1529],{},"Install Now",", then activate the plugin",[30,1532,1533,1534],{},"Go to ",[14,1535,1536],{},"Settings > WooNuxt",[30,1538,1539],{},"Click \"Install Now\" for each required plugin",[30,1541,1542],{},"Wait for all plugins to show \"✅ Installed\"",[10,1544,1545],{},"Required plugins that will be installed:",[27,1547,1548,1553,1555],{},[30,1549,1550],{},[992,1551,1013],{"href":1011,"rel":1552},[996],[30,1554,1023],{},[30,1556,1557],{},[992,1558,1560],{"href":1031,"rel":1559},[996],"Headless Login for WPGraphQL 0.4.4+",[19,1562,1564],{"id":1563},"step-3-configure-woonuxt-settings","Step 3: Configure WooNuxt Settings",[10,1566,1567,1568,1570],{},"In ",[14,1569,1536],{},", configure these key settings:",[27,1572,1573,1579,1585,1594],{},[30,1574,1575,1578],{},[14,1576,1577],{},"Logo URL"," - Upload a logo to Media Library and paste the URL",[30,1580,1581,1584],{},[14,1582,1583],{},"Primary Color"," - Set your brand color (default: #7F54B2)",[30,1586,1587,1590,1591,1593],{},[14,1588,1589],{},"Front End URL"," - Set to ",[148,1592,329],{}," for development",[30,1595,1596,1599],{},[14,1597,1598],{},"Products Per Page"," - Set to 24 (or your preference)",[10,1601,1602,1605],{},[14,1603,1604],{},"Global Attributes"," - Add at least one product attribute for filtering:",[1353,1607,1608,1614,1617,1620],{},[30,1609,1526,1610,1613],{},[14,1611,1612],{},"Add New"," under Global Attributes",[30,1615,1616],{},"Select an attribute (Color, Size, etc.)",[30,1618,1619],{},"Configure display options",[30,1621,1622],{},"Save changes",[19,1624,1626],{"id":1625},"step-4-test-wordpress-graphql","Step 4: Test WordPress GraphQL",[10,1628,1629],{},"Verify your setup works:",[1353,1631,1632,1637],{},[30,1633,1533,1634],{},[14,1635,1636],{},"GraphQL > GraphiQL IDE",[30,1638,1639],{},"Run this test query:",[141,1641,1645],{"className":1642,"code":1643,"language":1644,"meta":150,"style":150},"language-graphql shiki shiki-themes material-theme-palenight","query TestSetup {\n  products(first: 5) {\n    nodes {\n      id\n      name\n      ... on SimpleProduct {\n        price\n      }\n    }\n  }\n  woonuxtSettings {\n    primary_color\n    logo\n  }\n}\n","graphql",[148,1646,1647,1652,1657,1662,1667,1672,1677,1682,1687,1692,1697,1702,1707,1712,1716],{"__ignoreMap":150},[184,1648,1649],{"class":186,"line":187},[184,1650,1651],{},"query TestSetup {\n",[184,1653,1654],{"class":186,"line":194},[184,1655,1656],{},"  products(first: 5) {\n",[184,1658,1659],{"class":186,"line":208},[184,1660,1661],{},"    nodes {\n",[184,1663,1664],{"class":186,"line":218},[184,1665,1666],{},"      id\n",[184,1668,1669],{"class":186,"line":225},[184,1670,1671],{},"      name\n",[184,1673,1674],{"class":186,"line":231},[184,1675,1676],{},"      ... on SimpleProduct {\n",[184,1678,1679],{"class":186,"line":240},[184,1680,1681],{},"        price\n",[184,1683,1684],{"class":186,"line":246},[184,1685,1686],{},"      }\n",[184,1688,1689],{"class":186,"line":252},[184,1690,1691],{},"    }\n",[184,1693,1694],{"class":186,"line":257},[184,1695,1696],{},"  }\n",[184,1698,1699],{"class":186,"line":263},[184,1700,1701],{},"  woonuxtSettings {\n",[184,1703,1704],{"class":186,"line":275},[184,1705,1706],{},"    primary_color\n",[184,1708,1709],{"class":186,"line":280},[184,1710,1711],{},"    logo\n",[184,1713,1714],{"class":186,"line":286},[184,1715,1696],{},[184,1717,1718],{"class":186,"line":292},[184,1719,1720],{},"}\n",[1115,1722,1723],{},[10,1724,1725],{},"If you see products and settings, WordPress is configured correctly! ✅",[19,1727,1729],{"id":1728},"step-5-clone-configure-frontend","Step 5: Clone & Configure Frontend",[141,1731,1733],{"className":178,"code":1732,"filename":647,"language":180,"meta":150,"style":150},"# Clone repository\ngit clone https:\u002F\u002Fgithub.com\u002Fscottyzen\u002Fwoonuxt.git\ncd woonuxt\n\n# Install dependencies\nnpm install\n# or: yarn install\n# or: pnpm install\n\n# Create environment file\ncp .env.example .env\n",[148,1734,1735,1740,1748,1754,1758,1762,1768,1772,1776,1780,1784],{"__ignoreMap":150},[184,1736,1737],{"class":186,"line":187},[184,1738,1739],{"class":190},"# Clone repository\n",[184,1741,1742,1744,1746],{"class":186,"line":194},[184,1743,198],{"class":197},[184,1745,202],{"class":201},[184,1747,205],{"class":201},[184,1749,1750,1752],{"class":186,"line":208},[184,1751,212],{"class":211},[184,1753,215],{"class":201},[184,1755,1756],{"class":186,"line":218},[184,1757,222],{"emptyLinePlaceholder":221},[184,1759,1760],{"class":186,"line":225},[184,1761,228],{"class":190},[184,1763,1764,1766],{"class":186,"line":231},[184,1765,234],{"class":197},[184,1767,237],{"class":201},[184,1769,1770],{"class":186,"line":240},[184,1771,243],{"class":190},[184,1773,1774],{"class":186,"line":246},[184,1775,249],{"class":190},[184,1777,1778],{"class":186,"line":252},[184,1779,222],{"emptyLinePlaceholder":221},[184,1781,1782],{"class":186,"line":257},[184,1783,260],{"class":190},[184,1785,1786,1788,1790],{"class":186,"line":263},[184,1787,266],{"class":197},[184,1789,269],{"class":201},[184,1791,272],{"class":201},[10,1793,1794,1795,1797],{},"Edit ",[148,1796,747],{},":",[141,1799,1801],{"className":178,"code":1800,"filename":747,"language":180,"meta":150,"style":150},"GQL_HOST=https:\u002F\u002Fyoursite.com\u002Fgraphql\nAPP_HOST=http:\u002F\u002Flocalhost:3000\nNUXT_IMAGE_DOMAINS=yoursite.com\n",[148,1802,1803,1815,1823],{"__ignoreMap":150},[184,1804,1805,1808,1812],{"class":186,"line":187},[184,1806,898],{"class":1807},"s0W1g",[184,1809,1811],{"class":1810},"sAklC","=",[184,1813,1814],{"class":201},"https:\u002F\u002Fyoursite.com\u002Fgraphql\n",[184,1816,1817,1819,1821],{"class":186,"line":194},[184,1818,923],{"class":1807},[184,1820,1811],{"class":1810},[184,1822,1111],{"class":201},[184,1824,1825,1827,1829],{"class":186,"line":208},[184,1826,911],{"class":1807},[184,1828,1811],{"class":1810},[184,1830,1831],{"class":201},"yoursite.com\n",[19,1833,1835],{"id":1834},"step-6-start-development-server","Step 6: Start Development Server",[141,1837,1838],{"className":178,"code":1062,"filename":647,"language":180,"meta":150,"style":150},[148,1839,1840,1844,1852,1856,1860,1866,1870,1874],{"__ignoreMap":150},[184,1841,1842],{"class":186,"line":187},[184,1843,680],{"class":190},[184,1845,1846,1848,1850],{"class":186,"line":194},[184,1847,234],{"class":197},[184,1849,308],{"class":201},[184,1851,311],{"class":201},[184,1853,1854],{"class":186,"line":208},[184,1855,222],{"emptyLinePlaceholder":221},[184,1857,1858],{"class":186,"line":218},[184,1859,695],{"class":190},[184,1861,1862,1864],{"class":186,"line":225},[184,1863,700],{"class":197},[184,1865,311],{"class":201},[184,1867,1868],{"class":186,"line":231},[184,1869,222],{"emptyLinePlaceholder":221},[184,1871,1872],{"class":186,"line":240},[184,1873,711],{"class":190},[184,1875,1876,1878],{"class":186,"line":246},[184,1877,716],{"class":197},[184,1879,311],{"class":201},[10,1881,1882,1883,1885],{},"Open ",[148,1884,329],{}," in your browser.",[19,1887,1889],{"id":1888},"step-7-verify-everything-works","Step 7: Verify Everything Works",[10,1891,1892],{},"Test these features:",[1477,1894,1895],{},[27,1896,1897,1900,1903,1906,1909,1912,1915,1918],{},[30,1898,1899],{},"Homepage loads with products",[30,1901,1902],{},"Product images display",[30,1904,1905],{},"Click on a product to view details",[30,1907,1908],{},"Add product to cart",[30,1910,1911],{},"Cart drawer opens",[30,1913,1914],{},"Filters appear (if attributes configured)",[30,1916,1917],{},"Search works",[30,1919,1920],{},"No console errors (F12 to check)",[19,1922,1390],{"id":1389},[10,1924,1925,1928],{},[14,1926,1927],{},"No products showing?"," Ensure products are published in WooCommerce and the WooNuxt Settings plugin is configured.",[10,1930,1931,1934,1935,1938],{},[14,1932,1933],{},"Filters not working?"," Add product attributes in WooCommerce and configure them in ",[14,1936,1937],{},"Settings > WooNuxt > Global Attributes",".",[10,1940,1941,1944,1945,1797],{},[14,1942,1943],{},"Images not loading?"," Add your WordPress domain to ",[148,1946,747],{},[141,1948,1950],{"className":751,"code":1949,"language":753,"meta":150,"style":150},"NUXT_IMAGE_DOMAINS=yoursite.com\n",[148,1951,1952],{"__ignoreMap":150},[184,1953,1954],{"class":186,"line":187},[184,1955,1949],{},[19,1957,1959],{"id":1958},"whats-next","What's Next?",[10,1961,1962],{},"Now that you're running, customize your store:",[336,1964,1965,1969],{},[339,1966,1967],{"icon":349,"title":350,"to":351},[10,1968,354],{},[339,1970,1972],{"icon":1971,"title":365,"to":366},"i-lucide-settings",[10,1973,369],{},[371,1975,1976],{},"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);}html pre.shiki code .saEQR, html code.shiki .saEQR{--shiki-default:#676E95;--shiki-default-font-style:italic}html pre.shiki code .s5Dmg, html code.shiki .s5Dmg{--shiki-default:#FFCB6B}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}html pre.shiki code .s0W1g, html code.shiki .s0W1g{--shiki-default:#BABED8}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}",{"title":150,"searchDepth":194,"depth":194,"links":1978},[1979,1980,1981,1982,1983,1984,1985,1986,1987],{"id":1471,"depth":194,"text":1472},{"id":1508,"depth":194,"text":1509},{"id":1563,"depth":194,"text":1564},{"id":1625,"depth":194,"text":1626},{"id":1728,"depth":194,"text":1729},{"id":1834,"depth":194,"text":1835},{"id":1888,"depth":194,"text":1889},{"id":1389,"depth":194,"text":1390},{"id":1958,"depth":194,"text":1959},"Get your WooNuxt store up and running in minutes",{},{"icon":1426},"\u002Fgetting-started\u002Fquick-start",{"title":1463,"description":1988},"1.getting-started\u002F3.quick-start","fqKcKgfVV6laATwNobpD1I4CjeWlfslvQAuvb1KeVX8",{"id":1996,"title":1997,"body":1998,"description":2822,"extension":382,"links":383,"meta":2823,"navigation":2824,"path":2826,"seo":2827,"stem":2828,"__hash__":2829},"docs\u002F1.getting-started\u002F4.customization.md","Customization & Architecture",{"type":7,"value":1999,"toc":2811},[2000,2006,2010,2013,2019,2026,2089,2095,2099,2110,2161,2164,2168,2344,2348,2351,2383,2387,2394,2477,2481,2495,2515,2519,2529,2757,2761,2768,2796,2808],[10,2001,2002,2003,2005],{},"WooNuxt uses ",[14,2004,138],{}," to separate core functionality from your customizations. You can override any component, page, composable, or style without touching the base layer. This also lets you pull in upstream updates without losing your changes.",[19,2007,2009],{"id":2008},"how-it-works","How It Works",[10,2011,2012],{},"The project has two layers:",[141,2014,2017],{"className":2015,"code":2016,"language":146},[144],"woonuxt\u002F                    ← Your project (customize here)\n├── app\u002F\n│   └── types\u002F             ← Type overrides\n├── nuxt.config.ts         ← Extends woonuxt_base\n└── ...\n\nwoonuxt_base\u002F              ← Core layer (do not edit directly)\n├── app\u002F\n│   ├── components\u002F        ← All default components\n│   ├── composables\u002F       ← All composables\n│   ├── pages\u002F             ← All pages\n│   ├── queries\u002F           ← All GraphQL queries\n│   └── assets\u002Fcss\u002F        ← Base styles\n└── nuxt.config.ts         ← Core Nuxt config\n",[148,2018,2016],{"__ignoreMap":150},[10,2020,2021,2022,2025],{},"Your root ",[148,2023,2024],{},"nuxt.config.ts"," extends the base:",[141,2027,2031],{"className":2028,"code":2029,"filename":2024,"language":2030,"meta":150,"style":150},"language-ts shiki shiki-themes material-theme-palenight","export default defineNuxtConfig({\n  extends: ['.\u002Fwoonuxt_base'],\n  \u002F\u002F your overrides here\n})\n","ts",[148,2032,2033,2051,2076,2081],{"__ignoreMap":150},[184,2034,2035,2039,2042,2045,2048],{"class":186,"line":187},[184,2036,2038],{"class":2037},"s6cf3","export",[184,2040,2041],{"class":2037}," default",[184,2043,2044],{"class":211}," defineNuxtConfig",[184,2046,2047],{"class":1807},"(",[184,2049,2050],{"class":1810},"{\n",[184,2052,2053,2057,2059,2062,2065,2068,2070,2073],{"class":186,"line":194},[184,2054,2056],{"class":2055},"s-wAU","  extends",[184,2058,1797],{"class":1810},[184,2060,2061],{"class":1807}," [",[184,2063,2064],{"class":1810},"'",[184,2066,2067],{"class":201},".\u002Fwoonuxt_base",[184,2069,2064],{"class":1810},[184,2071,2072],{"class":1807},"]",[184,2074,2075],{"class":1810},",\n",[184,2077,2078],{"class":186,"line":208},[184,2079,2080],{"class":190},"  \u002F\u002F your overrides here\n",[184,2082,2083,2086],{"class":186,"line":218},[184,2084,2085],{"class":1810},"}",[184,2087,2088],{"class":1807},")\n",[10,2090,2091,2092,1938],{},"Nuxt merges both layers at build time, with your root-level files taking priority over ",[148,2093,2094],{},"woonuxt_base",[19,2096,2098],{"id":2097},"overriding-components","Overriding Components",[10,2100,2101,2102,2105,2106,2109],{},"To override any component, create a file with the ",[14,2103,2104],{},"same name"," in your root ",[148,2107,2108],{},"app\u002Fcomponents\u002F"," folder:",[141,2111,2113],{"className":178,"code":2112,"language":180,"meta":150,"style":150},"# Example: override the default ProductCard\napp\u002F\n└── components\u002F\n    └── productElements\u002F\n        └── ProductCard.vue   ← your version wins\n",[148,2114,2115,2120,2125,2133,2141],{"__ignoreMap":150},[184,2116,2117],{"class":186,"line":187},[184,2118,2119],{"class":190},"# Example: override the default ProductCard\n",[184,2121,2122],{"class":186,"line":194},[184,2123,2124],{"class":197},"app\u002F\n",[184,2126,2127,2130],{"class":186,"line":208},[184,2128,2129],{"class":197},"└──",[184,2131,2132],{"class":201}," components\u002F\n",[184,2134,2135,2138],{"class":186,"line":218},[184,2136,2137],{"class":197},"    └──",[184,2139,2140],{"class":201}," productElements\u002F\n",[184,2142,2143,2146,2149,2152,2155,2158],{"class":186,"line":225},[184,2144,2145],{"class":197},"        └──",[184,2147,2148],{"class":201}," ProductCard.vue",[184,2150,2151],{"class":201},"   ←",[184,2153,2154],{"class":201}," your",[184,2156,2157],{"class":201}," version",[184,2159,2160],{"class":201}," wins\n",[10,2162,2163],{},"You don't need to copy the original. Create a new file at the same path and the base layer version is completely replaced.",[1128,2165,2167],{"id":2166},"example-custom-herobanner","Example: Custom HeroBanner",[141,2169,2174],{"className":2170,"code":2171,"filename":2172,"language":2173,"meta":150,"style":150},"language-vue shiki shiki-themes material-theme-palenight","\u003Ctemplate>\n  \u003Csection class=\"hero bg-primary text-white py-20\">\n    \u003Ch1 class=\"text-4xl font-bold\">{{ title }}\u003C\u002Fh1>\n    \u003Cp>{{ description }}\u003C\u002Fp>\n  \u003C\u002Fsection>\n\u003C\u002Ftemplate>\n\n\u003Cscript setup lang=\"ts\">\ndefineProps\u003C{ title: string; description: string }>()\n\u003C\u002Fscript>\n","app\u002Fcomponents\u002FgeneralElements\u002FHeroBanner.vue","vue",[148,2175,2176,2187,2211,2243,2260,2269,2277,2281,2304,2336],{"__ignoreMap":150},[184,2177,2178,2181,2184],{"class":186,"line":187},[184,2179,2180],{"class":1810},"\u003C",[184,2182,2183],{"class":2055},"template",[184,2185,2186],{"class":1810},">\n",[184,2188,2189,2192,2195,2199,2201,2204,2207,2209],{"class":186,"line":194},[184,2190,2191],{"class":1810},"  \u003C",[184,2193,2194],{"class":2055},"section",[184,2196,2198],{"class":2197},"sJ14y"," class",[184,2200,1811],{"class":1810},[184,2202,2203],{"class":1810},"\"",[184,2205,2206],{"class":201},"hero bg-primary text-white py-20",[184,2208,2203],{"class":1810},[184,2210,2186],{"class":1810},[184,2212,2213,2216,2219,2221,2223,2225,2228,2230,2233,2236,2239,2241],{"class":186,"line":208},[184,2214,2215],{"class":1810},"    \u003C",[184,2217,2218],{"class":2055},"h1",[184,2220,2198],{"class":2197},[184,2222,1811],{"class":1810},[184,2224,2203],{"class":1810},[184,2226,2227],{"class":201},"text-4xl font-bold",[184,2229,2203],{"class":1810},[184,2231,2232],{"class":1810},">",[184,2234,2235],{"class":1807},"{{ title }}",[184,2237,2238],{"class":1810},"\u003C\u002F",[184,2240,2218],{"class":2055},[184,2242,2186],{"class":1810},[184,2244,2245,2247,2249,2251,2254,2256,2258],{"class":186,"line":218},[184,2246,2215],{"class":1810},[184,2248,10],{"class":2055},[184,2250,2232],{"class":1810},[184,2252,2253],{"class":1807},"{{ description }}",[184,2255,2238],{"class":1810},[184,2257,10],{"class":2055},[184,2259,2186],{"class":1810},[184,2261,2262,2265,2267],{"class":186,"line":225},[184,2263,2264],{"class":1810},"  \u003C\u002F",[184,2266,2194],{"class":2055},[184,2268,2186],{"class":1810},[184,2270,2271,2273,2275],{"class":186,"line":231},[184,2272,2238],{"class":1810},[184,2274,2183],{"class":2055},[184,2276,2186],{"class":1810},[184,2278,2279],{"class":186,"line":240},[184,2280,222],{"emptyLinePlaceholder":221},[184,2282,2283,2285,2288,2291,2294,2296,2298,2300,2302],{"class":186,"line":246},[184,2284,2180],{"class":1810},[184,2286,2287],{"class":2055},"script",[184,2289,2290],{"class":2197}," setup",[184,2292,2293],{"class":2197}," lang",[184,2295,1811],{"class":1810},[184,2297,2203],{"class":1810},[184,2299,2030],{"class":201},[184,2301,2203],{"class":1810},[184,2303,2186],{"class":1810},[184,2305,2306,2309,2312,2315,2317,2320,2323,2326,2328,2330,2333],{"class":186,"line":252},[184,2307,2308],{"class":211},"defineProps",[184,2310,2311],{"class":1810},"\u003C{",[184,2313,2314],{"class":2055}," title",[184,2316,1797],{"class":1810},[184,2318,2319],{"class":197}," string",[184,2321,2322],{"class":1810},";",[184,2324,2325],{"class":2055}," description",[184,2327,1797],{"class":1810},[184,2329,2319],{"class":197},[184,2331,2332],{"class":1810}," }>",[184,2334,2335],{"class":1807},"()\n",[184,2337,2338,2340,2342],{"class":186,"line":257},[184,2339,2238],{"class":1810},[184,2341,2287],{"class":2055},[184,2343,2186],{"class":1810},[19,2345,2347],{"id":2346},"overriding-pages","Overriding Pages",[10,2349,2350],{},"The same principle applies. Create a page at the same path:",[141,2352,2354],{"className":178,"code":2353,"language":180,"meta":150,"style":150},"app\u002F\n└── pages\u002F\n    └── index.vue    ← replaces woonuxt_base\u002Fapp\u002Fpages\u002Findex.vue\n",[148,2355,2356,2360,2367],{"__ignoreMap":150},[184,2357,2358],{"class":186,"line":187},[184,2359,2124],{"class":197},[184,2361,2362,2364],{"class":186,"line":194},[184,2363,2129],{"class":197},[184,2365,2366],{"class":201}," pages\u002F\n",[184,2368,2369,2371,2374,2377,2380],{"class":186,"line":208},[184,2370,2137],{"class":197},[184,2372,2373],{"class":201}," index.vue",[184,2375,2376],{"class":201},"    ←",[184,2378,2379],{"class":201}," replaces",[184,2381,2382],{"class":201}," woonuxt_base\u002Fapp\u002Fpages\u002Findex.vue\n",[19,2384,2386],{"id":2385},"overriding-styles","Overriding Styles",[10,2388,2389,2390,2393],{},"Add custom CSS in ",[148,2391,2392],{},"app\u002Fassets\u002Fcss\u002Fmain.css",". Tailwind CSS 4 is configured via PostCSS, so extend the theme in your CSS directly:",[141,2395,2399],{"className":2396,"code":2397,"filename":2392,"language":2398,"meta":150,"style":150},"language-css shiki shiki-themes material-theme-palenight","@import \"tailwindcss\";\n\n\u002F* Extend or override Tailwind theme *\u002F\n@theme {\n  --color-primary: v-bind(primaryColor);\n}\n\n\u002F* Your custom styles *\u002F\n.my-custom-class {\n  \u002F* ... *\u002F\n}\n","css",[148,2400,2401,2417,2421,2426,2434,2446,2450,2454,2459,2468,2473],{"__ignoreMap":150},[184,2402,2403,2406,2409,2412,2414],{"class":186,"line":187},[184,2404,2405],{"class":2037},"@import",[184,2407,2408],{"class":1810}," \"",[184,2410,2411],{"class":201},"tailwindcss",[184,2413,2203],{"class":1810},[184,2415,2416],{"class":1810},";\n",[184,2418,2419],{"class":186,"line":194},[184,2420,222],{"emptyLinePlaceholder":221},[184,2422,2423],{"class":186,"line":208},[184,2424,2425],{"class":190},"\u002F* Extend or override Tailwind theme *\u002F\n",[184,2427,2428,2431],{"class":186,"line":218},[184,2429,2430],{"class":2037},"@theme",[184,2432,2433],{"class":1810}," {\n",[184,2435,2436,2439,2441,2444],{"class":186,"line":225},[184,2437,2438],{"class":1807},"  --color-primary",[184,2440,1797],{"class":1810},[184,2442,2443],{"class":1807}," v-bind(primaryColor)",[184,2445,2416],{"class":1810},[184,2447,2448],{"class":186,"line":231},[184,2449,1720],{"class":1810},[184,2451,2452],{"class":186,"line":240},[184,2453,222],{"emptyLinePlaceholder":221},[184,2455,2456],{"class":186,"line":246},[184,2457,2458],{"class":190},"\u002F* Your custom styles *\u002F\n",[184,2460,2461,2463,2466],{"class":186,"line":252},[184,2462,1938],{"class":1810},[184,2464,2465],{"class":197},"my-custom-class",[184,2467,2433],{"class":1810},[184,2469,2470],{"class":186,"line":257},[184,2471,2472],{"class":190},"  \u002F* ... *\u002F\n",[184,2474,2475],{"class":186,"line":263},[184,2476,1720],{"class":1810},[19,2478,2480],{"id":2479},"adding-custom-graphql-queries","Adding Custom GraphQL Queries",[10,2482,2483,2484,2487,2488,2491,2492,1797],{},"Place ",[148,2485,2486],{},".gql"," files in ",[148,2489,2490],{},"app\u002Fqueries\u002F",". These are picked up automatically by ",[148,2493,2494],{},"nuxt-graphql-client",[141,2496,2499],{"className":1642,"code":2497,"filename":2498,"language":1644,"meta":150,"style":150},"query GetMyCustomData {\n  # your query\n}\n","app\u002Fqueries\u002FgetMyCustomData.gql",[148,2500,2501,2506,2511],{"__ignoreMap":150},[184,2502,2503],{"class":186,"line":187},[184,2504,2505],{},"query GetMyCustomData {\n",[184,2507,2508],{"class":186,"line":194},[184,2509,2510],{},"  # your query\n",[184,2512,2513],{"class":186,"line":208},[184,2514,1720],{},[19,2516,2518],{"id":2517},"modifying-nuxtconfigts","Modifying nuxt.config.ts",[10,2520,2521,2522,2524,2525,2528],{},"Add modules, routes, or runtime config in the root ",[148,2523,2024],{},". It is ",[14,2526,2527],{},"merged"," with the base config, not replaced:",[141,2530,2532],{"className":2028,"code":2531,"filename":2024,"language":2030,"meta":150,"style":150},"export default defineNuxtConfig({\n  extends: ['.\u002Fwoonuxt_base'],\n\n  \u002F\u002F Add extra modules\n  modules: ['@nuxtjs\u002Fgoogle-fonts'],\n\n  \u002F\u002F Override runtime config\n  runtimeConfig: {\n    public: {\n      PRODUCTS_PER_PAGE: 12,\n    },\n  },\n\n  \u002F\u002F Add custom routes\n  hooks: {\n    'pages:extend'(pages) {\n      pages.push({ name: 'custom', path: '\u002Fcustom', file: '~\u002Fapp\u002Fpages\u002Fcustom.vue' })\n    },\n  },\n})\n",[148,2533,2534,2546,2564,2568,2573,2593,2597,2602,2611,2620,2633,2638,2643,2647,2652,2661,2681,2743,2747,2751],{"__ignoreMap":150},[184,2535,2536,2538,2540,2542,2544],{"class":186,"line":187},[184,2537,2038],{"class":2037},[184,2539,2041],{"class":2037},[184,2541,2044],{"class":211},[184,2543,2047],{"class":1807},[184,2545,2050],{"class":1810},[184,2547,2548,2550,2552,2554,2556,2558,2560,2562],{"class":186,"line":194},[184,2549,2056],{"class":2055},[184,2551,1797],{"class":1810},[184,2553,2061],{"class":1807},[184,2555,2064],{"class":1810},[184,2557,2067],{"class":201},[184,2559,2064],{"class":1810},[184,2561,2072],{"class":1807},[184,2563,2075],{"class":1810},[184,2565,2566],{"class":186,"line":208},[184,2567,222],{"emptyLinePlaceholder":221},[184,2569,2570],{"class":186,"line":218},[184,2571,2572],{"class":190},"  \u002F\u002F Add extra modules\n",[184,2574,2575,2578,2580,2582,2584,2587,2589,2591],{"class":186,"line":225},[184,2576,2577],{"class":2055},"  modules",[184,2579,1797],{"class":1810},[184,2581,2061],{"class":1807},[184,2583,2064],{"class":1810},[184,2585,2586],{"class":201},"@nuxtjs\u002Fgoogle-fonts",[184,2588,2064],{"class":1810},[184,2590,2072],{"class":1807},[184,2592,2075],{"class":1810},[184,2594,2595],{"class":186,"line":231},[184,2596,222],{"emptyLinePlaceholder":221},[184,2598,2599],{"class":186,"line":240},[184,2600,2601],{"class":190},"  \u002F\u002F Override runtime config\n",[184,2603,2604,2607,2609],{"class":186,"line":246},[184,2605,2606],{"class":2055},"  runtimeConfig",[184,2608,1797],{"class":1810},[184,2610,2433],{"class":1810},[184,2612,2613,2616,2618],{"class":186,"line":252},[184,2614,2615],{"class":2055},"    public",[184,2617,1797],{"class":1810},[184,2619,2433],{"class":1810},[184,2621,2622,2625,2627,2631],{"class":186,"line":257},[184,2623,2624],{"class":2055},"      PRODUCTS_PER_PAGE",[184,2626,1797],{"class":1810},[184,2628,2630],{"class":2629},"sx098"," 12",[184,2632,2075],{"class":1810},[184,2634,2635],{"class":186,"line":263},[184,2636,2637],{"class":1810},"    },\n",[184,2639,2640],{"class":186,"line":275},[184,2641,2642],{"class":1810},"  },\n",[184,2644,2645],{"class":186,"line":280},[184,2646,222],{"emptyLinePlaceholder":221},[184,2648,2649],{"class":186,"line":286},[184,2650,2651],{"class":190},"  \u002F\u002F Add custom routes\n",[184,2653,2654,2657,2659],{"class":186,"line":292},[184,2655,2656],{"class":2055},"  hooks",[184,2658,1797],{"class":1810},[184,2660,2433],{"class":1810},[184,2662,2663,2666,2669,2671,2673,2677,2679],{"class":186,"line":297},[184,2664,2665],{"class":1810},"    '",[184,2667,2668],{"class":201},"pages:extend",[184,2670,2064],{"class":1810},[184,2672,2047],{"class":1810},[184,2674,2676],{"class":2675},"s7ZW3","pages",[184,2678,945],{"class":1810},[184,2680,2433],{"class":1810},[184,2682,2683,2686,2688,2691,2693,2696,2699,2701,2704,2707,2709,2712,2715,2717,2719,2722,2724,2726,2729,2731,2733,2736,2738,2741],{"class":186,"line":303},[184,2684,2685],{"class":1807},"      pages",[184,2687,1938],{"class":1810},[184,2689,2690],{"class":211},"push",[184,2692,2047],{"class":2055},[184,2694,2695],{"class":1810},"{",[184,2697,2698],{"class":2055}," name",[184,2700,1797],{"class":1810},[184,2702,2703],{"class":1810}," '",[184,2705,2706],{"class":201},"custom",[184,2708,2064],{"class":1810},[184,2710,2711],{"class":1810},",",[184,2713,2714],{"class":2055}," path",[184,2716,1797],{"class":1810},[184,2718,2703],{"class":1810},[184,2720,2721],{"class":201},"\u002Fcustom",[184,2723,2064],{"class":1810},[184,2725,2711],{"class":1810},[184,2727,2728],{"class":2055}," file",[184,2730,1797],{"class":1810},[184,2732,2703],{"class":1810},[184,2734,2735],{"class":201},"~\u002Fapp\u002Fpages\u002Fcustom.vue",[184,2737,2064],{"class":1810},[184,2739,2740],{"class":1810}," }",[184,2742,2088],{"class":2055},[184,2744,2745],{"class":186,"line":314},[184,2746,2637],{"class":1810},[184,2748,2749],{"class":186,"line":320},[184,2750,2642],{"class":1810},[184,2752,2753,2755],{"class":186,"line":848},[184,2754,2085],{"class":1810},[184,2756,2088],{"class":1807},[19,2758,2760],{"id":2759},"what-should-not-be-edited","What Should NOT Be Edited",[10,2762,2763,2764,2767],{},"Avoid editing files inside ",[148,2765,2766],{},"woonuxt_base\u002F"," directly. Changes there will be lost when you pull upstream updates. If you need to change base behavior:",[27,2769,2770,2779,2788],{},[30,2771,2772,2775,2776,2778],{},[14,2773,2774],{},"Components"," → copy to ",[148,2777,2108],{}," with the same path",[30,2780,2781,2775,2784,2787],{},[14,2782,2783],{},"Composables",[148,2785,2786],{},"app\u002Fcomposables\u002F"," and adjust imports",[30,2789,2790,2793,2794],{},[14,2791,2792],{},"Config"," → override in root ",[148,2795,2024],{},[1044,2797,2798],{},[10,2799,2800,2801,2803,2804,2807],{},"Keep ",[148,2802,2766],{}," as a clean git submodule or subtree so you can ",[148,2805,2806],{},"git pull"," upstream changes without conflicts.",[371,2809,2810],{},"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);}html pre.shiki code .s6cf3, html code.shiki .s6cf3{--shiki-default:#89DDFF;--shiki-default-font-style:italic}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}html pre.shiki code .s0W1g, html code.shiki .s0W1g{--shiki-default:#BABED8}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .s-wAU, html code.shiki .s-wAU{--shiki-default:#F07178}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}html pre.shiki code .saEQR, html code.shiki .saEQR{--shiki-default:#676E95;--shiki-default-font-style:italic}html pre.shiki code .s5Dmg, html code.shiki .s5Dmg{--shiki-default:#FFCB6B}html pre.shiki code .sJ14y, html code.shiki .sJ14y{--shiki-default:#C792EA}html pre.shiki code .sx098, html code.shiki .sx098{--shiki-default:#F78C6C}html pre.shiki code .s7ZW3, html code.shiki .s7ZW3{--shiki-default:#BABED8;--shiki-default-font-style:italic}",{"title":150,"searchDepth":194,"depth":194,"links":2812},[2813,2814,2817,2818,2819,2820,2821],{"id":2008,"depth":194,"text":2009},{"id":2097,"depth":194,"text":2098,"children":2815},[2816],{"id":2166,"depth":208,"text":2167},{"id":2346,"depth":194,"text":2347},{"id":2385,"depth":194,"text":2386},{"id":2479,"depth":194,"text":2480},{"id":2517,"depth":194,"text":2518},{"id":2759,"depth":194,"text":2760},"How to customize WooNuxt using Nuxt Layers without modifying core files",{},{"icon":2825},"i-lucide-layers","\u002Fgetting-started\u002Fcustomization",{"title":1997,"description":2822},"1.getting-started\u002F4.customization","TQXXPgJnafGJzF4EjNo6WQW9TOhOZTKdfeiYDSlo-g0",{"id":2831,"title":2832,"body":2833,"description":3468,"extension":382,"links":383,"meta":3469,"navigation":3470,"path":3471,"seo":3472,"stem":3473,"__hash__":3474},"docs\u002F1.getting-started\u002F5.hooks.md","Hooks",{"type":7,"value":2834,"toc":3463},[2835,2840,2843,2847,2850,2950,2953,2957,2971,3012,3027,3145,3152,3290,3293,3297,3307,3313,3455,3460],[10,2836,2837,2838,1938],{},"WooNuxt hooks let you inject custom components at predefined locations in the storefront. They are useful when you only need to add a small piece of UI or logic and do not want to override a full page or component from ",[148,2839,2094],{},[10,2841,2842],{},"Hooks work with Nuxt layers, SSR, and static generation. Add your hook files to the root project or to a custom layer so upstream WooNuxt updates can still be pulled cleanly.",[19,2844,2846],{"id":2845},"available-hooks","Available Hooks",[10,2848,2849],{},"These hook outlets are currently rendered by WooNuxt:",[870,2851,2852,2865],{},[873,2853,2854],{},[876,2855,2856,2859,2862],{},[879,2857,2858],{},"Hook name",[879,2860,2861],{},"Context",[879,2863,2864],{},"Location",[889,2866,2867,2880,2892,2907,2921,2935],{},[876,2868,2869,2874,2877],{},[894,2870,2871],{},[148,2872,2873],{},"layout.header.beforeNav",[894,2875,2876],{},"none",[894,2878,2879],{},"Before the header logo and navigation area",[876,2881,2882,2887,2889],{},[894,2883,2884],{},[148,2885,2886],{},"layout.footer.bottom",[894,2888,2876],{},[894,2890,2891],{},"Bottom of the footer",[876,2893,2894,2899,2904],{},[894,2895,2896],{},[148,2897,2898],{},"product.summary.beforeTitle",[894,2900,2901],{},[148,2902,2903],{},"{ product }",[894,2905,2906],{},"Product page, before the product title",[876,2908,2909,2914,2918],{},[894,2910,2911],{},[148,2912,2913],{},"product.summary.afterPrice",[894,2915,2916],{},[148,2917,2903],{},[894,2919,2920],{},"Product page, after the product price",[876,2922,2923,2928,2932],{},[894,2924,2925],{},[148,2926,2927],{},"product.tabs.after",[894,2929,2930],{},[148,2931,2903],{},[894,2933,2934],{},"Product page, after product tabs",[876,2936,2937,2942,2947],{},[894,2938,2939],{},[148,2940,2941],{},"checkout.review.after",[894,2943,2944],{},[148,2945,2946],{},"{ checkout }",[894,2948,2949],{},"Checkout page, after the order note and review area",[10,2951,2952],{},"If no hook is registered for a location, WooNuxt renders nothing for that outlet and does not add an empty wrapper element.",[19,2954,2956],{"id":2955},"how-hooks-are-loaded","How Hooks Are Loaded",[10,2958,2959,2960,2963,2964,1248,2967,2970],{},"Create a ",[148,2961,2962],{},"hooks"," folder in your app or custom layer. WooNuxt automatically loads every ",[148,2965,2966],{},".ts",[148,2968,2969],{},".js"," file in that folder.",[141,2972,2974],{"className":178,"code":2973,"language":180,"meta":150,"style":150},"app\u002F\n├── components\u002F\n│   └── ProductTrustMessage.vue\n└── hooks\u002F\n    └── product.ts\n",[148,2975,2976,2980,2987,2998,3005],{"__ignoreMap":150},[184,2977,2978],{"class":186,"line":187},[184,2979,2124],{"class":197},[184,2981,2982,2985],{"class":186,"line":194},[184,2983,2984],{"class":197},"├──",[184,2986,2132],{"class":201},[184,2988,2989,2992,2995],{"class":186,"line":208},[184,2990,2991],{"class":197},"│",[184,2993,2994],{"class":201},"   └──",[184,2996,2997],{"class":201}," ProductTrustMessage.vue\n",[184,2999,3000,3002],{"class":186,"line":218},[184,3001,2129],{"class":197},[184,3003,3004],{"class":201}," hooks\u002F\n",[184,3006,3007,3009],{"class":186,"line":225},[184,3008,2137],{"class":197},[184,3010,3011],{"class":201}," product.ts\n",[10,3013,3014,3015,3018,3019,3022,3023,3026],{},"Register hooks with ",[148,3016,3017],{},"registerHook",". The ",[148,3020,3021],{},"name"," must match one of the available hook locations, and the ",[148,3024,3025],{},"id"," must be unique for that location.",[141,3028,3031],{"className":2028,"code":3029,"filename":3030,"language":2030,"meta":150,"style":150},"import ProductTrustMessage from '~\u002Fcomponents\u002FProductTrustMessage.vue'\n\nexport default () => {\n  registerHook({\n    name: 'product.summary.afterPrice',\n    id: 'product-trust-message',\n    renderer: ProductTrustMessage,\n    priority: 10,\n  })\n}\n","app\u002Fhooks\u002Fproduct.ts",[148,3032,3033,3052,3056,3070,3079,3094,3110,3122,3134,3141],{"__ignoreMap":150},[184,3034,3035,3038,3041,3044,3046,3049],{"class":186,"line":187},[184,3036,3037],{"class":2037},"import",[184,3039,3040],{"class":1807}," ProductTrustMessage ",[184,3042,3043],{"class":2037},"from",[184,3045,2703],{"class":1810},[184,3047,3048],{"class":201},"~\u002Fcomponents\u002FProductTrustMessage.vue",[184,3050,3051],{"class":1810},"'\n",[184,3053,3054],{"class":186,"line":194},[184,3055,222],{"emptyLinePlaceholder":221},[184,3057,3058,3060,3062,3065,3068],{"class":186,"line":208},[184,3059,2038],{"class":2037},[184,3061,2041],{"class":2037},[184,3063,3064],{"class":1810}," ()",[184,3066,3067],{"class":2197}," =>",[184,3069,2433],{"class":1810},[184,3071,3072,3075,3077],{"class":186,"line":218},[184,3073,3074],{"class":211},"  registerHook",[184,3076,2047],{"class":2055},[184,3078,2050],{"class":1810},[184,3080,3081,3084,3086,3088,3090,3092],{"class":186,"line":225},[184,3082,3083],{"class":2055},"    name",[184,3085,1797],{"class":1810},[184,3087,2703],{"class":1810},[184,3089,2913],{"class":201},[184,3091,2064],{"class":1810},[184,3093,2075],{"class":1810},[184,3095,3096,3099,3101,3103,3106,3108],{"class":186,"line":231},[184,3097,3098],{"class":2055},"    id",[184,3100,1797],{"class":1810},[184,3102,2703],{"class":1810},[184,3104,3105],{"class":201},"product-trust-message",[184,3107,2064],{"class":1810},[184,3109,2075],{"class":1810},[184,3111,3112,3115,3117,3120],{"class":186,"line":240},[184,3113,3114],{"class":2055},"    renderer",[184,3116,1797],{"class":1810},[184,3118,3119],{"class":1807}," ProductTrustMessage",[184,3121,2075],{"class":1810},[184,3123,3124,3127,3129,3132],{"class":186,"line":246},[184,3125,3126],{"class":2055},"    priority",[184,3128,1797],{"class":1810},[184,3130,3131],{"class":2629}," 10",[184,3133,2075],{"class":1810},[184,3135,3136,3139],{"class":186,"line":252},[184,3137,3138],{"class":1810},"  }",[184,3140,2088],{"class":2055},[184,3142,3143],{"class":186,"line":257},[184,3144,1720],{"class":1810},[10,3146,3147,3148,3151],{},"The registered component receives the hook context as a ",[148,3149,3150],{},"ctx"," prop.",[141,3153,3156],{"className":2170,"code":3154,"filename":3155,"language":2173,"meta":150,"style":150},"\u003Cscript setup lang=\"ts\">\ndefineProps\u003C{\n  ctx: {\n    product: {\n      name?: string\n    }\n  }\n}>()\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv class=\"mt-4 rounded-md border border-green-200 bg-green-50 p-3 text-sm text-green-800\">\n    Free returns and secure checkout for {{ ctx.product?.name || 'this product' }}.\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n","app\u002Fcomponents\u002FProductTrustMessage.vue",[148,3157,3158,3178,3185,3194,3203,3214,3218,3222,3229,3237,3241,3249,3269,3274,3282],{"__ignoreMap":150},[184,3159,3160,3162,3164,3166,3168,3170,3172,3174,3176],{"class":186,"line":187},[184,3161,2180],{"class":1810},[184,3163,2287],{"class":2055},[184,3165,2290],{"class":2197},[184,3167,2293],{"class":2197},[184,3169,1811],{"class":1810},[184,3171,2203],{"class":1810},[184,3173,2030],{"class":201},[184,3175,2203],{"class":1810},[184,3177,2186],{"class":1810},[184,3179,3180,3182],{"class":186,"line":194},[184,3181,2308],{"class":211},[184,3183,3184],{"class":1810},"\u003C{\n",[184,3186,3187,3190,3192],{"class":186,"line":208},[184,3188,3189],{"class":2055},"  ctx",[184,3191,1797],{"class":1810},[184,3193,2433],{"class":1810},[184,3195,3196,3199,3201],{"class":186,"line":218},[184,3197,3198],{"class":2055},"    product",[184,3200,1797],{"class":1810},[184,3202,2433],{"class":1810},[184,3204,3205,3208,3211],{"class":186,"line":225},[184,3206,3207],{"class":2055},"      name",[184,3209,3210],{"class":1810},"?:",[184,3212,3213],{"class":197}," string\n",[184,3215,3216],{"class":186,"line":231},[184,3217,1691],{"class":1810},[184,3219,3220],{"class":186,"line":240},[184,3221,1696],{"class":1810},[184,3223,3224,3227],{"class":186,"line":246},[184,3225,3226],{"class":1810},"}>",[184,3228,2335],{"class":1807},[184,3230,3231,3233,3235],{"class":186,"line":252},[184,3232,2238],{"class":1810},[184,3234,2287],{"class":2055},[184,3236,2186],{"class":1810},[184,3238,3239],{"class":186,"line":257},[184,3240,222],{"emptyLinePlaceholder":221},[184,3242,3243,3245,3247],{"class":186,"line":263},[184,3244,2180],{"class":1810},[184,3246,2183],{"class":2055},[184,3248,2186],{"class":1810},[184,3250,3251,3253,3256,3258,3260,3262,3265,3267],{"class":186,"line":275},[184,3252,2191],{"class":1810},[184,3254,3255],{"class":2055},"div",[184,3257,2198],{"class":2197},[184,3259,1811],{"class":1810},[184,3261,2203],{"class":1810},[184,3263,3264],{"class":201},"mt-4 rounded-md border border-green-200 bg-green-50 p-3 text-sm text-green-800",[184,3266,2203],{"class":1810},[184,3268,2186],{"class":1810},[184,3270,3271],{"class":186,"line":280},[184,3272,3273],{"class":1807},"    Free returns and secure checkout for {{ ctx.product?.name || 'this product' }}.\n",[184,3275,3276,3278,3280],{"class":186,"line":286},[184,3277,2264],{"class":1810},[184,3279,3255],{"class":2055},[184,3281,2186],{"class":1810},[184,3283,3284,3286,3288],{"class":186,"line":292},[184,3285,2238],{"class":1810},[184,3287,2183],{"class":2055},[184,3289,2186],{"class":1810},[10,3291,3292],{},"This renders the trust message after the product price on product pages without replacing the product page component.",[19,3294,3296],{"id":3295},"priority-and-conditions","Priority And Conditions",[10,3298,3299,3300,3303,3304,1938],{},"Use ",[148,3301,3302],{},"priority"," when multiple hooks are registered for the same location. Lower priority values render first. If no priority is set, WooNuxt uses ",[148,3305,3306],{},"10",[10,3308,3299,3309,3312],{},[148,3310,3311],{},"when"," to render a hook only for matching context.",[141,3314,3316],{"className":2028,"code":3315,"filename":3030,"language":2030,"meta":150,"style":150},"import SaleNotice from '~\u002Fcomponents\u002FSaleNotice.vue'\n\nexport default () => {\n  registerHook({\n    name: 'product.summary.beforeTitle',\n    id: 'sale-notice',\n    renderer: SaleNotice,\n    priority: 5,\n    when: ({ product }) => Boolean(product?.salePrice),\n  })\n}\n",[148,3317,3318,3334,3338,3350,3358,3372,3387,3398,3409,3445,3451],{"__ignoreMap":150},[184,3319,3320,3322,3325,3327,3329,3332],{"class":186,"line":187},[184,3321,3037],{"class":2037},[184,3323,3324],{"class":1807}," SaleNotice ",[184,3326,3043],{"class":2037},[184,3328,2703],{"class":1810},[184,3330,3331],{"class":201},"~\u002Fcomponents\u002FSaleNotice.vue",[184,3333,3051],{"class":1810},[184,3335,3336],{"class":186,"line":194},[184,3337,222],{"emptyLinePlaceholder":221},[184,3339,3340,3342,3344,3346,3348],{"class":186,"line":208},[184,3341,2038],{"class":2037},[184,3343,2041],{"class":2037},[184,3345,3064],{"class":1810},[184,3347,3067],{"class":2197},[184,3349,2433],{"class":1810},[184,3351,3352,3354,3356],{"class":186,"line":218},[184,3353,3074],{"class":211},[184,3355,2047],{"class":2055},[184,3357,2050],{"class":1810},[184,3359,3360,3362,3364,3366,3368,3370],{"class":186,"line":225},[184,3361,3083],{"class":2055},[184,3363,1797],{"class":1810},[184,3365,2703],{"class":1810},[184,3367,2898],{"class":201},[184,3369,2064],{"class":1810},[184,3371,2075],{"class":1810},[184,3373,3374,3376,3378,3380,3383,3385],{"class":186,"line":231},[184,3375,3098],{"class":2055},[184,3377,1797],{"class":1810},[184,3379,2703],{"class":1810},[184,3381,3382],{"class":201},"sale-notice",[184,3384,2064],{"class":1810},[184,3386,2075],{"class":1810},[184,3388,3389,3391,3393,3396],{"class":186,"line":240},[184,3390,3114],{"class":2055},[184,3392,1797],{"class":1810},[184,3394,3395],{"class":1807}," SaleNotice",[184,3397,2075],{"class":1810},[184,3399,3400,3402,3404,3407],{"class":186,"line":246},[184,3401,3126],{"class":2055},[184,3403,1797],{"class":1810},[184,3405,3406],{"class":2629}," 5",[184,3408,2075],{"class":1810},[184,3410,3411,3414,3416,3419,3422,3425,3427,3430,3432,3435,3438,3441,3443],{"class":186,"line":252},[184,3412,3413],{"class":211},"    when",[184,3415,1797],{"class":1810},[184,3417,3418],{"class":1810}," ({",[184,3420,3421],{"class":2675}," product",[184,3423,3424],{"class":1810}," })",[184,3426,3067],{"class":2197},[184,3428,3429],{"class":211}," Boolean",[184,3431,2047],{"class":2055},[184,3433,3434],{"class":1807},"product",[184,3436,3437],{"class":1810},"?.",[184,3439,3440],{"class":1807},"salePrice",[184,3442,945],{"class":2055},[184,3444,2075],{"class":1810},[184,3446,3447,3449],{"class":186,"line":257},[184,3448,3138],{"class":1810},[184,3450,2088],{"class":2055},[184,3452,3453],{"class":186,"line":263},[184,3454,1720],{"class":1810},[1044,3456,3457],{},[10,3458,3459],{},"Use hooks for small additions. If you need to restructure a page or replace core behavior, override the relevant page or component with a Nuxt layer instead.",[371,3461,3462],{},"html pre.shiki code .s5Dmg, html code.shiki .s5Dmg{--shiki-default:#FFCB6B}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}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);}html pre.shiki code .s6cf3, html code.shiki .s6cf3{--shiki-default:#89DDFF;--shiki-default-font-style:italic}html pre.shiki code .s0W1g, html code.shiki .s0W1g{--shiki-default:#BABED8}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .sJ14y, html code.shiki .sJ14y{--shiki-default:#C792EA}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}html pre.shiki code .s-wAU, html code.shiki .s-wAU{--shiki-default:#F07178}html pre.shiki code .sx098, html code.shiki .sx098{--shiki-default:#F78C6C}html pre.shiki code .s7ZW3, html code.shiki .s7ZW3{--shiki-default:#BABED8;--shiki-default-font-style:italic}",{"title":150,"searchDepth":194,"depth":194,"links":3464},[3465,3466,3467],{"id":2845,"depth":194,"text":2846},{"id":2955,"depth":194,"text":2956},{"id":3295,"depth":194,"text":3296},"Add custom UI to WooNuxt without overriding core components",{},{"icon":1432},"\u002Fgetting-started\u002Fhooks",{"title":2832,"description":3468},"1.getting-started\u002F5.hooks","YffLQyyD3pt7Ohi5ykEy8u9ZsNLpQ-lNnap2Jlx7AKM",{"id":3476,"title":350,"body":3477,"description":3668,"extension":382,"links":383,"meta":3669,"navigation":3670,"path":3671,"seo":3672,"stem":3673,"__hash__":3674},"docs\u002F2.wordpress-setup\u002F1.index.md",{"type":7,"value":3478,"toc":3660},[3479,3482,3486,3489,3493,3544,3548,3551,3569,3573,3576,3608,3612,3650,3653],[10,3480,3481],{},"This section covers everything you need to configure on the WordPress side for WooNuxt to work properly.",[19,3483,3485],{"id":3484},"overview","Overview",[10,3487,3488],{},"WooNuxt requires a properly configured WordPress installation with WooCommerce and several plugins to function as a headless eCommerce backend.",[19,3490,3492],{"id":3491},"required-components","Required Components",[27,3494,3495,3503,3511,3519,3527,3535],{},[30,3496,3497,3502],{},[14,3498,3499],{},[992,3500,1487],{"href":1485,"rel":3501},[996]," - Core WordPress installation with proper permalinks",[30,3504,3505,3510],{},[14,3506,3507],{},[992,3508,1493],{"href":1491,"rel":3509},[996]," - Fully configured with products, shipping, and payments",[30,3512,3513,3518],{},[14,3514,3515],{},[992,3516,997],{"href":994,"rel":3517},[996]," - Essential plugin that configures everything for you",[30,3520,3521,3526],{},[14,3522,3523],{},[992,3524,1013],{"href":1011,"rel":3525},[996]," - Exposes WordPress data via GraphQL (auto-installed)",[30,3528,3529,3534],{},[14,3530,3531],{},[992,3532,1023],{"href":1021,"rel":3533},[996]," - Adds WooCommerce support to WPGraphQL (auto-installed)",[30,3536,3537,3543],{},[14,3538,3539],{},[992,3540,3542],{"href":1031,"rel":3541},[996],"Headless Login 0.4.4+"," - Enables customer authentication (auto-installed)",[19,3545,3547],{"id":3546},"setup-process","Setup Process",[10,3549,3550],{},"Follow these guides in order:",[1353,3552,3553,3562],{},[30,3554,3555,3561],{},[14,3556,3557],{},[992,3558,3560],{"href":3559},"\u002Fdocs\u002Fwordpress-setup\u002Fconfiguration","Initial Configuration"," - Set up WordPress basics and permalinks",[30,3563,3564,3568],{},[14,3565,3566],{},[992,3567,365],{"href":366}," - Install and configure Settings for WooNuxt (version 2.5.20+)",[19,3570,3572],{"id":3571},"quick-checklist","Quick Checklist",[10,3574,3575],{},"Before proceeding to frontend setup, ensure:",[1477,3577,3578],{},[27,3579,3580,3582,3584,3587,3590,3593,3596,3599,3602,3605],{},[30,3581,1502],{},[30,3583,1496],{},[30,3585,3586],{},"Product attributes created and assigned",[30,3588,3589],{},"Shipping zones configured",[30,3591,3592],{},"Payment method enabled",[30,3594,3595],{},"WooNuxt Settings plugin installed",[30,3597,3598],{},"Required plugins auto-installed",[30,3600,3601],{},"Global attributes configured",[30,3603,3604],{},"GraphQL endpoint accessible",[30,3606,3607],{},"Test queries work in GraphiQL IDE",[19,3609,3611],{"id":3610},"why-this-setup-works","Why This Setup Works",[27,3613,3614,3620,3626,3632,3638,3644],{},[30,3615,3616,3619],{},[14,3617,3618],{},"⚡ Fast Performance",": Static generation and optimized delivery",[30,3621,3622,3625],{},[14,3623,3624],{},"🎨 Design Freedom",": Complete control over frontend appearance",[30,3627,3628,3631],{},[14,3629,3630],{},"🔒 Secure",": WordPress admin hidden from public",[30,3633,3634,3637],{},[14,3635,3636],{},"📈 Scalable",": Frontend can be deployed on CDN",[30,3639,3640,3643],{},[14,3641,3642],{},"🔧 Maintainable",": Updates to WordPress don't break frontend",[30,3645,3646,3649],{},[14,3647,3648],{},"🌍 Multi-Platform",": Same backend can power web, mobile, etc.",[19,3651,3652],{"id":1958},"What's Next",[336,3654,3655],{},[339,3656,3657],{"icon":1971,"title":3560,"to":3559},[10,3658,3659],{},"Set up WordPress permalinks and basic settings",{"title":150,"searchDepth":194,"depth":194,"links":3661},[3662,3663,3664,3665,3666,3667],{"id":3484,"depth":194,"text":3485},{"id":3491,"depth":194,"text":3492},{"id":3546,"depth":194,"text":3547},{"id":3571,"depth":194,"text":3572},{"id":3610,"depth":194,"text":3611},{"id":1958,"depth":194,"text":3652},"Configure WordPress and WooCommerce for WooNuxt",{},{"icon":349},"\u002Fwordpress-setup",{"title":350,"description":3668},"2.wordpress-setup\u002F1.index","QSH_MhH3i4aF3hnsNbHTZJLzJiTQEIljw73Q2cPhxrg",{"id":3676,"title":3560,"body":3677,"description":3786,"extension":382,"links":383,"meta":3787,"navigation":3788,"path":3789,"seo":3790,"stem":3791,"__hash__":3792},"docs\u002F2.wordpress-setup\u002F2.configuration.md",{"type":7,"value":3678,"toc":3781},[3679,3682,3686,3696,3716,3730,3734,3737,3763,3766,3768,3771],[10,3680,3681],{},"WooNuxt requires specific WordPress configuration to enable the GraphQL endpoint. This should only take a few minutes.",[19,3683,3685],{"id":3684},"configure-permalinks","Configure Permalinks",[3687,3688,3689],"warning",{},[10,3690,3691,3692,3695],{},"WPGraphQL requires pretty permalinks. Without this, your GraphQL endpoint at ",[148,3693,3694],{},"\u002Fgraphql"," won't be accessible.",[1353,3697,3698,3704,3711],{},[30,3699,1533,3700,3703],{},[14,3701,3702],{},"Settings > Permalinks"," in WordPress admin",[30,3705,3706,3707,3710],{},"Select ",[14,3708,3709],{},"Post name"," structure",[30,3712,1526,3713],{},[14,3714,3715],{},"Save Changes",[10,3717,3718,3719,3722,3723,3726,3727,3729],{},"This changes URLs from ",[148,3720,3721],{},"?p=123"," to ",[148,3724,3725],{},"\u002Fsample-post\u002F"," and enables the ",[148,3728,3694],{}," endpoint.",[19,3731,3733],{"id":3732},"verify-requirements","Verify Requirements",[10,3735,3736],{},"Ensure you have:",[27,3738,3739,3748,3757],{},[30,3740,3741,3744,3745],{},[14,3742,3743],{},"WordPress 6.8.3+"," - Check ",[14,3746,3747],{},"Dashboard > Updates",[30,3749,3750,3744,3753,3756],{},[14,3751,3752],{},"WooCommerce 10.3.5+",[14,3754,3755],{},"Plugins"," page",[30,3758,3759,3762],{},[14,3760,3761],{},"At least one published product"," - For testing the connection",[10,3764,3765],{},"That's it for WordPress configuration! The rest is handled by the WooNuxt Settings plugin.",[19,3767,3652],{"id":1958},[10,3769,3770],{},"Now install the required plugins:",[336,3772,3773],{},[339,3774,3776],{"icon":1432,"title":3775},"Install Plugins",[10,3777,3778],{},[992,3779,3780],{"href":366},"Continue to Plugin Installation →",{"title":150,"searchDepth":194,"depth":194,"links":3782},[3783,3784,3785],{"id":3684,"depth":194,"text":3685},{"id":3732,"depth":194,"text":3733},{"id":1958,"depth":194,"text":3652},"Configure WordPress basics for WooNuxt",{},{"icon":1971},"\u002Fwordpress-setup\u002Fconfiguration",{"title":3560,"description":3786},"2.wordpress-setup\u002F2.configuration","_MNEHn4oByp3HtbGJ0VT0DNKQYNNHwDAMWhH4sEvD3c",{"id":3794,"title":365,"body":3795,"description":5081,"extension":382,"links":383,"meta":5082,"navigation":5083,"path":5084,"seo":5085,"stem":5086,"__hash__":5087},"docs\u002F2.wordpress-setup\u002F3.plugins.md",{"type":7,"value":3796,"toc":5049},[3797,3800,3849,3853,3856,3876,3880,3883,3892,3896,3899,3941,3945,3948,4105,4109,4115,4138,4144,4148,4151,4155,4241,4244,4247,4282,4289,4293,4296,4315,4319,4322,4357,4361,4368,4493,4497,4500,4521,4523,4549,4561,4565,4568,4572,4578,4583,4587,4590,4596,4601,4619,4624,4638,4641,4644,4650,4673,4678,4692,4695,4698,4704,4709,4720,4723,4726,4729,4735,4740,4754,4760,4763,4766,4772,4777,4791,4796,4810,4817,4820,4823,4828,4831,4836,4867,4876,4879,4882,4887,4912,4915,4918,4921,4934,4939,4942,4945,5031,5033,5036,5046],[10,3798,3799],{},"The WooNuxt Settings plugin is the cornerstone of your WooNuxt setup. It automatically installs dependencies and provides a central configuration hub for your headless WooCommerce store.",[3255,3801,3810,3811],{"className":3802},[3803,3804,3805,3806,3807,3808,3809],"flex","items-center","justify-center","gap-4","mb-8","md:justify-start","not-prose","\n  ",[992,3812,3825,3826,3825,3841,3810],{"href":994,"className":3813},[3803,3804,3814,3815,3816,3817,3818,3819,3820,3821,3822,3823,3824],"gap-6","p-4","transition-shadow","duration-200","ease-in-out","bg-white","border","border-gray-300","border-dashed","rounded-lg","hover:shadow-md","\n    ",[3255,3827,3831,3832,3831,3836,3825],{"className":3828},[3803,3829,3830],"flex-col","flex-1","\n      ",[184,3833,997],{"className":3834},[3835],"font-semibold",[184,3837,3840],{"className":3838},[3839],"text-xs","Install from WordPress.org",[3842,3843],"img",{"className":3844,"width":3846,"height":3846,"src":3847,"alt":3848},[3845],"mr-2",36,"\u002Flogo.svg","Logo",[19,3850,3852],{"id":3851},"installation-steps","Installation Steps",[1128,3854,3840],{"id":3855},"install-from-wordpressorg",[1353,3857,3858,3863,3868],{},[30,3859,3860,3861],{},"In WordPress admin, navigate to ",[14,3862,1001],{},[30,3864,3865,3866],{},"Search for ",[14,3867,997],{},[30,3869,1526,3870,3872,3873],{},[14,3871,1529],{},", then ",[14,3874,3875],{},"Activate",[1128,3877,3879],{"id":3878},"access-settings","Access Settings",[10,3881,3882],{},"After activation, find the settings page:",[27,3884,3885,3889],{},[30,3886,1533,3887,3703],{},[14,3888,1536],{},[30,3890,3891],{},"You'll see a comprehensive dashboard with multiple sections",[19,3893,3895],{"id":3894},"what-the-plugin-does","What the Plugin Does",[10,3897,3898],{},"The WooNuxt Settings plugin handles the heavy lifting of WordPress configuration for your headless WooCommerce store.",[336,3900,3901,3907,3914,3921,3928,3935],{},[339,3902,3904],{"icon":341,"title":3903},"Auto-Install Dependencies",[10,3905,3906],{},"Automatically downloads and activates WPGraphQL, WooGraphQL, and Headless Login plugins",[339,3908,3911],{"icon":3909,"title":3910},"i-lucide-settings-2","GraphQL Configuration",[10,3912,3913],{},"Exposes all WooCommerce and WooNuxt settings via GraphQL API",[339,3915,3918],{"icon":3916,"title":3917},"i-lucide-credit-card","Payment Integration",[10,3919,3920],{},"Handles Stripe payment intent creation and exposes payment settings",[339,3922,3925],{"icon":3923,"title":3924},"i-lucide-filter","Product Filtering",[10,3926,3927],{},"Manages global product attributes for advanced filtering capabilities",[339,3929,3932],{"icon":3930,"title":3931},"i-lucide-palette","Brand Customization",[10,3933,3934],{},"Configure logo, primary colors, and visual branding",[339,3936,3938],{"icon":1426,"title":3937},"Deployment Hooks",[10,3939,3940],{},"Trigger Netlify\u002FVercel builds directly from WordPress",[19,3942,3944],{"id":3943},"required-dependencies","Required Dependencies",[10,3946,3947],{},"The plugin will automatically install these dependencies for you:",[3949,3950,3951,4007,4056],"code-group",{},[141,3952,3956],{"className":3953,"code":3954,"filename":1013,"language":3955,"meta":150,"style":150},"language-yaml shiki shiki-themes material-theme-palenight","Name: WPGraphQL\nPurpose: GraphQL API for WordPress\nDescription: Provides GraphQL endpoint at \u002Fgraphql\nURL: https:\u002F\u002Fwww.wpgraphql.com\u002F\nAuto-installed: ✅ Yes\n","yaml",[148,3957,3958,3968,3978,3987,3997],{"__ignoreMap":150},[184,3959,3960,3963,3965],{"class":186,"line":187},[184,3961,3962],{"class":2055},"Name",[184,3964,1797],{"class":1810},[184,3966,3967],{"class":201}," WPGraphQL\n",[184,3969,3970,3973,3975],{"class":186,"line":194},[184,3971,3972],{"class":2055},"Purpose",[184,3974,1797],{"class":1810},[184,3976,3977],{"class":201}," GraphQL API for WordPress\n",[184,3979,3980,3982,3984],{"class":186,"line":208},[184,3981,887],{"class":2055},[184,3983,1797],{"class":1810},[184,3985,3986],{"class":201}," Provides GraphQL endpoint at \u002Fgraphql\n",[184,3988,3989,3992,3994],{"class":186,"line":218},[184,3990,3991],{"class":2055},"URL",[184,3993,1797],{"class":1810},[184,3995,3996],{"class":201}," https:\u002F\u002Fwww.wpgraphql.com\u002F\n",[184,3998,3999,4002,4004],{"class":186,"line":225},[184,4000,4001],{"class":2055},"Auto-installed",[184,4003,1797],{"class":1810},[184,4005,4006],{"class":201}," ✅ Yes\n",[141,4008,4010],{"className":3953,"code":4009,"filename":1023,"language":3955,"meta":150,"style":150},"Name: WPGraphQL WooCommerce (WooGraphQL)\nPurpose: WooCommerce GraphQL integration\nDescription: Exposes WooCommerce data via GraphQL\nURL: https:\u002F\u002Fwoographql.com\u002F\nAuto-installed: ✅ Yes\n",[148,4011,4012,4021,4030,4039,4048],{"__ignoreMap":150},[184,4013,4014,4016,4018],{"class":186,"line":187},[184,4015,3962],{"class":2055},[184,4017,1797],{"class":1810},[184,4019,4020],{"class":201}," WPGraphQL WooCommerce (WooGraphQL)\n",[184,4022,4023,4025,4027],{"class":186,"line":194},[184,4024,3972],{"class":2055},[184,4026,1797],{"class":1810},[184,4028,4029],{"class":201}," WooCommerce GraphQL integration\n",[184,4031,4032,4034,4036],{"class":186,"line":208},[184,4033,887],{"class":2055},[184,4035,1797],{"class":1810},[184,4037,4038],{"class":201}," Exposes WooCommerce data via GraphQL\n",[184,4040,4041,4043,4045],{"class":186,"line":218},[184,4042,3991],{"class":2055},[184,4044,1797],{"class":1810},[184,4046,4047],{"class":201}," https:\u002F\u002Fwoographql.com\u002F\n",[184,4049,4050,4052,4054],{"class":186,"line":225},[184,4051,4001],{"class":2055},[184,4053,1797],{"class":1810},[184,4055,4006],{"class":201},[141,4057,4059],{"className":3953,"code":4058,"filename":3542,"language":3955,"meta":150,"style":150},"Name: WPGraphQL Headless Login\nPurpose: Headless authentication\nDescription: Enables login\u002Flogout via GraphQL mutations\nURL: https:\u002F\u002Fgithub.com\u002FAxeWP\u002Fwp-graphql-headless-login\nAuto-installed: ✅ Yes\n",[148,4060,4061,4070,4079,4088,4097],{"__ignoreMap":150},[184,4062,4063,4065,4067],{"class":186,"line":187},[184,4064,3962],{"class":2055},[184,4066,1797],{"class":1810},[184,4068,4069],{"class":201}," WPGraphQL Headless Login\n",[184,4071,4072,4074,4076],{"class":186,"line":194},[184,4073,3972],{"class":2055},[184,4075,1797],{"class":1810},[184,4077,4078],{"class":201}," Headless authentication\n",[184,4080,4081,4083,4085],{"class":186,"line":208},[184,4082,887],{"class":2055},[184,4084,1797],{"class":1810},[184,4086,4087],{"class":201}," Enables login\u002Flogout via GraphQL mutations\n",[184,4089,4090,4092,4094],{"class":186,"line":218},[184,4091,3991],{"class":2055},[184,4093,1797],{"class":1810},[184,4095,4096],{"class":201}," https:\u002F\u002Fgithub.com\u002FAxeWP\u002Fwp-graphql-headless-login\n",[184,4098,4099,4101,4103],{"class":186,"line":225},[184,4100,4001],{"class":2055},[184,4102,1797],{"class":1810},[184,4104,4006],{"class":201},[1128,4106,4108],{"id":4107},"auto-installation-process","Auto-Installation Process",[10,4110,4111,4112,4114],{},"When you visit ",[14,4113,1536],{}," for the first time:",[1353,4116,4117,4120,4127,4132,4135],{},[30,4118,4119],{},"The plugin checks for required dependencies",[30,4121,4122,4123,4126],{},"Shows ",[14,4124,4125],{},"\"Required Plugins\""," section with install buttons",[30,4128,1526,4129,4131],{},[14,4130,1529],{}," for each plugin",[30,4133,4134],{},"Plugins are downloaded, installed, and activated automatically",[30,4136,4137],{},"Once all plugins are installed, the section changes to deployment options",[4139,4140,4141],"note",{},[10,4142,4143],{},"The plugin uses secure AJAX requests with nonce verification to handle installations. Each plugin status is checked in real-time via jQuery.",[19,4145,4147],{"id":4146},"plugin-settings-overview","Plugin Settings Overview",[10,4149,4150],{},"Once installed, the WooNuxt Settings plugin provides these configuration options:",[1128,4152,4154],{"id":4153},"global-settings","Global Settings",[870,4156,4157,4169],{},[873,4158,4159],{},[876,4160,4161,4164,4166],{},[879,4162,4163],{},"Setting",[879,4165,887],{},[879,4167,4168],{},"GraphQL Field",[889,4170,4171,4185,4200,4214,4228],{},[876,4172,4173,4177,4180],{},[894,4174,4175],{},[14,4176,3848],{},[894,4178,4179],{},"Your site logo URL",[894,4181,4182],{},[148,4183,4184],{},"logo",[876,4186,4187,4192,4195],{},[894,4188,4189],{},[14,4190,4191],{},"Frontend URL",[894,4193,4194],{},"Your Nuxt site URL (not WordPress)",[894,4196,4197],{},[148,4198,4199],{},"frontEndUrl",[876,4201,4202,4206,4209],{},[894,4203,4204],{},[14,4205,1598],{},[894,4207,4208],{},"Pagination limit (default: 24)",[894,4210,4211],{},[148,4212,4213],{},"productsPerPage",[876,4215,4216,4220,4223],{},[894,4217,4218],{},[14,4219,1583],{},[894,4221,4222],{},"Brand color in hex format",[894,4224,4225],{},[148,4226,4227],{},"primary_color",[876,4229,4230,4235,4238],{},[894,4231,4232],{},[14,4233,4234],{},"Build Hook",[894,4236,4237],{},"Netlify\u002FVercel deployment webhook",[894,4239,4240],{},"-",[1128,4242,1604],{"id":4243},"global-attributes",[10,4245,4246],{},"Configure product attributes for filtering:",[27,4248,4249,4255,4264,4270,4276],{},[30,4250,4251,4254],{},[14,4252,4253],{},"Custom Label"," - Display name for the filter",[30,4256,4257,4260,4261,945],{},[14,4258,4259],{},"Attribute"," - WooCommerce attribute taxonomy (e.g., ",[148,4262,4263],{},"pa_color",[30,4265,4266,4269],{},[14,4267,4268],{},"Show Count"," - Display product count per term",[30,4271,4272,4275],{},[14,4273,4274],{},"Hide Empty"," - Hide attributes with no products",[30,4277,4278,4281],{},[14,4279,4280],{},"Open By Default"," - Expand filter by default",[10,4283,4284,4285,4288],{},"These settings are exposed via GraphQL as ",[148,4286,4287],{},"global_attributes"," array.",[1128,4290,4292],{"id":4291},"seo-settings","SEO Settings",[10,4294,4295],{},"Add social media handles:",[27,4297,4298,4304,4310],{},[30,4299,4300,4303],{},[14,4301,4302],{},"Provider"," - Social platform (Facebook, Twitter, Instagram, etc.)",[30,4305,4306,4309],{},[14,4307,4308],{},"Handle"," - Your username\u002Fhandle",[30,4311,4312,4314],{},[14,4313,3991],{}," - Full profile URL",[1128,4316,4318],{"id":4317},"stripe-configuration","Stripe Configuration",[10,4320,4321],{},"Stripe settings are automatically exposed via GraphQL:",[27,4323,4324,4330],{},[30,4325,4326,4327],{},"Reads from ",[14,4328,4329],{},"WooCommerce > Settings > Payments > Stripe",[30,4331,4332,4333,4336,4337],{},"Exposes ",[148,4334,4335],{},"stripeSettings"," with:\n",[27,4338,4339,4345,4351],{},[30,4340,4341,4344],{},[148,4342,4343],{},"enabled"," - Whether Stripe is active",[30,4346,4347,4350],{},[148,4348,4349],{},"testmode"," - Test or live mode",[30,4352,4353,4356],{},[148,4354,4355],{},"publishable_key"," - Public key based on environment",[19,4358,4360],{"id":4359},"graphql-schema","GraphQL Schema",[10,4362,4363,4364,4367],{},"After installation, the plugin adds ",[148,4365,4366],{},"woonuxtSettings"," to your GraphQL schema:",[141,4369,4371],{"className":1642,"code":4370,"language":1644,"meta":150,"style":150},"query getWooNuxtSettings {\n  woonuxtSettings {\n    primary_color\n    logo\n    publicIntrospectionEnabled\n    frontEndUrl\n    domain\n    maxPrice\n    productsPerPage\n    wooCommerceSettingsVersion\n    global_attributes {\n      slug\n      showCount\n      openByDefault\n      label\n      hideEmpty\n    }\n    stripeSettings {\n      enabled\n      testmode\n      test_publishable_key\n      publishable_key\n    }\n  }\n}\n",[148,4372,4373,4378,4382,4386,4390,4395,4400,4405,4410,4415,4420,4425,4430,4435,4440,4445,4450,4454,4459,4464,4469,4474,4479,4483,4488],{"__ignoreMap":150},[184,4374,4375],{"class":186,"line":187},[184,4376,4377],{},"query getWooNuxtSettings {\n",[184,4379,4380],{"class":186,"line":194},[184,4381,1701],{},[184,4383,4384],{"class":186,"line":208},[184,4385,1706],{},[184,4387,4388],{"class":186,"line":218},[184,4389,1711],{},[184,4391,4392],{"class":186,"line":225},[184,4393,4394],{},"    publicIntrospectionEnabled\n",[184,4396,4397],{"class":186,"line":231},[184,4398,4399],{},"    frontEndUrl\n",[184,4401,4402],{"class":186,"line":240},[184,4403,4404],{},"    domain\n",[184,4406,4407],{"class":186,"line":246},[184,4408,4409],{},"    maxPrice\n",[184,4411,4412],{"class":186,"line":252},[184,4413,4414],{},"    productsPerPage\n",[184,4416,4417],{"class":186,"line":257},[184,4418,4419],{},"    wooCommerceSettingsVersion\n",[184,4421,4422],{"class":186,"line":263},[184,4423,4424],{},"    global_attributes {\n",[184,4426,4427],{"class":186,"line":275},[184,4428,4429],{},"      slug\n",[184,4431,4432],{"class":186,"line":280},[184,4433,4434],{},"      showCount\n",[184,4436,4437],{"class":186,"line":286},[184,4438,4439],{},"      openByDefault\n",[184,4441,4442],{"class":186,"line":292},[184,4443,4444],{},"      label\n",[184,4446,4447],{"class":186,"line":297},[184,4448,4449],{},"      hideEmpty\n",[184,4451,4452],{"class":186,"line":303},[184,4453,1691],{},[184,4455,4456],{"class":186,"line":314},[184,4457,4458],{},"    stripeSettings {\n",[184,4460,4461],{"class":186,"line":320},[184,4462,4463],{},"      enabled\n",[184,4465,4466],{"class":186,"line":848},[184,4467,4468],{},"      testmode\n",[184,4470,4471],{"class":186,"line":854},[184,4472,4473],{},"      test_publishable_key\n",[184,4475,4476],{"class":186,"line":859},[184,4477,4478],{},"      publishable_key\n",[184,4480,4481],{"class":186,"line":865},[184,4482,1691],{},[184,4484,4486],{"class":186,"line":4485},24,[184,4487,1696],{},[184,4489,4491],{"class":186,"line":4490},25,[184,4492,1720],{},[19,4494,4496],{"id":4495},"verification","Verification",[10,4498,4499],{},"After installation, verify everything is working:",[1477,4501,4502],{},[27,4503,4504,4507,4510,4515,4518],{},[30,4505,4506],{},"WooNuxt Settings plugin is activated",[30,4508,4509],{},"All required plugins show as \"Installed\" in Settings > WooNuxt",[30,4511,4512,4513],{},"GraphQL endpoint is accessible at ",[148,4514,3694],{},[30,4516,4517],{},"WPGraphQL shows in WordPress admin sidebar",[30,4519,4520],{},"WooCommerce products are visible in GraphQL IDE",[19,4522,1390],{"id":1389},[10,4524,4525,4528,4529,4532,4533,4532,4538,4543,4544,1938],{},[14,4526,4527],{},"Plugin auto-installation fails?"," Ensure WordPress is 7.0.0+ and you have admin access. Manual installation: download ",[992,4530,40],{"href":1491,"rel":4531},[996],", ",[992,4534,4537],{"href":4535,"rel":4536},"https:\u002F\u002Fwordpress.org\u002Fplugins\u002Fwp-graphql\u002F",[996],"WPGraphQL",[992,4539,4542],{"href":4540,"rel":4541},"https:\u002F\u002Fgithub.com\u002Fwp-graphql\u002Fwp-graphql-woocommerce\u002Freleases",[996],"WooGraphQL",", and ",[992,4545,4548],{"href":4546,"rel":4547},"https:\u002F\u002Fgithub.com\u002FAxeWP\u002Fwp-graphql-headless-login\u002Freleases",[996],"WPGraphQL Headless Login",[10,4550,4551,4554,4555,4557,4558,4560],{},[14,4552,4553],{},"GraphQL endpoint not accessible?"," Go to ",[14,4556,3702],{}," and click ",[14,4559,3715],{}," to flush rewrite rules.",[19,4562,4564],{"id":4563},"plugin-configuration","Plugin Configuration",[10,4566,4567],{},"After installing the WooNuxt Settings plugin, configure it to connect your WordPress backend with your Nuxt frontend.",[1128,4569,4571],{"id":4570},"accessing-settings","Accessing Settings",[10,4573,4574,4575,4577],{},"Navigate to ",[14,4576,1536],{}," in your WordPress admin dashboard.",[4139,4579,4580],{},[10,4581,4582],{},"You'll see different sections based on whether all required plugins are installed. If dependencies are missing, you'll see the \"Required Plugins\" section first.",[1128,4584,4586],{"id":4585},"logo-configuration","Logo Configuration",[10,4588,4589],{},"Upload or specify your site logo:",[141,4591,4594],{"className":4592,"code":4593,"language":146},[144],"Logo URL: https:\u002F\u002Fyoursite.com\u002Fwp-content\u002Fuploads\u002Flogo.svg\n",[148,4595,4593],{"__ignoreMap":150},[10,4597,4598],{},[14,4599,4600],{},"How to set:",[1353,4602,4603,4609,4612,4615],{},[30,4604,4605,4606],{},"Upload logo to ",[14,4607,4608],{},"Media Library",[30,4610,4611],{},"Copy the file URL",[30,4613,4614],{},"Paste into the Logo field",[30,4616,1526,4617],{},[14,4618,3715],{},[10,4620,4621],{},[14,4622,4623],{},"Best practices:",[27,4625,4626,4629,4632,4635],{},[30,4627,4628],{},"Use SVG format for best quality",[30,4630,4631],{},"Recommended size: 200x50px to 400x100px",[30,4633,4634],{},"Transparent background works best",[30,4636,4637],{},"Logo appears in your Nuxt frontend header",[1128,4639,4191],{"id":4640},"frontend-url",[10,4642,4643],{},"Specify your Nuxt application URL (not your WordPress URL):",[141,4645,4648],{"className":4646,"code":4647,"language":146},[144],"Frontend URL: https:\u002F\u002Fyour-store.netlify.app\n",[148,4649,4647],{"__ignoreMap":150},[3687,4651,4652,4659],{},[10,4653,4654,4655,4658],{},"This should be your ",[14,4656,4657],{},"Nuxt site URL",", not your WordPress backend URL. Example:",[27,4660,4661,4667],{},[30,4662,4663,4664],{},"✅ Correct: ",[148,4665,4666],{},"https:\u002F\u002Fmystore.netlify.app",[30,4668,4669,4670],{},"❌ Wrong: ",[148,4671,4672],{},"https:\u002F\u002Fwordpress.mystore.com",[10,4674,4675],{},[14,4676,4677],{},"Use cases:",[27,4679,4680,4683,4686,4689],{},[30,4681,4682],{},"Links in emails point to frontend",[30,4684,4685],{},"Redirects after login\u002Flogout",[30,4687,4688],{},"CORS configuration",[30,4690,4691],{},"Social sharing links",[1128,4693,1598],{"id":4694},"products-per-page",[10,4696,4697],{},"Set pagination limit for product listings:",[141,4699,4702],{"className":4700,"code":4701,"language":146},[144],"Products Per Page: 24 (default)\n",[148,4703,4701],{"__ignoreMap":150},[10,4705,4706],{},[14,4707,4708],{},"Common values:",[27,4710,4711,4714,4717],{},[30,4712,4713],{},"12 - Fewer products, faster loading",[30,4715,4716],{},"24 - Balanced (default)",[30,4718,4719],{},"48 - More products per page",[10,4721,4722],{},"This value is exposed via GraphQL and used by your Nuxt frontend for pagination.",[1128,4724,1583],{"id":4725},"primary-color",[10,4727,4728],{},"Define your brand's primary color:",[141,4730,4733],{"className":4731,"code":4732,"language":146},[144],"Primary Color: #7F54B2 (default)\n",[148,4734,4732],{"__ignoreMap":150},[10,4736,4737],{},[14,4738,4739],{},"Features:",[27,4741,4742,4745,4748,4751],{},[30,4743,4744],{},"Color picker interface",[30,4746,4747],{},"Live preview of frontend elements",[30,4749,4750],{},"Hex color code input",[30,4752,4753],{},"Affects buttons, links, and interactive elements",[10,4755,4756,4757,4759],{},"The color is exposed via GraphQL as ",[148,4758,4227],{}," for your Nuxt theme.",[1128,4761,4234],{"id":4762},"build-hook",[10,4764,4765],{},"Trigger deployments from WordPress:",[141,4767,4770],{"className":4768,"code":4769,"language":146},[144],"Build Hook: https:\u002F\u002Fapi.netlify.com\u002Fbuild_hooks\u002Fyour_unique_id\n",[148,4771,4769],{"__ignoreMap":150},[10,4773,4774],{},[14,4775,4776],{},"Where to find:",[1353,4778,4779,4785],{},[30,4780,4781,4784],{},[14,4782,4783],{},"Netlify",": Site Settings > Build & Deploy > Build Hooks",[30,4786,4787,4790],{},[14,4788,4789],{},"Vercel",": Project Settings > Git > Deploy Hooks",[10,4792,4793],{},[14,4794,4795],{},"When to use:",[27,4797,4798,4801,4804,4807],{},[30,4799,4800],{},"After publishing new products",[30,4802,4803],{},"After updating content",[30,4805,4806],{},"After changing settings",[30,4808,4809],{},"Automatic deployments on save",[10,4811,4812,4813,4816],{},"Once configured, a ",[14,4814,4815],{},"Deploy"," button appears in the WooNuxt toolbar.",[1128,4818,1604],{"id":4819},"global-attributes-1",[10,4821,4822],{},"Global Attributes enable advanced product filtering on your frontend.",[10,4824,4825],{},[14,4826,4827],{},"What Are Global Attributes?",[10,4829,4830],{},"Product attributes in WooCommerce (like Color, Size, Material) that you want to use as filters across all product pages.",[10,4832,4833],{},[14,4834,4835],{},"Adding a Filter:",[1353,4837,4838,4843,4846,4849,4863],{},[30,4839,1526,4840,4842],{},[14,4841,1612],{}," button",[30,4844,4845],{},"Enter a custom label (e.g., \"Filter by Color\")",[30,4847,4848],{},"Select the attribute from dropdown (e.g., Color)",[30,4850,4851,4852],{},"Configure display options:\n",[27,4853,4854,4857,4860],{},[30,4855,4856],{},"☑️ Show Count - Display number of products",[30,4858,4859],{},"☑️ Hide Empty - Hide terms with 0 products",[30,4861,4862],{},"☑️ Open By Default - Start expanded",[30,4864,1526,4865],{},[14,4866,3715],{},[1044,4868,4869],{},[10,4870,4871,4872,4875],{},"Create product attributes first in ",[14,4873,4874],{},"Products > Attributes"," before configuring global attributes in WooNuxt Settings.",[1128,4877,4292],{"id":4878},"seo-settings-1",[10,4880,4881],{},"Configure social media profiles for rich meta tags:",[10,4883,4884],{},[14,4885,4886],{},"Adding Social Profiles:",[1353,4888,4889,4894,4897,4900,4908],{},[30,4890,1526,4891,4842],{},[14,4892,4893],{},"Add new",[30,4895,4896],{},"Enter provider name (e.g., \"facebook\", \"twitter\", \"instagram\")",[30,4898,4899],{},"Add your handle (e.g., \"@yourstore\")",[30,4901,4902,4903,4907],{},"Add full profile URL (e.g., \"",[992,4904,4905],{"href":4905,"rel":4906},"https:\u002F\u002Ffacebook.com\u002Fyourstore",[996],"\")",[30,4909,1526,4910],{},[14,4911,3715],{},[10,4913,4914],{},"These settings populate Open Graph and Twitter Card meta tags on your frontend for better social sharing.",[1128,4916,4318],{"id":4917},"stripe-configuration-1",[10,4919,4920],{},"Stripe settings are automatically pulled from WooCommerce:",[1353,4922,4923,4928,4931],{},[30,4924,4925,4926],{},"Configure Stripe in ",[14,4927,4329],{},[30,4929,4930],{},"WooNuxt Settings automatically exposes these via GraphQL",[30,4932,4933],{},"Your Nuxt frontend reads the appropriate key based on environment",[4139,4935,4936],{},[10,4937,4938],{},"The plugin intelligently returns test or live keys based on your WooCommerce Stripe mode setting.",[19,4940,4496],{"id":4941},"verification-1",[10,4943,4944],{},"After configuring settings, verify in GraphQL IDE:",[141,4946,4948],{"className":1642,"code":4947,"language":1644,"meta":150,"style":150},"query TestSettings {\n  woonuxtSettings {\n    logo\n    primary_color\n    frontEndUrl\n    productsPerPage\n    global_attributes {\n      label\n      slug\n      showCount\n      hideEmpty\n      openByDefault\n    }\n    stripeSettings {\n      enabled\n      testmode\n      publishable_key\n    }\n  }\n}\n",[148,4949,4950,4955,4959,4963,4967,4971,4975,4979,4983,4987,4991,4995,4999,5003,5007,5011,5015,5019,5023,5027],{"__ignoreMap":150},[184,4951,4952],{"class":186,"line":187},[184,4953,4954],{},"query TestSettings {\n",[184,4956,4957],{"class":186,"line":194},[184,4958,1701],{},[184,4960,4961],{"class":186,"line":208},[184,4962,1711],{},[184,4964,4965],{"class":186,"line":218},[184,4966,1706],{},[184,4968,4969],{"class":186,"line":225},[184,4970,4399],{},[184,4972,4973],{"class":186,"line":231},[184,4974,4414],{},[184,4976,4977],{"class":186,"line":240},[184,4978,4424],{},[184,4980,4981],{"class":186,"line":246},[184,4982,4444],{},[184,4984,4985],{"class":186,"line":252},[184,4986,4429],{},[184,4988,4989],{"class":186,"line":257},[184,4990,4434],{},[184,4992,4993],{"class":186,"line":263},[184,4994,4449],{},[184,4996,4997],{"class":186,"line":275},[184,4998,4439],{},[184,5000,5001],{"class":186,"line":280},[184,5002,1691],{},[184,5004,5005],{"class":186,"line":286},[184,5006,4458],{},[184,5008,5009],{"class":186,"line":292},[184,5010,4463],{},[184,5012,5013],{"class":186,"line":297},[184,5014,4468],{},[184,5016,5017],{"class":186,"line":303},[184,5018,4478],{},[184,5020,5021],{"class":186,"line":314},[184,5022,1691],{},[184,5024,5025],{"class":186,"line":320},[184,5026,1696],{},[184,5028,5029],{"class":186,"line":848},[184,5030,1720],{},[19,5032,3652],{"id":1958},[10,5034,5035],{},"With WordPress fully configured, you're ready to start building with WooNuxt!",[1115,5037,5038],{},[10,5039,5040,5041,5045],{},"Your WordPress backend is now configured and ready to power your headless WooCommerce store. Check out the ",[992,5042,5044],{"href":1341,"rel":5043},[996],"WooNuxt GitHub repository"," to get started with the frontend.",[371,5047,5048],{},"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);}html pre.shiki code .s-wAU, html code.shiki .s-wAU{--shiki-default:#F07178}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}",{"title":150,"searchDepth":194,"depth":194,"links":5050},[5051,5055,5056,5059,5065,5066,5067,5068,5079,5080],{"id":3851,"depth":194,"text":3852,"children":5052},[5053,5054],{"id":3855,"depth":208,"text":3840},{"id":3878,"depth":208,"text":3879},{"id":3894,"depth":194,"text":3895},{"id":3943,"depth":194,"text":3944,"children":5057},[5058],{"id":4107,"depth":208,"text":4108},{"id":4146,"depth":194,"text":4147,"children":5060},[5061,5062,5063,5064],{"id":4153,"depth":208,"text":4154},{"id":4243,"depth":208,"text":1604},{"id":4291,"depth":208,"text":4292},{"id":4317,"depth":208,"text":4318},{"id":4359,"depth":194,"text":4360},{"id":4495,"depth":194,"text":4496},{"id":1389,"depth":194,"text":1390},{"id":4563,"depth":194,"text":4564,"children":5069},[5070,5071,5072,5073,5074,5075,5076,5077,5078],{"id":4570,"depth":208,"text":4571},{"id":4585,"depth":208,"text":4586},{"id":4640,"depth":208,"text":4191},{"id":4694,"depth":208,"text":1598},{"id":4725,"depth":208,"text":1583},{"id":4762,"depth":208,"text":4234},{"id":4819,"depth":208,"text":1604},{"id":4878,"depth":208,"text":4292},{"id":4917,"depth":208,"text":4318},{"id":4941,"depth":194,"text":4496},{"id":1958,"depth":194,"text":3652},"Install and configure WooNuxt Settings plugin",{},{"icon":1432},"\u002Fwordpress-setup\u002Fplugins",{"title":365,"description":5081},"2.wordpress-setup\u002F3.plugins","Oeh2H9fVCBZ6Q47tyzwTzE_cyxt_BIf_3myMpuLIviA",{"id":5089,"title":5090,"body":5091,"description":5659,"extension":382,"links":383,"meta":5660,"navigation":5661,"path":5663,"seo":5664,"stem":5665,"__hash__":5666},"docs\u002F3.configuration\u002F1.deployment.md","Deployment",{"type":7,"value":5092,"toc":5640},[5093,5096,5100,5162,5165,5169,5195,5223,5227,5230,5255,5258,5261,5336,5340,5354,5358,5361,5416,5423,5427,5430,5437,5445,5449,5463,5497,5506,5509,5520,5530,5533,5558,5567,5571,5574,5630,5637],[10,5094,5095],{},"WooNuxt supports three output modes. Choose the one that fits your hosting and catalog size.",[19,5097,5099],{"id":5098},"output-modes","Output Modes",[870,5101,5102,5115],{},[873,5103,5104],{},[876,5105,5106,5109,5112],{},[879,5107,5108],{},"Mode",[879,5110,5111],{},"Command",[879,5113,5114],{},"Best For",[889,5116,5117,5132,5147],{},[876,5118,5119,5124,5129],{},[894,5120,5121],{},[14,5122,5123],{},"Static (SSG)",[894,5125,5126],{},[148,5127,5128],{},"nuxt generate",[894,5130,5131],{},"Small–medium catalogs, cheapest hosting",[876,5133,5134,5139,5144],{},[894,5135,5136],{},[14,5137,5138],{},"Server (SSR)",[894,5140,5141],{},[148,5142,5143],{},"nuxt build",[894,5145,5146],{},"Large catalogs, always-fresh data",[876,5148,5149,5154,5159],{},[894,5150,5151],{},[14,5152,5153],{},"Hybrid (ISR)",[894,5155,5156,5158],{},[148,5157,5143],{}," + ISR routes",[894,5160,5161],{},"Large catalogs with caching",[19,5163,4783],{"id":5164},"netlify",[1128,5166,5168],{"id":5167},"static-generation-recommended","Static Generation (Recommended)",[1353,5170,5171,5174,5184,5192],{},[30,5172,5173],{},"Connect your GitHub repo in the Netlify dashboard",[30,5175,5176,5177,5180,5181],{},"Set ",[14,5178,5179],{},"Build command",": ",[148,5182,5183],{},"npm run generate",[30,5185,5176,5186,5180,5189],{},[14,5187,5188],{},"Publish directory",[148,5190,5191],{},".output\u002Fpublic",[30,5193,5194],{},"Add environment variables (see below)",[3687,5196,5197],{},[10,5198,5199,5200,5203,5204,5206,5207,5210,5211,5213,5214,5217,5218,5222],{},"The publish directory above is the critical fix for static hosting. Publishing ",[148,5201,5202],{},"dist"," instead of ",[148,5205,5191],{}," serves prerendered HTML without Nuxt's hashed ",[148,5208,5209],{},"\u002F_nuxt"," JS\u002FCSS bundle. The site then loads a blank page or fails to hydrate. ",[148,5212,5128],{}," always builds a static output on its own, so you don't need to set ",[148,5215,5216],{},"NITRO_PRESET=static"," or another preset override. See ",[992,5219,5221],{"href":5220},"#troubleshooting","Troubleshooting"," below.",[1128,5224,5226],{"id":5225},"build-hook-trigger-rebuild-from-wordpress","Build Hook (Trigger Rebuild from WordPress)",[10,5228,5229],{},"When content changes in WooCommerce (new products, price updates), you can trigger a rebuild automatically:",[1353,5231,5232,5239,5242,5249],{},[30,5233,5234,5235,5238],{},"In Netlify: ",[14,5236,5237],{},"Site settings > Build & deploy > Build hooks"," → create a hook",[30,5240,5241],{},"Copy the hook URL",[30,5243,5244,5245,5248],{},"In WordPress: ",[14,5246,5247],{},"Settings > WooNuxt > Build Hook"," → paste the URL",[30,5250,1526,5251,5254],{},[14,5252,5253],{},"Trigger Rebuild"," to test",[10,5256,5257],{},"The rebuild button appears in the WooNuxt Settings admin page only when a Build Hook URL is configured.",[19,5259,4789],{"id":5260},"vercel",[1353,5262,5263,5266,5273,5333],{},[30,5264,5265],{},"Import your GitHub repo in the Vercel dashboard",[30,5267,5268,5269,5272],{},"Framework preset: ",[14,5270,5271],{},"Nuxt.js"," (auto-detected)",[30,5274,5275,5276,5279,5280],{},"Build command and output directory come from the committed ",[148,5277,5278],{},"vercel.json",". Do not override them in the dashboard:\n",[141,5281,5285],{"className":5282,"code":5283,"filename":5278,"language":5284,"meta":150,"style":150},"language-json shiki shiki-themes material-theme-palenight","{\n  \"buildCommand\": \"npm run generate\",\n  \"outputDirectory\": \".output\u002Fpublic\"\n}\n","json",[148,5286,5287,5291,5311,5329],{"__ignoreMap":150},[184,5288,5289],{"class":186,"line":187},[184,5290,2050],{"class":1810},[184,5292,5293,5296,5299,5301,5303,5305,5307,5309],{"class":186,"line":194},[184,5294,5295],{"class":1810},"  \"",[184,5297,5298],{"class":2197},"buildCommand",[184,5300,2203],{"class":1810},[184,5302,1797],{"class":1810},[184,5304,2408],{"class":1810},[184,5306,5183],{"class":201},[184,5308,2203],{"class":1810},[184,5310,2075],{"class":1810},[184,5312,5313,5315,5318,5320,5322,5324,5326],{"class":186,"line":208},[184,5314,5295],{"class":1810},[184,5316,5317],{"class":2197},"outputDirectory",[184,5319,2203],{"class":1810},[184,5321,1797],{"class":1810},[184,5323,2408],{"class":1810},[184,5325,5191],{"class":201},[184,5327,5328],{"class":1810},"\"\n",[184,5330,5331],{"class":186,"line":218},[184,5332,1720],{"class":1810},[30,5334,5335],{},"Add environment variables",[1128,5337,5339],{"id":5338},"build-hook-for-vercel","Build Hook for Vercel",[1353,5341,5342,5348],{},[30,5343,5344,5345,5238],{},"In Vercel: ",[14,5346,5347],{},"Project > Settings > Git > Deploy Hooks",[30,5349,5350,5351,5353],{},"Copy the URL and paste it into ",[14,5352,5247],{}," in WordPress",[19,5355,5357],{"id":5356},"required-environment-variables","Required Environment Variables",[10,5359,5360],{},"Set these in your hosting provider's environment variables panel:",[141,5362,5364],{"className":751,"code":5363,"language":753,"meta":150,"style":150},"# Required in every environment\nGQL_HOST=https:\u002F\u002Fyourwordpress.com\u002Fgraphql\nNUXT_IMAGE_DOMAINS=yourwordpress.com,cdn.yourwordpress.com\n\n# Optional: overrides WooNuxt Settings plugin values\nNUXT_PUBLIC_PRODUCTS_PER_PAGE=24\nNUXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_...\nPRIMARY_COLOR=#7F54B2\n\n# Optional: ISR cache lifetime (SSR\u002Fhybrid mode only)\nCATALOG_ISR_TTL=3600\n",[148,5365,5366,5371,5376,5381,5385,5390,5394,5399,5403,5407,5412],{"__ignoreMap":150},[184,5367,5368],{"class":186,"line":187},[184,5369,5370],{},"# Required in every environment\n",[184,5372,5373],{"class":186,"line":194},[184,5374,5375],{},"GQL_HOST=https:\u002F\u002Fyourwordpress.com\u002Fgraphql\n",[184,5377,5378],{"class":186,"line":208},[184,5379,5380],{},"NUXT_IMAGE_DOMAINS=yourwordpress.com,cdn.yourwordpress.com\n",[184,5382,5383],{"class":186,"line":218},[184,5384,222],{"emptyLinePlaceholder":221},[184,5386,5387],{"class":186,"line":225},[184,5388,5389],{},"# Optional: overrides WooNuxt Settings plugin values\n",[184,5391,5392],{"class":186,"line":231},[184,5393,836],{},[184,5395,5396],{"class":186,"line":240},[184,5397,5398],{},"NUXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=pk_live_...\n",[184,5400,5401],{"class":186,"line":246},[184,5402,868],{},[184,5404,5405],{"class":186,"line":252},[184,5406,222],{"emptyLinePlaceholder":221},[184,5408,5409],{"class":186,"line":257},[184,5410,5411],{},"# Optional: ISR cache lifetime (SSR\u002Fhybrid mode only)\n",[184,5413,5414],{"class":186,"line":263},[184,5415,822],{},[10,5417,5418,1248,5420,5422],{},[148,5419,898],{},[148,5421,911],{}," are required for every deployment mode.",[19,5424,5426],{"id":5425},"launching-an-existing-store","Launching an existing store",[10,5428,5429],{},"Before committing to a launch date, inventory the store's payment gateways, checkout and shipping extensions, tax behaviour, and important indexed URLs. On staging, verify variations, guest and customer checkout, shipping quotes, coupons, payment outcomes, order confirmation, redirects, metadata, and canonical URLs. Agree a rollback plan before the production cutover.",[10,5431,5432,5433,1938],{},"Need help assessing an existing store or getting a staging deployment ready? ",[992,5434,5436],{"href":5435},"\u002Flaunch","Explore WooNuxt setup and launch support",[3687,5438,5439],{},[10,5440,5441,5442,5444],{},"Never commit your ",[148,5443,747],{}," file. All secrets should be set via your hosting provider's environment variables UI.",[1128,5446,5448],{"id":5447},"image-provider-optional","Image Provider (Optional)",[10,5450,5451,5452,5455,5456,5459,5460,5462],{},"For a static (SSG) deployment, leave ",[148,5453,5454],{},"NUXT_IMAGE_PROVIDER"," ",[14,5457,5458],{},"unset",". It defaults to ",[148,5461,2876],{},", which serves original WordPress image URLs directly. No server dependency is required.",[141,5464,5466],{"className":751,"code":5465,"language":753,"meta":150,"style":150},"# Do NOT set this for static deployments:\n# NUXT_IMAGE_PROVIDER=ipx   ← requires a running Nuxt server, breaks static hosting\n\n# Only set this if you deliberately want CDN image optimization:\nNUXT_IMAGE_PROVIDER=netlify   # on Netlify\nNUXT_IMAGE_PROVIDER=vercel    # on Vercel\n",[148,5467,5468,5473,5478,5482,5487,5492],{"__ignoreMap":150},[184,5469,5470],{"class":186,"line":187},[184,5471,5472],{},"# Do NOT set this for static deployments:\n",[184,5474,5475],{"class":186,"line":194},[184,5476,5477],{},"# NUXT_IMAGE_PROVIDER=ipx   ← requires a running Nuxt server, breaks static hosting\n",[184,5479,5480],{"class":186,"line":208},[184,5481,222],{"emptyLinePlaceholder":221},[184,5483,5484],{"class":186,"line":218},[184,5485,5486],{},"# Only set this if you deliberately want CDN image optimization:\n",[184,5488,5489],{"class":186,"line":225},[184,5490,5491],{},"NUXT_IMAGE_PROVIDER=netlify   # on Netlify\n",[184,5493,5494],{"class":186,"line":231},[184,5495,5496],{},"NUXT_IMAGE_PROVIDER=vercel    # on Vercel\n",[10,5498,5499,5502,5503,5505],{},[148,5500,5501],{},"ipx"," requires a running Nuxt server and will fail on static hosting. It only causes broken images, not the missing ",[148,5504,5209],{}," bundle issue described below.",[19,5507,5221],{"id":5508},"troubleshooting",[1128,5510,5512,5513,1248,5516,5519],{"id":5511},"html-loads-but-_nuxtjs-and-_nuxtcss-return-404","HTML loads, but ",[148,5514,5515],{},"\u002F_nuxt\u002F*.js",[148,5517,5518],{},"\u002F_nuxt\u002F*.css"," return 404",[10,5521,5522,5523,5525,5526,5203,5528,1938],{},"This means the deployed publish directory doesn't contain Nuxt's generated ",[148,5524,5209],{}," bundle. The usual cause is publishing ",[148,5527,5202],{},[148,5529,5191],{},[10,5531,5532],{},"Fix:",[27,5534,5535,5540,5545],{},[30,5536,5537,5538],{},"Netlify build command: ",[148,5539,5183],{},[30,5541,5542,5543],{},"Netlify publish directory: ",[148,5544,5191],{},[30,5546,5547,5548,5550,5551,1248,5554,5557],{},"Vercel: confirm ",[148,5549,5278],{}," still has ",[148,5552,5553],{},"buildCommand: \"npm run generate\"",[148,5555,5556],{},"outputDirectory: \".output\u002Fpublic\""," and hasn't been overridden in the dashboard.",[10,5559,5560,5561,5563,5564,5566],{},"You do not need ",[148,5562,5216],{}," or another preset override. ",[148,5565,5128],{}," always produces a static build on its own.",[19,5568,5570],{"id":5569},"ssl-for-local-development","SSL for Local Development",[10,5572,5573],{},"If you need HTTPS locally (Stripe, PWA, OAuth providers):",[141,5575,5577],{"className":178,"code":5576,"filename":647,"language":180,"meta":150,"style":150},"# Install mkcert\nbrew install mkcert\nmkcert -install\n\n# Generate local certificate\nmkcert localhost\n\n# Run dev server with SSL\nnpm run dev:ssl\n",[148,5578,5579,5584,5592,5598,5602,5607,5613,5617,5622],{"__ignoreMap":150},[184,5580,5581],{"class":186,"line":187},[184,5582,5583],{"class":190},"# Install mkcert\n",[184,5585,5586,5588,5590],{"class":186,"line":194},[184,5587,1147],{"class":197},[184,5589,1150],{"class":201},[184,5591,1153],{"class":201},[184,5593,5594,5596],{"class":186,"line":208},[184,5595,1238],{"class":197},[184,5597,1268],{"class":201},[184,5599,5600],{"class":186,"line":218},[184,5601,222],{"emptyLinePlaceholder":221},[184,5603,5604],{"class":186,"line":225},[184,5605,5606],{"class":190},"# Generate local certificate\n",[184,5608,5609,5611],{"class":186,"line":231},[184,5610,1238],{"class":197},[184,5612,1241],{"class":201},[184,5614,5615],{"class":186,"line":240},[184,5616,222],{"emptyLinePlaceholder":221},[184,5618,5619],{"class":186,"line":246},[184,5620,5621],{"class":190},"# Run dev server with SSL\n",[184,5623,5624,5626,5628],{"class":186,"line":252},[184,5625,234],{"class":197},[184,5627,308],{"class":201},[184,5629,1290],{"class":201},[10,5631,1330,5632,5634,5635,1938],{},[148,5633,1333],{}," script is pre-configured in ",[148,5636,1337],{},[371,5638,5639],{},"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);}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .sJ14y, html code.shiki .sJ14y{--shiki-default:#C792EA}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}html pre.shiki code .saEQR, html code.shiki .saEQR{--shiki-default:#676E95;--shiki-default-font-style:italic}html pre.shiki code .s5Dmg, html code.shiki .s5Dmg{--shiki-default:#FFCB6B}",{"title":150,"searchDepth":194,"depth":194,"links":5641},[5642,5643,5647,5650,5651,5654,5658],{"id":5098,"depth":194,"text":5099},{"id":5164,"depth":194,"text":4783,"children":5644},[5645,5646],{"id":5167,"depth":208,"text":5168},{"id":5225,"depth":208,"text":5226},{"id":5260,"depth":194,"text":4789,"children":5648},[5649],{"id":5338,"depth":208,"text":5339},{"id":5356,"depth":194,"text":5357},{"id":5425,"depth":194,"text":5426,"children":5652},[5653],{"id":5447,"depth":208,"text":5448},{"id":5508,"depth":194,"text":5221,"children":5655},[5656],{"id":5511,"depth":208,"text":5657},"HTML loads, but \u002F_nuxt\u002F*.js and \u002F_nuxt\u002F*.css return 404",{"id":5569,"depth":194,"text":5570},"Deploy WooNuxt to Netlify, Vercel, or any static host",{},{"icon":5662},"i-lucide-rocket","\u002Fconfiguration\u002Fdeployment",{"title":5090,"description":5659},"3.configuration\u002F1.deployment","qjn2Pb3Aq4MIaNcwgxuMWS31eak7W4EWyZe0EXafSGw",{"id":5668,"title":2783,"body":5669,"description":6711,"extension":382,"links":383,"meta":6712,"navigation":6713,"path":6715,"seo":6716,"stem":6717,"__hash__":6718},"docs\u002F3.configuration\u002F2.composables.md",{"type":7,"value":5670,"toc":6696},[5671,5674,5678,5681,5805,5819,5822,5826,5829,5961,5967,5969,5973,5976,6048,6050,6054,6057,6109,6116,6118,6122,6125,6186,6188,6192,6195,6237,6255,6257,6261,6264,6326,6328,6332,6338,6410,6412,6416,6419,6471,6473,6477,6480,6541,6543,6547,6550,6579,6581,6585,6588,6616,6630,6632,6635,6641,6693],[10,5672,5673],{},"WooNuxt provides 13 composables that handle all store logic. They are available globally, so no import is needed.",[19,5675,5677],{"id":5676},"usecart","useCart",[10,5679,5680],{},"Manages the shopping cart state and all cart mutations.",[141,5682,5684],{"className":2028,"code":5683,"language":2030,"meta":150,"style":150},"const {\n  cart,              \u002F\u002F Ref\u003CCart>: reactive cart object\n  cartTotals,        \u002F\u002F Computed cart totals\n  cartCount,         \u002F\u002F Computed item count\n  isUpdatingCart,    \u002F\u002F Ref\u003Cboolean>: loading state\n  addToCart,         \u002F\u002F (input: AddToCartInput) => Promise\u003Cvoid>\n  updateItemQuantity,\u002F\u002F (key: string, quantity: number) => Promise\u003Cvoid>\n  removeItem,        \u002F\u002F (key: string) => Promise\u003Cvoid>\n  emptyCart,         \u002F\u002F () => Promise\u003Cvoid>\n  applyCoupon,       \u002F\u002F (code: string) => Promise\u003Cvoid>\n  removeCoupon,      \u002F\u002F (code: string) => Promise\u003Cvoid>\n} = useCart()\n",[148,5685,5686,5693,5703,5713,5723,5733,5743,5753,5763,5773,5783,5793],{"__ignoreMap":150},[184,5687,5688,5691],{"class":186,"line":187},[184,5689,5690],{"class":2197},"const",[184,5692,2433],{"class":1810},[184,5694,5695,5698,5700],{"class":186,"line":194},[184,5696,5697],{"class":1807},"  cart",[184,5699,2711],{"class":1810},[184,5701,5702],{"class":190},"              \u002F\u002F Ref\u003CCart>: reactive cart object\n",[184,5704,5705,5708,5710],{"class":186,"line":208},[184,5706,5707],{"class":1807},"  cartTotals",[184,5709,2711],{"class":1810},[184,5711,5712],{"class":190},"        \u002F\u002F Computed cart totals\n",[184,5714,5715,5718,5720],{"class":186,"line":218},[184,5716,5717],{"class":1807},"  cartCount",[184,5719,2711],{"class":1810},[184,5721,5722],{"class":190},"         \u002F\u002F Computed item count\n",[184,5724,5725,5728,5730],{"class":186,"line":225},[184,5726,5727],{"class":1807},"  isUpdatingCart",[184,5729,2711],{"class":1810},[184,5731,5732],{"class":190},"    \u002F\u002F Ref\u003Cboolean>: loading state\n",[184,5734,5735,5738,5740],{"class":186,"line":231},[184,5736,5737],{"class":1807},"  addToCart",[184,5739,2711],{"class":1810},[184,5741,5742],{"class":190},"         \u002F\u002F (input: AddToCartInput) => Promise\u003Cvoid>\n",[184,5744,5745,5748,5750],{"class":186,"line":240},[184,5746,5747],{"class":1807},"  updateItemQuantity",[184,5749,2711],{"class":1810},[184,5751,5752],{"class":190},"\u002F\u002F (key: string, quantity: number) => Promise\u003Cvoid>\n",[184,5754,5755,5758,5760],{"class":186,"line":246},[184,5756,5757],{"class":1807},"  removeItem",[184,5759,2711],{"class":1810},[184,5761,5762],{"class":190},"        \u002F\u002F (key: string) => Promise\u003Cvoid>\n",[184,5764,5765,5768,5770],{"class":186,"line":252},[184,5766,5767],{"class":1807},"  emptyCart",[184,5769,2711],{"class":1810},[184,5771,5772],{"class":190},"         \u002F\u002F () => Promise\u003Cvoid>\n",[184,5774,5775,5778,5780],{"class":186,"line":257},[184,5776,5777],{"class":1807},"  applyCoupon",[184,5779,2711],{"class":1810},[184,5781,5782],{"class":190},"       \u002F\u002F (code: string) => Promise\u003Cvoid>\n",[184,5784,5785,5788,5790],{"class":186,"line":263},[184,5786,5787],{"class":1807},"  removeCoupon",[184,5789,2711],{"class":1810},[184,5791,5792],{"class":190},"      \u002F\u002F (code: string) => Promise\u003Cvoid>\n",[184,5794,5795,5797,5800,5803],{"class":186,"line":275},[184,5796,2085],{"class":1810},[184,5798,5799],{"class":1810}," =",[184,5801,5802],{"class":211}," useCart",[184,5804,2335],{"class":1807},[10,5806,5807,5810,5811,5814,5815,5818],{},[14,5808,5809],{},"Modes:"," The cart supports ",[148,5812,5813],{},"optimistic"," (instant UI feedback) and ",[148,5816,5817],{},"safe"," (wait for server confirmation) update modes. Mutations are queued to prevent race conditions.",[5820,5821],"hr",{},[19,5823,5825],{"id":5824},"useauth","useAuth",[10,5827,5828],{},"Handles customer authentication, sessions, and account data.",[141,5830,5832],{"className":2028,"code":5831,"language":2030,"meta":150,"style":150},"const {\n  customer,          \u002F\u002F Ref\u003CCustomer>: logged-in customer data\n  viewer,            \u002F\u002F Ref\u003CViewer>: current user\n  orders,            \u002F\u002F Ref\u003COrder[]>\n  downloads,         \u002F\u002F Ref\u003CDownload[]>\n  isPending,         \u002F\u002F Ref\u003Cboolean>\n  isLoggedIn,        \u002F\u002F ComputedRef\u003Cboolean>\n  loginUser,         \u002F\u002F (input: LoginInput) => Promise\u003C{ success, error }>\n  logoutUser,        \u002F\u002F () => Promise\u003Cvoid>\n  registerUser,      \u002F\u002F (input: RegisterInput) => Promise\u003C{ success, error }>\n  updateCustomer,    \u002F\u002F (input: UpdateCustomerInput) => Promise\u003Cvoid>\n  refreshCart,       \u002F\u002F () => Promise\u003Cvoid>\n} = useAuth()\n",[148,5833,5834,5840,5850,5860,5870,5880,5890,5900,5910,5920,5930,5940,5950],{"__ignoreMap":150},[184,5835,5836,5838],{"class":186,"line":187},[184,5837,5690],{"class":2197},[184,5839,2433],{"class":1810},[184,5841,5842,5845,5847],{"class":186,"line":194},[184,5843,5844],{"class":1807},"  customer",[184,5846,2711],{"class":1810},[184,5848,5849],{"class":190},"          \u002F\u002F Ref\u003CCustomer>: logged-in customer data\n",[184,5851,5852,5855,5857],{"class":186,"line":208},[184,5853,5854],{"class":1807},"  viewer",[184,5856,2711],{"class":1810},[184,5858,5859],{"class":190},"            \u002F\u002F Ref\u003CViewer>: current user\n",[184,5861,5862,5865,5867],{"class":186,"line":218},[184,5863,5864],{"class":1807},"  orders",[184,5866,2711],{"class":1810},[184,5868,5869],{"class":190},"            \u002F\u002F Ref\u003COrder[]>\n",[184,5871,5872,5875,5877],{"class":186,"line":225},[184,5873,5874],{"class":1807},"  downloads",[184,5876,2711],{"class":1810},[184,5878,5879],{"class":190},"         \u002F\u002F Ref\u003CDownload[]>\n",[184,5881,5882,5885,5887],{"class":186,"line":231},[184,5883,5884],{"class":1807},"  isPending",[184,5886,2711],{"class":1810},[184,5888,5889],{"class":190},"         \u002F\u002F Ref\u003Cboolean>\n",[184,5891,5892,5895,5897],{"class":186,"line":240},[184,5893,5894],{"class":1807},"  isLoggedIn",[184,5896,2711],{"class":1810},[184,5898,5899],{"class":190},"        \u002F\u002F ComputedRef\u003Cboolean>\n",[184,5901,5902,5905,5907],{"class":186,"line":246},[184,5903,5904],{"class":1807},"  loginUser",[184,5906,2711],{"class":1810},[184,5908,5909],{"class":190},"         \u002F\u002F (input: LoginInput) => Promise\u003C{ success, error }>\n",[184,5911,5912,5915,5917],{"class":186,"line":252},[184,5913,5914],{"class":1807},"  logoutUser",[184,5916,2711],{"class":1810},[184,5918,5919],{"class":190},"        \u002F\u002F () => Promise\u003Cvoid>\n",[184,5921,5922,5925,5927],{"class":186,"line":257},[184,5923,5924],{"class":1807},"  registerUser",[184,5926,2711],{"class":1810},[184,5928,5929],{"class":190},"      \u002F\u002F (input: RegisterInput) => Promise\u003C{ success, error }>\n",[184,5931,5932,5935,5937],{"class":186,"line":263},[184,5933,5934],{"class":1807},"  updateCustomer",[184,5936,2711],{"class":1810},[184,5938,5939],{"class":190},"    \u002F\u002F (input: UpdateCustomerInput) => Promise\u003Cvoid>\n",[184,5941,5942,5945,5947],{"class":186,"line":275},[184,5943,5944],{"class":1807},"  refreshCart",[184,5946,2711],{"class":1810},[184,5948,5949],{"class":190},"       \u002F\u002F () => Promise\u003Cvoid>\n",[184,5951,5952,5954,5956,5959],{"class":186,"line":280},[184,5953,2085],{"class":1810},[184,5955,5799],{"class":1810},[184,5957,5958],{"class":211}," useAuth",[184,5960,2335],{"class":1807},[10,5962,5963,5964,1938],{},"Authentication uses JWT tokens stored in cookies. Tokens are refreshed automatically on expiry via ",[148,5965,5966],{},"useAuthTokens",[5820,5968],{},[19,5970,5972],{"id":5971},"usecheckout","useCheckout",[10,5974,5975],{},"Controls the checkout flow, shipping, and payment method selection.",[141,5977,5979],{"className":2028,"code":5978,"language":2030,"meta":150,"style":150},"const {\n  orderInput,        \u002F\u002F Ref: checkout form state\n  isProcessingOrder, \u002F\u002F Ref\u003Cboolean>\n  proccessCheckout,  \u002F\u002F () => Promise\u003Cvoid>\n  paymentGateways,   \u002F\u002F Ref\u003CPaymentGateway[]>\n  shippingMethods,   \u002F\u002F Ref\u003CShippingMethod[]>\n} = useCheckout()\n",[148,5980,5981,5987,5997,6007,6017,6027,6037],{"__ignoreMap":150},[184,5982,5983,5985],{"class":186,"line":187},[184,5984,5690],{"class":2197},[184,5986,2433],{"class":1810},[184,5988,5989,5992,5994],{"class":186,"line":194},[184,5990,5991],{"class":1807},"  orderInput",[184,5993,2711],{"class":1810},[184,5995,5996],{"class":190},"        \u002F\u002F Ref: checkout form state\n",[184,5998,5999,6002,6004],{"class":186,"line":208},[184,6000,6001],{"class":1807},"  isProcessingOrder",[184,6003,2711],{"class":1810},[184,6005,6006],{"class":190}," \u002F\u002F Ref\u003Cboolean>\n",[184,6008,6009,6012,6014],{"class":186,"line":218},[184,6010,6011],{"class":1807},"  proccessCheckout",[184,6013,2711],{"class":1810},[184,6015,6016],{"class":190},"  \u002F\u002F () => Promise\u003Cvoid>\n",[184,6018,6019,6022,6024],{"class":186,"line":225},[184,6020,6021],{"class":1807},"  paymentGateways",[184,6023,2711],{"class":1810},[184,6025,6026],{"class":190},"   \u002F\u002F Ref\u003CPaymentGateway[]>\n",[184,6028,6029,6032,6034],{"class":186,"line":231},[184,6030,6031],{"class":1807},"  shippingMethods",[184,6033,2711],{"class":1810},[184,6035,6036],{"class":190},"   \u002F\u002F Ref\u003CShippingMethod[]>\n",[184,6038,6039,6041,6043,6046],{"class":186,"line":240},[184,6040,2085],{"class":1810},[184,6042,5799],{"class":1810},[184,6044,6045],{"class":211}," useCheckout",[184,6047,2335],{"class":1807},[5820,6049],{},[19,6051,6053],{"id":6052},"usefiltering","useFiltering",[10,6055,6056],{},"Manages URL-based product filtering by attributes, price range, and sale status.",[141,6058,6060],{"className":2028,"code":6059,"language":2030,"meta":150,"style":150},"const {\n  isFiltersActive,   \u002F\u002F ComputedRef\u003Cboolean>\n  activeFilters,     \u002F\u002F ComputedRef\u003CActiveFilters>\n  resetFilters,      \u002F\u002F () => void\n} = useFiltering()\n",[148,6061,6062,6068,6078,6088,6098],{"__ignoreMap":150},[184,6063,6064,6066],{"class":186,"line":187},[184,6065,5690],{"class":2197},[184,6067,2433],{"class":1810},[184,6069,6070,6073,6075],{"class":186,"line":194},[184,6071,6072],{"class":1807},"  isFiltersActive",[184,6074,2711],{"class":1810},[184,6076,6077],{"class":190},"   \u002F\u002F ComputedRef\u003Cboolean>\n",[184,6079,6080,6083,6085],{"class":186,"line":208},[184,6081,6082],{"class":1807},"  activeFilters",[184,6084,2711],{"class":1810},[184,6086,6087],{"class":190},"     \u002F\u002F ComputedRef\u003CActiveFilters>\n",[184,6089,6090,6093,6095],{"class":186,"line":218},[184,6091,6092],{"class":1807},"  resetFilters",[184,6094,2711],{"class":1810},[184,6096,6097],{"class":190},"      \u002F\u002F () => void\n",[184,6099,6100,6102,6104,6107],{"class":186,"line":225},[184,6101,2085],{"class":1810},[184,6103,5799],{"class":1810},[184,6105,6106],{"class":211}," useFiltering",[184,6108,2335],{"class":1807},[10,6110,6111,6112,6115],{},"Filter state is synced with the URL query string so filters are shareable and survive page refresh. Global attributes are configured via the ",[14,6113,6114],{},"WooNuxt Settings"," plugin.",[5820,6117],{},[19,6119,6121],{"id":6120},"useproducts","useProducts",[10,6123,6124],{},"Manages product list state and the full filtering\u002Fsorting pipeline.",[141,6126,6128],{"className":2028,"code":6127,"language":2030,"meta":150,"style":150},"const {\n  products,          \u002F\u002F Ref\u003CProduct[]>\n  allProducts,       \u002F\u002F Ref\u003CProduct[]>: unfiltered\n  isLoading,         \u002F\u002F Ref\u003Cboolean>\n  loadMore,          \u002F\u002F () => Promise\u003Cvoid>\n} = useProducts()\n",[148,6129,6130,6136,6146,6156,6165,6175],{"__ignoreMap":150},[184,6131,6132,6134],{"class":186,"line":187},[184,6133,5690],{"class":2197},[184,6135,2433],{"class":1810},[184,6137,6138,6141,6143],{"class":186,"line":194},[184,6139,6140],{"class":1807},"  products",[184,6142,2711],{"class":1810},[184,6144,6145],{"class":190},"          \u002F\u002F Ref\u003CProduct[]>\n",[184,6147,6148,6151,6153],{"class":186,"line":208},[184,6149,6150],{"class":1807},"  allProducts",[184,6152,2711],{"class":1810},[184,6154,6155],{"class":190},"       \u002F\u002F Ref\u003CProduct[]>: unfiltered\n",[184,6157,6158,6161,6163],{"class":186,"line":218},[184,6159,6160],{"class":1807},"  isLoading",[184,6162,2711],{"class":1810},[184,6164,5889],{"class":190},[184,6166,6167,6170,6172],{"class":186,"line":225},[184,6168,6169],{"class":1807},"  loadMore",[184,6171,2711],{"class":1810},[184,6173,6174],{"class":190},"          \u002F\u002F () => Promise\u003Cvoid>\n",[184,6176,6177,6179,6181,6184],{"class":186,"line":231},[184,6178,2085],{"class":1810},[184,6180,5799],{"class":1810},[184,6182,6183],{"class":211}," useProducts",[184,6185,2335],{"class":1807},[5820,6187],{},[19,6189,6191],{"id":6190},"usesorting","useSorting",[10,6193,6194],{},"Controls product sort order.",[141,6196,6198],{"className":2028,"code":6197,"language":2030,"meta":150,"style":150},"const {\n  sortOrder,         \u002F\u002F Ref\u003Cstring>\n  setSortOrder,      \u002F\u002F (order: string) => void\n} = useSorting()\n",[148,6199,6200,6206,6216,6226],{"__ignoreMap":150},[184,6201,6202,6204],{"class":186,"line":187},[184,6203,5690],{"class":2197},[184,6205,2433],{"class":1810},[184,6207,6208,6211,6213],{"class":186,"line":194},[184,6209,6210],{"class":1807},"  sortOrder",[184,6212,2711],{"class":1810},[184,6214,6215],{"class":190},"         \u002F\u002F Ref\u003Cstring>\n",[184,6217,6218,6221,6223],{"class":186,"line":208},[184,6219,6220],{"class":1807},"  setSortOrder",[184,6222,2711],{"class":1810},[184,6224,6225],{"class":190},"      \u002F\u002F (order: string) => void\n",[184,6227,6228,6230,6232,6235],{"class":186,"line":218},[184,6229,2085],{"class":1810},[184,6231,5799],{"class":1810},[184,6233,6234],{"class":211}," useSorting",[184,6236,2335],{"class":1807},[10,6238,6239,6240,4532,6243,4532,6246,4532,6249,4532,6252,1938],{},"Available sort options: ",[148,6241,6242],{},"DATE",[148,6244,6245],{},"PRICE",[148,6247,6248],{},"PRICE_DESC",[148,6250,6251],{},"RATING",[148,6253,6254],{},"POPULARITY",[5820,6256],{},[19,6258,6260],{"id":6259},"usesearch","useSearch",[10,6262,6263],{},"Handles product search queries.",[141,6265,6267],{"className":2028,"code":6266,"language":2030,"meta":150,"style":150},"const {\n  searchQuery,       \u002F\u002F Ref\u003Cstring>\n  searchResults,     \u002F\u002F Ref\u003CProduct[]>\n  isSearching,       \u002F\u002F Ref\u003Cboolean>\n  clearSearch,       \u002F\u002F () => void\n} = useSearch()\n",[148,6268,6269,6275,6285,6295,6305,6315],{"__ignoreMap":150},[184,6270,6271,6273],{"class":186,"line":187},[184,6272,5690],{"class":2197},[184,6274,2433],{"class":1810},[184,6276,6277,6280,6282],{"class":186,"line":194},[184,6278,6279],{"class":1807},"  searchQuery",[184,6281,2711],{"class":1810},[184,6283,6284],{"class":190},"       \u002F\u002F Ref\u003Cstring>\n",[184,6286,6287,6290,6292],{"class":186,"line":208},[184,6288,6289],{"class":1807},"  searchResults",[184,6291,2711],{"class":1810},[184,6293,6294],{"class":190},"     \u002F\u002F Ref\u003CProduct[]>\n",[184,6296,6297,6300,6302],{"class":186,"line":218},[184,6298,6299],{"class":1807},"  isSearching",[184,6301,2711],{"class":1810},[184,6303,6304],{"class":190},"       \u002F\u002F Ref\u003Cboolean>\n",[184,6306,6307,6310,6312],{"class":186,"line":225},[184,6308,6309],{"class":1807},"  clearSearch",[184,6311,2711],{"class":1810},[184,6313,6314],{"class":190},"       \u002F\u002F () => void\n",[184,6316,6317,6319,6321,6324],{"class":186,"line":231},[184,6318,2085],{"class":1810},[184,6320,5799],{"class":1810},[184,6322,6323],{"class":211}," useSearch",[184,6325,2335],{"class":1807},[5820,6327],{},[19,6329,6331],{"id":6330},"usewishlist","useWishlist",[10,6333,6334,6335,1938],{},"Persists a wishlist in ",[148,6336,6337],{},"localStorage",[141,6339,6341],{"className":2028,"code":6340,"language":2030,"meta":150,"style":150},"const {\n  wishlist,          \u002F\u002F Ref\u003Cnumber[]>: array of product IDs\n  addToWishlist,     \u002F\u002F (productId: number) => void\n  removeFromWishlist,\u002F\u002F (productId: number) => void\n  isInWishlist,      \u002F\u002F (productId: number) => boolean\n  toggleWishlist,    \u002F\u002F (productId: number) => void\n} = useWishlist()\n",[148,6342,6343,6349,6359,6369,6379,6389,6399],{"__ignoreMap":150},[184,6344,6345,6347],{"class":186,"line":187},[184,6346,5690],{"class":2197},[184,6348,2433],{"class":1810},[184,6350,6351,6354,6356],{"class":186,"line":194},[184,6352,6353],{"class":1807},"  wishlist",[184,6355,2711],{"class":1810},[184,6357,6358],{"class":190},"          \u002F\u002F Ref\u003Cnumber[]>: array of product IDs\n",[184,6360,6361,6364,6366],{"class":186,"line":208},[184,6362,6363],{"class":1807},"  addToWishlist",[184,6365,2711],{"class":1810},[184,6367,6368],{"class":190},"     \u002F\u002F (productId: number) => void\n",[184,6370,6371,6374,6376],{"class":186,"line":218},[184,6372,6373],{"class":1807},"  removeFromWishlist",[184,6375,2711],{"class":1810},[184,6377,6378],{"class":190},"\u002F\u002F (productId: number) => void\n",[184,6380,6381,6384,6386],{"class":186,"line":225},[184,6382,6383],{"class":1807},"  isInWishlist",[184,6385,2711],{"class":1810},[184,6387,6388],{"class":190},"      \u002F\u002F (productId: number) => boolean\n",[184,6390,6391,6394,6396],{"class":186,"line":231},[184,6392,6393],{"class":1807},"  toggleWishlist",[184,6395,2711],{"class":1810},[184,6397,6398],{"class":190},"    \u002F\u002F (productId: number) => void\n",[184,6400,6401,6403,6405,6408],{"class":186,"line":240},[184,6402,2085],{"class":1810},[184,6404,5799],{"class":1810},[184,6406,6407],{"class":211}," useWishlist",[184,6409,2335],{"class":1807},[5820,6411],{},[19,6413,6415],{"id":6414},"usecountry","useCountry",[10,6417,6418],{},"Manages country and state selection for address forms.",[141,6420,6422],{"className":2028,"code":6421,"language":2030,"meta":150,"style":150},"const {\n  allowedCountries,  \u002F\u002F Ref\u003CCountry[]>\n  states,            \u002F\u002F Ref\u003CState[]>\n  getStates,         \u002F\u002F (countryCode: string) => Promise\u003Cvoid>\n} = useCountry()\n",[148,6423,6424,6430,6440,6450,6460],{"__ignoreMap":150},[184,6425,6426,6428],{"class":186,"line":187},[184,6427,5690],{"class":2197},[184,6429,2433],{"class":1810},[184,6431,6432,6435,6437],{"class":186,"line":194},[184,6433,6434],{"class":1807},"  allowedCountries",[184,6436,2711],{"class":1810},[184,6438,6439],{"class":190},"  \u002F\u002F Ref\u003CCountry[]>\n",[184,6441,6442,6445,6447],{"class":186,"line":208},[184,6443,6444],{"class":1807},"  states",[184,6446,2711],{"class":1810},[184,6448,6449],{"class":190},"            \u002F\u002F Ref\u003CState[]>\n",[184,6451,6452,6455,6457],{"class":186,"line":218},[184,6453,6454],{"class":1807},"  getStates",[184,6456,2711],{"class":1810},[184,6458,6459],{"class":190},"         \u002F\u002F (countryCode: string) => Promise\u003Cvoid>\n",[184,6461,6462,6464,6466,6469],{"class":186,"line":225},[184,6463,2085],{"class":1810},[184,6465,5799],{"class":1810},[184,6467,6468],{"class":211}," useCountry",[184,6470,2335],{"class":1807},[5820,6472],{},[19,6474,6476],{"id":6475},"usehelpers","useHelpers",[10,6478,6479],{},"Utility functions used throughout the app.",[141,6481,6483],{"className":2028,"code":6482,"language":2030,"meta":150,"style":150},"const {\n  formatPrice,       \u002F\u002F (price: string) => string\n  stripHtml,         \u002F\u002F (html: string) => string\n  scrollToTop,       \u002F\u002F () => void\n  isClient,          \u002F\u002F boolean\n} = useHelpers()\n",[148,6484,6485,6491,6501,6511,6520,6530],{"__ignoreMap":150},[184,6486,6487,6489],{"class":186,"line":187},[184,6488,5690],{"class":2197},[184,6490,2433],{"class":1810},[184,6492,6493,6496,6498],{"class":186,"line":194},[184,6494,6495],{"class":1807},"  formatPrice",[184,6497,2711],{"class":1810},[184,6499,6500],{"class":190},"       \u002F\u002F (price: string) => string\n",[184,6502,6503,6506,6508],{"class":186,"line":208},[184,6504,6505],{"class":1807},"  stripHtml",[184,6507,2711],{"class":1810},[184,6509,6510],{"class":190},"         \u002F\u002F (html: string) => string\n",[184,6512,6513,6516,6518],{"class":186,"line":218},[184,6514,6515],{"class":1807},"  scrollToTop",[184,6517,2711],{"class":1810},[184,6519,6314],{"class":190},[184,6521,6522,6525,6527],{"class":186,"line":225},[184,6523,6524],{"class":1807},"  isClient",[184,6526,2711],{"class":1810},[184,6528,6529],{"class":190},"          \u002F\u002F boolean\n",[184,6531,6532,6534,6536,6539],{"class":186,"line":231},[184,6533,2085],{"class":1810},[184,6535,5799],{"class":1810},[184,6537,6538],{"class":211}," useHelpers",[184,6540,2335],{"class":1807},[5820,6542],{},[19,6544,6546],{"id":6545},"useseofallbacks","useSEOFallbacks",[10,6548,6549],{},"Provides fallback SEO meta tags when Yoast data is unavailable.",[141,6551,6553],{"className":2028,"code":6552,"language":2030,"meta":150,"style":150},"const { generateSEO } = useSEOFallbacks()\n\u002F\u002F generateSEO(product) → useSeoMeta()-compatible object\n",[148,6554,6555,6574],{"__ignoreMap":150},[184,6556,6557,6559,6562,6565,6567,6569,6572],{"class":186,"line":187},[184,6558,5690],{"class":2197},[184,6560,6561],{"class":1810}," {",[184,6563,6564],{"class":1807}," generateSEO ",[184,6566,2085],{"class":1810},[184,6568,5799],{"class":1810},[184,6570,6571],{"class":211}," useSEOFallbacks",[184,6573,2335],{"class":1807},[184,6575,6576],{"class":186,"line":194},[184,6577,6578],{"class":190},"\u002F\u002F generateSEO(product) → useSeoMeta()-compatible object\n",[5820,6580],{},[19,6582,6584],{"id":6583},"useyoasthead","useYoastHead",[10,6586,6587],{},"Injects full Yoast SEO head tags for a product.",[141,6589,6591],{"className":2028,"code":6590,"language":2030,"meta":150,"style":150},"const { setYoastHead } = useYoastHead()\n\u002F\u002F setYoastHead(fullYoastHead: string) → void\n",[148,6592,6593,6611],{"__ignoreMap":150},[184,6594,6595,6597,6599,6602,6604,6606,6609],{"class":186,"line":187},[184,6596,5690],{"class":2197},[184,6598,6561],{"class":1810},[184,6600,6601],{"class":1807}," setYoastHead ",[184,6603,2085],{"class":1810},[184,6605,5799],{"class":1810},[184,6607,6608],{"class":211}," useYoastHead",[184,6610,2335],{"class":1807},[184,6612,6613],{"class":186,"line":194},[184,6614,6615],{"class":190},"\u002F\u002F setYoastHead(fullYoastHead: string) → void\n",[10,6617,6618,6619,6622,6623,6625,6626,6629],{},"Requires the ",[148,6620,6621],{},"fullYoastHead"," field to be exposed by the ",[14,6624,6114],{}," plugin (",[148,6627,6628],{},"graphql\u002Fyoast.php",").",[5820,6631],{},[19,6633,5966],{"id":6634},"useauthtokens",[10,6636,6637,6638,6640],{},"Low-level JWT token management. It is used internally by ",[148,6639,5825],{},", so you should not need to call it directly.",[141,6642,6644],{"className":2028,"code":6643,"language":2030,"meta":150,"style":150},"const {\n  getAuthToken,      \u002F\u002F () => string | null\n  setAuthToken,      \u002F\u002F (token: string) => void\n  clearAuthToken,    \u002F\u002F () => void\n} = useAuthTokens()\n",[148,6645,6646,6652,6662,6672,6682],{"__ignoreMap":150},[184,6647,6648,6650],{"class":186,"line":187},[184,6649,5690],{"class":2197},[184,6651,2433],{"class":1810},[184,6653,6654,6657,6659],{"class":186,"line":194},[184,6655,6656],{"class":1807},"  getAuthToken",[184,6658,2711],{"class":1810},[184,6660,6661],{"class":190},"      \u002F\u002F () => string | null\n",[184,6663,6664,6667,6669],{"class":186,"line":208},[184,6665,6666],{"class":1807},"  setAuthToken",[184,6668,2711],{"class":1810},[184,6670,6671],{"class":190},"      \u002F\u002F (token: string) => void\n",[184,6673,6674,6677,6679],{"class":186,"line":218},[184,6675,6676],{"class":1807},"  clearAuthToken",[184,6678,2711],{"class":1810},[184,6680,6681],{"class":190},"    \u002F\u002F () => void\n",[184,6683,6684,6686,6688,6691],{"class":186,"line":225},[184,6685,2085],{"class":1810},[184,6687,5799],{"class":1810},[184,6689,6690],{"class":211}," useAuthTokens",[184,6692,2335],{"class":1807},[371,6694,6695],{},"html pre.shiki code .sJ14y, html code.shiki .sJ14y{--shiki-default:#C792EA}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .s0W1g, html code.shiki .s0W1g{--shiki-default:#BABED8}html pre.shiki code .saEQR, html code.shiki .saEQR{--shiki-default:#676E95;--shiki-default-font-style:italic}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}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":150,"searchDepth":194,"depth":194,"links":6697},[6698,6699,6700,6701,6702,6703,6704,6705,6706,6707,6708,6709,6710],{"id":5676,"depth":194,"text":5677},{"id":5824,"depth":194,"text":5825},{"id":5971,"depth":194,"text":5972},{"id":6052,"depth":194,"text":6053},{"id":6120,"depth":194,"text":6121},{"id":6190,"depth":194,"text":6191},{"id":6259,"depth":194,"text":6260},{"id":6330,"depth":194,"text":6331},{"id":6414,"depth":194,"text":6415},{"id":6475,"depth":194,"text":6476},{"id":6545,"depth":194,"text":6546},{"id":6583,"depth":194,"text":6584},{"id":6634,"depth":194,"text":5966},"Reference for all WooNuxt composables",{},{"icon":6714},"i-lucide-puzzle","\u002Fconfiguration\u002Fcomposables",{"title":2783,"description":6711},"3.configuration\u002F2.composables","V3XcY9w4FLyA3Mg5BcdRQ5SHGyBNznHdCLa8nvepwkw",{"id":6720,"title":6721,"body":6722,"description":7192,"extension":382,"links":383,"meta":7193,"navigation":7194,"path":7196,"seo":7197,"stem":7198,"__hash__":7199},"docs\u002F3.configuration\u002F3.performance.md","Performance & ISR",{"type":7,"value":6723,"toc":7180},[6724,6731,6735,6738,6748,6752,6758,6834,6838,6843,6885,6893,6897,6907,6924,6928,6934,6938,6947,6955,6958,6982,6986,6992,7047,7051,7054,7166,7177],[10,6725,6726,6727,6730],{},"WooNuxt is optimized for performance at every layer. For large catalogs, ",[14,6728,6729],{},"Incremental Static Regeneration (ISR)"," lets you cache product pages at the CDN edge while still serving fresh data.",[19,6732,6734],{"id":6733},"isr-incremental-static-regeneration","ISR (Incremental Static Regeneration)",[10,6736,6737],{},"ISR pre-renders pages on first request and caches them for a configurable TTL. Subsequent requests are served from cache with no cold-start latency until the TTL expires and the page is regenerated in the background.",[10,6739,6740,6741,6744,6745,6747],{},"This is ideal for catalogs with ",[14,6742,6743],{},"10,000+ products"," where full ",[148,6746,5128],{}," would take too long.",[1128,6749,6751],{"id":6750},"which-routes-use-isr","Which Routes Use ISR",[10,6753,6754,6755,1797],{},"The following routes are ISR-enabled by default in ",[148,6756,6757],{},"woonuxt_base\u002Fnuxt.config.ts",[870,6759,6760,6770],{},[873,6761,6762],{},[876,6763,6764,6767],{},[879,6765,6766],{},"Route Pattern",[879,6768,6769],{},"Behavior",[889,6771,6772,6784,6795,6806,6818],{},[876,6773,6774,6779],{},[894,6775,6776],{},[148,6777,6778],{},"\u002Fproduct\u002F**",[894,6780,6781,6782],{},"ISR with ",[148,6783,936],{},[876,6785,6786,6791],{},[894,6787,6788],{},[148,6789,6790],{},"\u002Fproduct-category\u002F**",[894,6792,6781,6793],{},[148,6794,936],{},[876,6796,6797,6802],{},[894,6798,6799],{},[148,6800,6801],{},"\u002Fproducts",[894,6803,6781,6804],{},[148,6805,936],{},[876,6807,6808,6814],{},[894,6809,6810,6813],{},[148,6811,6812],{},"\u002Fproducts\u002F**"," (pagination)",[894,6815,6781,6816],{},[148,6817,936],{},[876,6819,6820,6828],{},[894,6821,6822,4532,6825],{},[148,6823,6824],{},"\u002Fcheckout",[148,6826,6827],{},"\u002Forder-summary",[894,6829,6830,6833],{},[148,6831,6832],{},"prerender: false"," (always live)",[1128,6835,6837],{"id":6836},"configuring-isr-ttl","Configuring ISR TTL",[10,6839,5176,6840,6842],{},[148,6841,936],{}," in your environment variables (value in seconds):",[141,6844,6846],{"className":751,"code":6845,"filename":747,"language":753,"meta":150,"style":150},"# Cache product pages for 1 hour (default)\nCATALOG_ISR_TTL=3600\n\n# Cache for 24 hours (high-traffic stores with infrequent updates)\nCATALOG_ISR_TTL=86400\n\n# Cache for 5 minutes (stores with frequent price\u002Fstock changes)\nCATALOG_ISR_TTL=300\n",[148,6847,6848,6853,6857,6861,6866,6871,6875,6880],{"__ignoreMap":150},[184,6849,6850],{"class":186,"line":187},[184,6851,6852],{},"# Cache product pages for 1 hour (default)\n",[184,6854,6855],{"class":186,"line":194},[184,6856,822],{},[184,6858,6859],{"class":186,"line":208},[184,6860,222],{"emptyLinePlaceholder":221},[184,6862,6863],{"class":186,"line":218},[184,6864,6865],{},"# Cache for 24 hours (high-traffic stores with infrequent updates)\n",[184,6867,6868],{"class":186,"line":225},[184,6869,6870],{},"CATALOG_ISR_TTL=86400\n",[184,6872,6873],{"class":186,"line":231},[184,6874,222],{"emptyLinePlaceholder":221},[184,6876,6877],{"class":186,"line":240},[184,6878,6879],{},"# Cache for 5 minutes (stores with frequent price\u002Fstock changes)\n",[184,6881,6882],{"class":186,"line":246},[184,6883,6884],{},"CATALOG_ISR_TTL=300\n",[1044,6886,6887],{},[10,6888,6889,6890,6892],{},"After updating a product in WooCommerce, the cache for that product's page will be stale until the TTL expires. Pair ISR with a ",[14,6891,4234],{}," (configured in WooNuxt Settings) to trigger a full rebuild on important changes.",[1128,6894,6896],{"id":6895},"requirements","Requirements",[10,6898,6899,6900,6903,6904,6906],{},"ISR requires a ",[14,6901,6902],{},"server runtime",". It does not work with pure static output (",[148,6905,5128],{},"). Deploy with:",[27,6908,6909,6912,6915],{},[30,6910,6911],{},"Netlify (serverless functions)",[30,6913,6914],{},"Vercel (edge functions)",[30,6916,6917,6918,6920,6921,945],{},"Node.js server (",[148,6919,5143],{}," + ",[148,6922,6923],{},"node .output\u002Fserver\u002Findex.mjs",[19,6925,6927],{"id":6926},"image-optimization","Image Optimization",[10,6929,2002,6930,6933],{},[148,6931,6932],{},"@nuxt\u002Fimage"," to automatically optimize WooCommerce product images.",[1128,6935,6937],{"id":6936},"configure-allowed-domains","Configure Allowed Domains",[10,6939,6940,6941,6944,6945,1797],{},"You ",[14,6942,6943],{},"must"," list all image domains in ",[148,6946,911],{},[141,6948,6949],{"className":751,"code":5380,"filename":747,"language":753,"meta":150,"style":150},[148,6950,6951],{"__ignoreMap":150},[184,6952,6953],{"class":186,"line":187},[184,6954,5380],{},[10,6956,6957],{},"Multiple domains are comma-separated. Without this, images from those domains will not be optimized.",[3687,6959,6960],{},[10,6961,6962,6963,6965,6966,6968,6969,6971,6972,6974,6975,6977,6978,1938],{},"For static (SSG) deployments, leave ",[148,6964,5454],{}," unset (defaults to ",[148,6967,2876],{},") or set it to ",[148,6970,5164],{},"\u002F",[148,6973,5260],{},". Never set it to ",[148,6976,5501],{},", which requires a running Nuxt server and breaks image rendering on static hosting. See ",[992,6979,6981],{"href":6980},"\u002Fdocs\u002Fconfiguration\u002Fdeployment#image-provider-optional","Deployment → Image Provider",[1128,6983,6985],{"id":6984},"netlify-image-cdn","Netlify Image CDN",[10,6987,6988,6989,6991],{},"When deploying to Netlify, ",[148,6990,6932],{}," automatically uses Netlify's Image CDN. The base config already ignores Netlify CDN URLs during prerendering to avoid double-optimization:",[141,6993,6995],{"className":2028,"code":6994,"language":2030,"meta":150,"style":150},"\u002F\u002F Already configured in woonuxt_base\u002Fnuxt.config.ts\nnitro: {\n  prerender: {\n    ignore: ['\u002F_netlify\u002Fimages']\n  }\n}\n",[148,6996,6997,7002,7011,7020,7039,7043],{"__ignoreMap":150},[184,6998,6999],{"class":186,"line":187},[184,7000,7001],{"class":190},"\u002F\u002F Already configured in woonuxt_base\u002Fnuxt.config.ts\n",[184,7003,7004,7007,7009],{"class":186,"line":194},[184,7005,7006],{"class":197},"nitro",[184,7008,1797],{"class":1810},[184,7010,2433],{"class":1810},[184,7012,7013,7016,7018],{"class":186,"line":208},[184,7014,7015],{"class":197},"  prerender",[184,7017,1797],{"class":1810},[184,7019,2433],{"class":1810},[184,7021,7022,7025,7027,7029,7031,7034,7036],{"class":186,"line":218},[184,7023,7024],{"class":197},"    ignore",[184,7026,1797],{"class":1810},[184,7028,2061],{"class":2055},[184,7030,2064],{"class":1810},[184,7032,7033],{"class":201},"\u002F_netlify\u002Fimages",[184,7035,2064],{"class":1810},[184,7037,7038],{"class":2055},"]\n",[184,7040,7041],{"class":186,"line":225},[184,7042,1696],{"class":1810},[184,7044,7045],{"class":186,"line":231},[184,7046,1720],{"class":1810},[19,7048,7050],{"id":7049},"build-performance","Build Performance",[10,7052,7053],{},"For SSG builds with large catalogs:",[141,7055,7057],{"className":2028,"code":7056,"filename":2024,"language":2030,"meta":150,"style":150},"export default defineNuxtConfig({\n  extends: ['.\u002Fwoonuxt_base'],\n  nitro: {\n    prerender: {\n      concurrency: 10,    \u002F\u002F Pages prerendered in parallel (default)\n      interval: 1000,     \u002F\u002F ms between batches (avoids WordPress rate limits)\n      failOnError: false, \u002F\u002F Continue build if a product page fails\n    },\n  },\n})\n",[148,7058,7059,7071,7089,7098,7107,7121,7136,7152,7156,7160],{"__ignoreMap":150},[184,7060,7061,7063,7065,7067,7069],{"class":186,"line":187},[184,7062,2038],{"class":2037},[184,7064,2041],{"class":2037},[184,7066,2044],{"class":211},[184,7068,2047],{"class":1807},[184,7070,2050],{"class":1810},[184,7072,7073,7075,7077,7079,7081,7083,7085,7087],{"class":186,"line":194},[184,7074,2056],{"class":2055},[184,7076,1797],{"class":1810},[184,7078,2061],{"class":1807},[184,7080,2064],{"class":1810},[184,7082,2067],{"class":201},[184,7084,2064],{"class":1810},[184,7086,2072],{"class":1807},[184,7088,2075],{"class":1810},[184,7090,7091,7094,7096],{"class":186,"line":208},[184,7092,7093],{"class":2055},"  nitro",[184,7095,1797],{"class":1810},[184,7097,2433],{"class":1810},[184,7099,7100,7103,7105],{"class":186,"line":218},[184,7101,7102],{"class":2055},"    prerender",[184,7104,1797],{"class":1810},[184,7106,2433],{"class":1810},[184,7108,7109,7112,7114,7116,7118],{"class":186,"line":225},[184,7110,7111],{"class":2055},"      concurrency",[184,7113,1797],{"class":1810},[184,7115,3131],{"class":2629},[184,7117,2711],{"class":1810},[184,7119,7120],{"class":190},"    \u002F\u002F Pages prerendered in parallel (default)\n",[184,7122,7123,7126,7128,7131,7133],{"class":186,"line":231},[184,7124,7125],{"class":2055},"      interval",[184,7127,1797],{"class":1810},[184,7129,7130],{"class":2629}," 1000",[184,7132,2711],{"class":1810},[184,7134,7135],{"class":190},"     \u002F\u002F ms between batches (avoids WordPress rate limits)\n",[184,7137,7138,7141,7143,7147,7149],{"class":186,"line":240},[184,7139,7140],{"class":2055},"      failOnError",[184,7142,1797],{"class":1810},[184,7144,7146],{"class":7145},"sbqyR"," false",[184,7148,2711],{"class":1810},[184,7150,7151],{"class":190}," \u002F\u002F Continue build if a product page fails\n",[184,7153,7154],{"class":186,"line":246},[184,7155,2637],{"class":1810},[184,7157,7158],{"class":186,"line":252},[184,7159,2642],{"class":1810},[184,7161,7162,7164],{"class":186,"line":257},[184,7163,2085],{"class":1810},[184,7165,2088],{"class":1807},[10,7167,7168,7169,7172,7173,7176],{},"Increase ",[148,7170,7171],{},"concurrency"," if your WordPress server can handle more parallel requests. Lower ",[148,7174,7175],{},"interval"," if you hit WordPress rate limiting.",[371,7178,7179],{},"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);}html pre.shiki code .saEQR, html code.shiki .saEQR{--shiki-default:#676E95;--shiki-default-font-style:italic}html pre.shiki code .s5Dmg, html code.shiki .s5Dmg{--shiki-default:#FFCB6B}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .s-wAU, html code.shiki .s-wAU{--shiki-default:#F07178}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}html pre.shiki code .s6cf3, html code.shiki .s6cf3{--shiki-default:#89DDFF;--shiki-default-font-style:italic}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}html pre.shiki code .s0W1g, html code.shiki .s0W1g{--shiki-default:#BABED8}html pre.shiki code .sx098, html code.shiki .sx098{--shiki-default:#F78C6C}html pre.shiki code .sbqyR, html code.shiki .sbqyR{--shiki-default:#FF9CAC}",{"title":150,"searchDepth":194,"depth":194,"links":7181},[7182,7187,7191],{"id":6733,"depth":194,"text":6734,"children":7183},[7184,7185,7186],{"id":6750,"depth":208,"text":6751},{"id":6836,"depth":208,"text":6837},{"id":6895,"depth":208,"text":6896},{"id":6926,"depth":194,"text":6927,"children":7188},[7189,7190],{"id":6936,"depth":208,"text":6937},{"id":6984,"depth":208,"text":6985},{"id":7049,"depth":194,"text":7050},"Caching strategies and ISR configuration for large WooCommerce catalogs",{},{"icon":7195},"i-lucide-gauge","\u002Fconfiguration\u002Fperformance",{"title":6721,"description":7192},"3.configuration\u002F3.performance","S1sOddUQLr8lwK_Rp-r_RADPh1ucSPxbD-4VhKY-3G0",{"id":7201,"title":7202,"body":7203,"description":8605,"extension":382,"links":383,"meta":8606,"navigation":8607,"path":8608,"seo":8609,"stem":8610,"__hash__":8611},"docs\u002F3.configuration\u002F4.payment-gateways.md","Payment Gateways",{"type":7,"value":7204,"toc":8594},[7205,7212,7216,7287,7291,7296,7403,7406,7412,7833,7837,7843,8096,8101,8124,8128,8135,8291,8300,8304,8310,8494,8501,8591],[10,7206,7207,7208,7211],{},"WooNuxt uses a plugin-based architecture for payment gateways. Each gateway implements the ",[148,7209,7210],{},"PaymentGatewayPlugin"," interface and registers itself at boot. The checkout page only coordinates which gateway is active. Gateway-specific UI, validation, readiness checks, and payment processing stay inside the plugin itself.",[19,7213,7215],{"id":7214},"built-in-gateways","Built-in Gateways",[870,7217,7218,7231],{},[873,7219,7220],{},[876,7221,7222,7225,7228],{},[879,7223,7224],{},"Plugin file",[879,7226,7227],{},"Gateway",[879,7229,7230],{},"Notes",[889,7232,7233,7246,7262,7275],{},[876,7234,7235,7240,7243],{},[894,7236,7237],{},[148,7238,7239],{},"stripe.ts",[894,7241,7242],{},"Stripe",[894,7244,7245],{},"Payment Element, saved card support, order metadata",[876,7247,7248,7253,7256],{},[894,7249,7250],{},[148,7251,7252],{},"paypal.ts",[894,7254,7255],{},"PayPal \u002F PPCP",[894,7257,7258,7259],{},"Redirect-based; redirect handling stays in ",[148,7260,7261],{},"useCheckout()",[876,7263,7264,7269,7272],{},[894,7265,7266],{},[148,7267,7268],{},"cod.ts",[894,7270,7271],{},"Cash on Delivery",[894,7273,7274],{},"No client-side processing required",[876,7276,7277,7282,7285],{},[894,7278,7279],{},[148,7280,7281],{},"cheque.ts",[894,7283,7284],{},"Cheque",[894,7286,7274],{},[19,7288,7290],{"id":7289},"enabling-disabling-gateways","Enabling \u002F Disabling Gateways",[10,7292,7293,7294,1797],{},"Add or remove plugin entries in ",[148,7295,6757],{},[141,7297,7299],{"className":2028,"code":7298,"filename":6757,"language":2030,"meta":150,"style":150},"plugins: [\n  resolve('.\u002Fapp\u002Fplugins\u002Finit.ts'),\n  resolve('.\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fstripe.ts'),\n  resolve('.\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fpaypal.ts'),\n  resolve('.\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fcod.ts'),\n  resolve('.\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fcheque.ts'),\n],\n",[148,7300,7301,7311,7329,7346,7363,7380,7397],{"__ignoreMap":150},[184,7302,7303,7306,7308],{"class":186,"line":187},[184,7304,7305],{"class":197},"plugins",[184,7307,1797],{"class":1810},[184,7309,7310],{"class":1807}," [\n",[184,7312,7313,7316,7318,7320,7323,7325,7327],{"class":186,"line":194},[184,7314,7315],{"class":211},"  resolve",[184,7317,2047],{"class":1807},[184,7319,2064],{"class":1810},[184,7321,7322],{"class":201},".\u002Fapp\u002Fplugins\u002Finit.ts",[184,7324,2064],{"class":1810},[184,7326,945],{"class":1807},[184,7328,2075],{"class":1810},[184,7330,7331,7333,7335,7337,7340,7342,7344],{"class":186,"line":208},[184,7332,7315],{"class":211},[184,7334,2047],{"class":1807},[184,7336,2064],{"class":1810},[184,7338,7339],{"class":201},".\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fstripe.ts",[184,7341,2064],{"class":1810},[184,7343,945],{"class":1807},[184,7345,2075],{"class":1810},[184,7347,7348,7350,7352,7354,7357,7359,7361],{"class":186,"line":218},[184,7349,7315],{"class":211},[184,7351,2047],{"class":1807},[184,7353,2064],{"class":1810},[184,7355,7356],{"class":201},".\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fpaypal.ts",[184,7358,2064],{"class":1810},[184,7360,945],{"class":1807},[184,7362,2075],{"class":1810},[184,7364,7365,7367,7369,7371,7374,7376,7378],{"class":186,"line":225},[184,7366,7315],{"class":211},[184,7368,2047],{"class":1807},[184,7370,2064],{"class":1810},[184,7372,7373],{"class":201},".\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fcod.ts",[184,7375,2064],{"class":1810},[184,7377,945],{"class":1807},[184,7379,2075],{"class":1810},[184,7381,7382,7384,7386,7388,7391,7393,7395],{"class":186,"line":231},[184,7383,7315],{"class":211},[184,7385,2047],{"class":1807},[184,7387,2064],{"class":1810},[184,7389,7390],{"class":201},".\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fcheque.ts",[184,7392,2064],{"class":1810},[184,7394,945],{"class":1807},[184,7396,2075],{"class":1810},[184,7398,7399,7401],{"class":186,"line":240},[184,7400,2072],{"class":1807},[184,7402,2075],{"class":1810},[10,7404,7405],{},"Remove any line to disable that gateway entirely. No other code changes are needed.",[19,7407,1330,7409,7411],{"id":7408},"the-paymentgatewayplugin-interface",[148,7410,7210],{}," Interface",[141,7413,7415],{"className":2028,"code":7414,"language":2030,"meta":150,"style":150},"type PaymentGatewayPlugin = {\n  id: string;                    \u002F\u002F Must match the WooCommerce gateway ID (e.g. 'stripe')\n  name?: string;                 \u002F\u002F Display name\n  icon?: string | ((gateway: PaymentGateway) => string | null); \u002F\u002F Image URL or resolver\n  iconName?: string;             \u002F\u002F Iconify icon name fallback (e.g. 'ion:card-outline')\n  component?: Component;         \u002F\u002F Vue component rendered below the payment option list\n\n  \u002F\u002F Payment option list: override to return multiple rows (for example, saved cards + new card)\n  getPaymentOptions?: (gateway: PaymentGateway) => PaymentGatewayOption[];\n\n  \u002F\u002F Lifecycle\n  onSelect?: (gateway?: PaymentGateway | string | null) => void | Promise\u003Cvoid>;\n  onDeselect?: () => void | Promise\u003Cvoid>;\n  reset?: () => void;            \u002F\u002F Called before each checkout attempt\n\n  \u002F\u002F Readiness\n  isReady?: () => boolean;       \u002F\u002F Checkout button is disabled when false\n  getDisabledMessage?: () => string;\n\n  \u002F\u002F Component wiring (used with `component`)\n  getComponentProps?: () => Record\u003Cstring, unknown>;\n  getComponentEvents?: () => Record\u003Cstring, (...args: unknown[]) => void>;\n\n  \u002F\u002F Payment processing\n  processPayment?: () => Promise\u003C{ success: boolean; isPaid: boolean; error?: string }>;\n};\n",[148,7416,7417,7429,7443,7457,7500,7514,7529,7533,7538,7565,7569,7574,7617,7640,7658,7662,7667,7686,7701,7705,7710,7736,7775,7779,7784,7827],{"__ignoreMap":150},[184,7418,7419,7422,7425,7427],{"class":186,"line":187},[184,7420,7421],{"class":2197},"type",[184,7423,7424],{"class":197}," PaymentGatewayPlugin",[184,7426,5799],{"class":1810},[184,7428,2433],{"class":1810},[184,7430,7431,7434,7436,7438,7440],{"class":186,"line":194},[184,7432,7433],{"class":2055},"  id",[184,7435,1797],{"class":1810},[184,7437,2319],{"class":197},[184,7439,2322],{"class":1810},[184,7441,7442],{"class":190},"                    \u002F\u002F Must match the WooCommerce gateway ID (e.g. 'stripe')\n",[184,7444,7445,7448,7450,7452,7454],{"class":186,"line":208},[184,7446,7447],{"class":2055},"  name",[184,7449,3210],{"class":1810},[184,7451,2319],{"class":197},[184,7453,2322],{"class":1810},[184,7455,7456],{"class":190},"                 \u002F\u002F Display name\n",[184,7458,7459,7462,7464,7466,7469,7472,7474,7477,7479,7482,7484,7486,7488,7490,7493,7495,7497],{"class":186,"line":218},[184,7460,7461],{"class":2055},"  icon",[184,7463,3210],{"class":1810},[184,7465,2319],{"class":197},[184,7467,7468],{"class":1810}," |",[184,7470,7471],{"class":1807}," (",[184,7473,2047],{"class":1810},[184,7475,7476],{"class":2675},"gateway",[184,7478,1797],{"class":1810},[184,7480,7481],{"class":197}," PaymentGateway",[184,7483,945],{"class":1810},[184,7485,3067],{"class":2197},[184,7487,2319],{"class":197},[184,7489,7468],{"class":1810},[184,7491,7492],{"class":197}," null",[184,7494,945],{"class":1807},[184,7496,2322],{"class":1810},[184,7498,7499],{"class":190}," \u002F\u002F Image URL or resolver\n",[184,7501,7502,7505,7507,7509,7511],{"class":186,"line":225},[184,7503,7504],{"class":2055},"  iconName",[184,7506,3210],{"class":1810},[184,7508,2319],{"class":197},[184,7510,2322],{"class":1810},[184,7512,7513],{"class":190},"             \u002F\u002F Iconify icon name fallback (e.g. 'ion:card-outline')\n",[184,7515,7516,7519,7521,7524,7526],{"class":186,"line":231},[184,7517,7518],{"class":2055},"  component",[184,7520,3210],{"class":1810},[184,7522,7523],{"class":197}," Component",[184,7525,2322],{"class":1810},[184,7527,7528],{"class":190},"         \u002F\u002F Vue component rendered below the payment option list\n",[184,7530,7531],{"class":186,"line":240},[184,7532,222],{"emptyLinePlaceholder":221},[184,7534,7535],{"class":186,"line":246},[184,7536,7537],{"class":190},"  \u002F\u002F Payment option list: override to return multiple rows (for example, saved cards + new card)\n",[184,7539,7540,7543,7545,7547,7549,7551,7553,7555,7557,7560,7563],{"class":186,"line":252},[184,7541,7542],{"class":2055},"  getPaymentOptions",[184,7544,3210],{"class":1810},[184,7546,7471],{"class":1810},[184,7548,7476],{"class":2675},[184,7550,1797],{"class":1810},[184,7552,7481],{"class":197},[184,7554,945],{"class":1810},[184,7556,3067],{"class":2197},[184,7558,7559],{"class":197}," PaymentGatewayOption",[184,7561,7562],{"class":1807},"[]",[184,7564,2416],{"class":1810},[184,7566,7567],{"class":186,"line":257},[184,7568,222],{"emptyLinePlaceholder":221},[184,7570,7571],{"class":186,"line":263},[184,7572,7573],{"class":190},"  \u002F\u002F Lifecycle\n",[184,7575,7576,7579,7581,7583,7585,7587,7589,7591,7593,7595,7597,7599,7601,7604,7606,7609,7611,7614],{"class":186,"line":275},[184,7577,7578],{"class":2055},"  onSelect",[184,7580,3210],{"class":1810},[184,7582,7471],{"class":1810},[184,7584,7476],{"class":2675},[184,7586,3210],{"class":1810},[184,7588,7481],{"class":197},[184,7590,7468],{"class":1810},[184,7592,2319],{"class":197},[184,7594,7468],{"class":1810},[184,7596,7492],{"class":197},[184,7598,945],{"class":1810},[184,7600,3067],{"class":2197},[184,7602,7603],{"class":197}," void",[184,7605,7468],{"class":1810},[184,7607,7608],{"class":197}," Promise",[184,7610,2180],{"class":1810},[184,7612,7613],{"class":197},"void",[184,7615,7616],{"class":1810},">;\n",[184,7618,7619,7622,7624,7626,7628,7630,7632,7634,7636,7638],{"class":186,"line":280},[184,7620,7621],{"class":2055},"  onDeselect",[184,7623,3210],{"class":1810},[184,7625,3064],{"class":1810},[184,7627,3067],{"class":2197},[184,7629,7603],{"class":197},[184,7631,7468],{"class":1810},[184,7633,7608],{"class":197},[184,7635,2180],{"class":1810},[184,7637,7613],{"class":197},[184,7639,7616],{"class":1810},[184,7641,7642,7645,7647,7649,7651,7653,7655],{"class":186,"line":286},[184,7643,7644],{"class":2055},"  reset",[184,7646,3210],{"class":1810},[184,7648,3064],{"class":1810},[184,7650,3067],{"class":2197},[184,7652,7603],{"class":197},[184,7654,2322],{"class":1810},[184,7656,7657],{"class":190},"            \u002F\u002F Called before each checkout attempt\n",[184,7659,7660],{"class":186,"line":292},[184,7661,222],{"emptyLinePlaceholder":221},[184,7663,7664],{"class":186,"line":297},[184,7665,7666],{"class":190},"  \u002F\u002F Readiness\n",[184,7668,7669,7672,7674,7676,7678,7681,7683],{"class":186,"line":303},[184,7670,7671],{"class":2055},"  isReady",[184,7673,3210],{"class":1810},[184,7675,3064],{"class":1810},[184,7677,3067],{"class":2197},[184,7679,7680],{"class":197}," boolean",[184,7682,2322],{"class":1810},[184,7684,7685],{"class":190},"       \u002F\u002F Checkout button is disabled when false\n",[184,7687,7688,7691,7693,7695,7697,7699],{"class":186,"line":314},[184,7689,7690],{"class":2055},"  getDisabledMessage",[184,7692,3210],{"class":1810},[184,7694,3064],{"class":1810},[184,7696,3067],{"class":2197},[184,7698,2319],{"class":197},[184,7700,2416],{"class":1810},[184,7702,7703],{"class":186,"line":320},[184,7704,222],{"emptyLinePlaceholder":221},[184,7706,7707],{"class":186,"line":848},[184,7708,7709],{"class":190},"  \u002F\u002F Component wiring (used with `component`)\n",[184,7711,7712,7715,7717,7719,7721,7724,7726,7729,7731,7734],{"class":186,"line":854},[184,7713,7714],{"class":2055},"  getComponentProps",[184,7716,3210],{"class":1810},[184,7718,3064],{"class":1810},[184,7720,3067],{"class":2197},[184,7722,7723],{"class":197}," Record",[184,7725,2180],{"class":1810},[184,7727,7728],{"class":197},"string",[184,7730,2711],{"class":1810},[184,7732,7733],{"class":197}," unknown",[184,7735,7616],{"class":1810},[184,7737,7738,7741,7743,7745,7747,7749,7751,7753,7755,7758,7761,7763,7765,7767,7769,7771,7773],{"class":186,"line":859},[184,7739,7740],{"class":2055},"  getComponentEvents",[184,7742,3210],{"class":1810},[184,7744,3064],{"class":1810},[184,7746,3067],{"class":2197},[184,7748,7723],{"class":197},[184,7750,2180],{"class":1810},[184,7752,7728],{"class":197},[184,7754,2711],{"class":1810},[184,7756,7757],{"class":1810}," (...",[184,7759,7760],{"class":2675},"args",[184,7762,1797],{"class":1810},[184,7764,7733],{"class":197},[184,7766,7562],{"class":1807},[184,7768,945],{"class":1810},[184,7770,3067],{"class":2197},[184,7772,7603],{"class":197},[184,7774,7616],{"class":1810},[184,7776,7777],{"class":186,"line":865},[184,7778,222],{"emptyLinePlaceholder":221},[184,7780,7781],{"class":186,"line":4485},[184,7782,7783],{"class":190},"  \u002F\u002F Payment processing\n",[184,7785,7786,7789,7791,7793,7795,7797,7799,7802,7804,7806,7808,7811,7813,7815,7817,7820,7822,7824],{"class":186,"line":4490},[184,7787,7788],{"class":2055},"  processPayment",[184,7790,3210],{"class":1810},[184,7792,3064],{"class":1810},[184,7794,3067],{"class":2197},[184,7796,7608],{"class":197},[184,7798,2311],{"class":1810},[184,7800,7801],{"class":2055}," success",[184,7803,1797],{"class":1810},[184,7805,7680],{"class":197},[184,7807,2322],{"class":1810},[184,7809,7810],{"class":2055}," isPaid",[184,7812,1797],{"class":1810},[184,7814,7680],{"class":197},[184,7816,2322],{"class":1810},[184,7818,7819],{"class":2055}," error",[184,7821,3210],{"class":1810},[184,7823,2319],{"class":197},[184,7825,7826],{"class":1810}," }>;\n",[184,7828,7830],{"class":186,"line":7829},26,[184,7831,7832],{"class":1810},"};\n",[19,7834,7836],{"id":7835},"adding-a-custom-gateway","Adding a Custom Gateway",[10,7838,7839,7840,1797],{},"Create ",[148,7841,7842],{},"woonuxt_base\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fyour-gateway.ts",[141,7844,7847],{"className":2028,"code":7845,"filename":7846,"language":2030,"meta":150,"style":150},"import type { PaymentGatewayPlugin } from '#types\u002Fpayment-gateway-plugin';\n\nconst myGatewayPlugin: PaymentGatewayPlugin = {\n  id: 'my-gateway',            \u002F\u002F Must match the WooCommerce gateway ID\n  name: 'My Gateway',\n  iconName: 'ion:wallet-outline',\n\n  isReady: () => true,\n\n  processPayment: async () => {\n    \u002F\u002F Run any client-side payment logic here.\n    \u002F\u002F Return isPaid: true if the payment was already captured\n    \u002F\u002F (e.g. Stripe PaymentIntent succeeded).\n    \u002F\u002F Return isPaid: false to let WooCommerce handle capture server-side.\n    return { success: true, isPaid: false };\n  },\n};\n\nexport default defineNuxtPlugin(() => {\n  const { registerGateway } = usePaymentGateways();\n  registerGateway(myGatewayPlugin);\n});\n","your-gateway.ts",[148,7848,7849,7874,7878,7893,7911,7926,7941,7945,7960,7964,7979,7984,7989,7994,7999,8023,8027,8031,8035,8053,8074,8088],{"__ignoreMap":150},[184,7850,7851,7853,7856,7858,7860,7862,7865,7867,7870,7872],{"class":186,"line":187},[184,7852,3037],{"class":2037},[184,7854,7855],{"class":2037}," type",[184,7857,6561],{"class":1810},[184,7859,7424],{"class":1807},[184,7861,2740],{"class":1810},[184,7863,7864],{"class":2037}," from",[184,7866,2703],{"class":1810},[184,7868,7869],{"class":201},"#types\u002Fpayment-gateway-plugin",[184,7871,2064],{"class":1810},[184,7873,2416],{"class":1810},[184,7875,7876],{"class":186,"line":194},[184,7877,222],{"emptyLinePlaceholder":221},[184,7879,7880,7882,7885,7887,7889,7891],{"class":186,"line":208},[184,7881,5690],{"class":2197},[184,7883,7884],{"class":1807}," myGatewayPlugin",[184,7886,1797],{"class":1810},[184,7888,7424],{"class":197},[184,7890,5799],{"class":1810},[184,7892,2433],{"class":1810},[184,7894,7895,7897,7899,7901,7904,7906,7908],{"class":186,"line":218},[184,7896,7433],{"class":2055},[184,7898,1797],{"class":1810},[184,7900,2703],{"class":1810},[184,7902,7903],{"class":201},"my-gateway",[184,7905,2064],{"class":1810},[184,7907,2711],{"class":1810},[184,7909,7910],{"class":190},"            \u002F\u002F Must match the WooCommerce gateway ID\n",[184,7912,7913,7915,7917,7919,7922,7924],{"class":186,"line":225},[184,7914,7447],{"class":2055},[184,7916,1797],{"class":1810},[184,7918,2703],{"class":1810},[184,7920,7921],{"class":201},"My Gateway",[184,7923,2064],{"class":1810},[184,7925,2075],{"class":1810},[184,7927,7928,7930,7932,7934,7937,7939],{"class":186,"line":231},[184,7929,7504],{"class":2055},[184,7931,1797],{"class":1810},[184,7933,2703],{"class":1810},[184,7935,7936],{"class":201},"ion:wallet-outline",[184,7938,2064],{"class":1810},[184,7940,2075],{"class":1810},[184,7942,7943],{"class":186,"line":240},[184,7944,222],{"emptyLinePlaceholder":221},[184,7946,7947,7949,7951,7953,7955,7958],{"class":186,"line":246},[184,7948,7671],{"class":211},[184,7950,1797],{"class":1810},[184,7952,3064],{"class":1810},[184,7954,3067],{"class":2197},[184,7956,7957],{"class":7145}," true",[184,7959,2075],{"class":1810},[184,7961,7962],{"class":186,"line":252},[184,7963,222],{"emptyLinePlaceholder":221},[184,7965,7966,7968,7970,7973,7975,7977],{"class":186,"line":257},[184,7967,7788],{"class":211},[184,7969,1797],{"class":1810},[184,7971,7972],{"class":2197}," async",[184,7974,3064],{"class":1810},[184,7976,3067],{"class":2197},[184,7978,2433],{"class":1810},[184,7980,7981],{"class":186,"line":263},[184,7982,7983],{"class":190},"    \u002F\u002F Run any client-side payment logic here.\n",[184,7985,7986],{"class":186,"line":275},[184,7987,7988],{"class":190},"    \u002F\u002F Return isPaid: true if the payment was already captured\n",[184,7990,7991],{"class":186,"line":280},[184,7992,7993],{"class":190},"    \u002F\u002F (e.g. Stripe PaymentIntent succeeded).\n",[184,7995,7996],{"class":186,"line":286},[184,7997,7998],{"class":190},"    \u002F\u002F Return isPaid: false to let WooCommerce handle capture server-side.\n",[184,8000,8001,8004,8006,8008,8010,8012,8014,8016,8018,8020],{"class":186,"line":292},[184,8002,8003],{"class":2037},"    return",[184,8005,6561],{"class":1810},[184,8007,7801],{"class":2055},[184,8009,1797],{"class":1810},[184,8011,7957],{"class":7145},[184,8013,2711],{"class":1810},[184,8015,7810],{"class":2055},[184,8017,1797],{"class":1810},[184,8019,7146],{"class":7145},[184,8021,8022],{"class":1810}," };\n",[184,8024,8025],{"class":186,"line":297},[184,8026,2642],{"class":1810},[184,8028,8029],{"class":186,"line":303},[184,8030,7832],{"class":1810},[184,8032,8033],{"class":186,"line":314},[184,8034,222],{"emptyLinePlaceholder":221},[184,8036,8037,8039,8041,8044,8046,8049,8051],{"class":186,"line":320},[184,8038,2038],{"class":2037},[184,8040,2041],{"class":2037},[184,8042,8043],{"class":211}," defineNuxtPlugin",[184,8045,2047],{"class":1807},[184,8047,8048],{"class":1810},"()",[184,8050,3067],{"class":2197},[184,8052,2433],{"class":1810},[184,8054,8055,8058,8060,8063,8065,8067,8070,8072],{"class":186,"line":848},[184,8056,8057],{"class":2197},"  const",[184,8059,6561],{"class":1810},[184,8061,8062],{"class":1807}," registerGateway",[184,8064,2740],{"class":1810},[184,8066,5799],{"class":1810},[184,8068,8069],{"class":211}," usePaymentGateways",[184,8071,8048],{"class":2055},[184,8073,2416],{"class":1810},[184,8075,8076,8079,8081,8084,8086],{"class":186,"line":854},[184,8077,8078],{"class":211},"  registerGateway",[184,8080,2047],{"class":2055},[184,8082,8083],{"class":1807},"myGatewayPlugin",[184,8085,945],{"class":2055},[184,8087,2416],{"class":1810},[184,8089,8090,8092,8094],{"class":186,"line":859},[184,8091,2085],{"class":1810},[184,8093,945],{"class":1807},[184,8095,2416],{"class":1810},[10,8097,8098,8099,1797],{},"Then register it in ",[148,8100,6757],{},[141,8102,8104],{"className":2028,"code":8103,"filename":6757,"language":2030,"meta":150,"style":150},"resolve('.\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fyour-gateway.ts'),\n",[148,8105,8106],{"__ignoreMap":150},[184,8107,8108,8111,8113,8115,8118,8120,8122],{"class":186,"line":187},[184,8109,8110],{"class":211},"resolve",[184,8112,2047],{"class":1807},[184,8114,2064],{"class":1810},[184,8116,8117],{"class":201},".\u002Fapp\u002Fplugins\u002Fpayment-gateways\u002Fyour-gateway.ts",[184,8119,2064],{"class":1810},[184,8121,945],{"class":1807},[184,8123,2075],{"class":1810},[19,8125,8127],{"id":8126},"custom-ui-component","Custom UI Component",[10,8129,8130,8131,8134],{},"If your gateway needs UI rendered at checkout (like a card form), set the ",[148,8132,8133],{},"component"," field:",[141,8136,8138],{"className":2028,"code":8137,"language":2030,"meta":150,"style":150},"import MyGatewayForm from '..\u002F..\u002Fcomponents\u002Fpayments\u002FMyGatewayForm.vue';\n\nconst myGatewayPlugin: PaymentGatewayPlugin = {\n  id: 'my-gateway',\n  component: MyGatewayForm,\n  getComponentProps: () => ({ apiKey: useRuntimeConfig().public.MY_API_KEY }),\n  getComponentEvents: () => ({\n    ready: () => { \u002F* mark gateway ready *\u002F },\n  }),\n  \u002F\u002F ...\n};\n",[148,8139,8140,8158,8162,8176,8190,8201,8241,8255,8274,8282,8287],{"__ignoreMap":150},[184,8141,8142,8144,8147,8149,8151,8154,8156],{"class":186,"line":187},[184,8143,3037],{"class":2037},[184,8145,8146],{"class":1807}," MyGatewayForm ",[184,8148,3043],{"class":2037},[184,8150,2703],{"class":1810},[184,8152,8153],{"class":201},"..\u002F..\u002Fcomponents\u002Fpayments\u002FMyGatewayForm.vue",[184,8155,2064],{"class":1810},[184,8157,2416],{"class":1810},[184,8159,8160],{"class":186,"line":194},[184,8161,222],{"emptyLinePlaceholder":221},[184,8163,8164,8166,8168,8170,8172,8174],{"class":186,"line":208},[184,8165,5690],{"class":2197},[184,8167,7884],{"class":1807},[184,8169,1797],{"class":1810},[184,8171,7424],{"class":197},[184,8173,5799],{"class":1810},[184,8175,2433],{"class":1810},[184,8177,8178,8180,8182,8184,8186,8188],{"class":186,"line":218},[184,8179,7433],{"class":2055},[184,8181,1797],{"class":1810},[184,8183,2703],{"class":1810},[184,8185,7903],{"class":201},[184,8187,2064],{"class":1810},[184,8189,2075],{"class":1810},[184,8191,8192,8194,8196,8199],{"class":186,"line":225},[184,8193,7518],{"class":2055},[184,8195,1797],{"class":1810},[184,8197,8198],{"class":1807}," MyGatewayForm",[184,8200,2075],{"class":1810},[184,8202,8203,8205,8207,8209,8211,8213,8215,8218,8220,8223,8225,8227,8230,8232,8235,8237,8239],{"class":186,"line":231},[184,8204,7714],{"class":211},[184,8206,1797],{"class":1810},[184,8208,3064],{"class":1810},[184,8210,3067],{"class":2197},[184,8212,7471],{"class":1807},[184,8214,2695],{"class":1810},[184,8216,8217],{"class":2055}," apiKey",[184,8219,1797],{"class":1810},[184,8221,8222],{"class":211}," useRuntimeConfig",[184,8224,8048],{"class":1807},[184,8226,1938],{"class":1810},[184,8228,8229],{"class":1807},"public",[184,8231,1938],{"class":1810},[184,8233,8234],{"class":1807},"MY_API_KEY ",[184,8236,2085],{"class":1810},[184,8238,945],{"class":1807},[184,8240,2075],{"class":1810},[184,8242,8243,8245,8247,8249,8251,8253],{"class":186,"line":240},[184,8244,7740],{"class":211},[184,8246,1797],{"class":1810},[184,8248,3064],{"class":1810},[184,8250,3067],{"class":2197},[184,8252,7471],{"class":1807},[184,8254,2050],{"class":1810},[184,8256,8257,8260,8262,8264,8266,8268,8271],{"class":186,"line":246},[184,8258,8259],{"class":211},"    ready",[184,8261,1797],{"class":1810},[184,8263,3064],{"class":1810},[184,8265,3067],{"class":2197},[184,8267,6561],{"class":1810},[184,8269,8270],{"class":190}," \u002F* mark gateway ready *\u002F",[184,8272,8273],{"class":1810}," },\n",[184,8275,8276,8278,8280],{"class":186,"line":252},[184,8277,3138],{"class":1810},[184,8279,945],{"class":1807},[184,8281,2075],{"class":1810},[184,8283,8284],{"class":186,"line":257},[184,8285,8286],{"class":190},"  \u002F\u002F ...\n",[184,8288,8289],{"class":186,"line":263},[184,8290,7832],{"class":1810},[10,8292,8293,1399,8296,8299],{},[148,8294,8295],{},"\u003CPaymentGatewayComponent>",[148,8297,8298],{},"checkout.vue"," automatically mounts your component when the gateway is selected and passes through props and events.",[19,8301,8303],{"id":8302},"multiple-payment-options-per-gateway","Multiple Payment Options Per Gateway",[10,8305,8306,8309],{},[148,8307,8308],{},"getPaymentOptions()"," lets a single WooCommerce gateway appear as multiple selectable rows. The Stripe plugin uses this to list saved cards alongside the \"Credit \u002F Debit Card\" option:",[141,8311,8313],{"className":2028,"code":8312,"language":2030,"meta":150,"style":150},"getPaymentOptions: (gateway) => [\n  {\n    id: 'my-gateway-bank',\n    gateway,\n    title: 'Bank Transfer',\n    iconName: 'ion:business-outline',\n    onSelect: () => selectBankTransfer(),\n  },\n  {\n    id: 'my-gateway-wallet',\n    gateway,\n    title: 'Digital Wallet',\n    iconName: 'ion:wallet-outline',\n    onSelect: () => selectWallet(),\n  },\n],\n",[148,8314,8315,8332,8337,8352,8359,8375,8391,8409,8413,8417,8432,8438,8453,8467,8484,8488],{"__ignoreMap":150},[184,8316,8317,8320,8322,8324,8326,8328,8330],{"class":186,"line":187},[184,8318,8319],{"class":197},"getPaymentOptions",[184,8321,1797],{"class":1810},[184,8323,7471],{"class":1810},[184,8325,7476],{"class":2675},[184,8327,945],{"class":1810},[184,8329,3067],{"class":2197},[184,8331,7310],{"class":1807},[184,8333,8334],{"class":186,"line":194},[184,8335,8336],{"class":1810},"  {\n",[184,8338,8339,8341,8343,8345,8348,8350],{"class":186,"line":208},[184,8340,3098],{"class":2055},[184,8342,1797],{"class":1810},[184,8344,2703],{"class":1810},[184,8346,8347],{"class":201},"my-gateway-bank",[184,8349,2064],{"class":1810},[184,8351,2075],{"class":1810},[184,8353,8354,8357],{"class":186,"line":218},[184,8355,8356],{"class":1807},"    gateway",[184,8358,2075],{"class":1810},[184,8360,8361,8364,8366,8368,8371,8373],{"class":186,"line":225},[184,8362,8363],{"class":2055},"    title",[184,8365,1797],{"class":1810},[184,8367,2703],{"class":1810},[184,8369,8370],{"class":201},"Bank Transfer",[184,8372,2064],{"class":1810},[184,8374,2075],{"class":1810},[184,8376,8377,8380,8382,8384,8387,8389],{"class":186,"line":231},[184,8378,8379],{"class":2055},"    iconName",[184,8381,1797],{"class":1810},[184,8383,2703],{"class":1810},[184,8385,8386],{"class":201},"ion:business-outline",[184,8388,2064],{"class":1810},[184,8390,2075],{"class":1810},[184,8392,8393,8396,8398,8400,8402,8405,8407],{"class":186,"line":240},[184,8394,8395],{"class":211},"    onSelect",[184,8397,1797],{"class":1810},[184,8399,3064],{"class":1810},[184,8401,3067],{"class":2197},[184,8403,8404],{"class":211}," selectBankTransfer",[184,8406,8048],{"class":1807},[184,8408,2075],{"class":1810},[184,8410,8411],{"class":186,"line":246},[184,8412,2642],{"class":1810},[184,8414,8415],{"class":186,"line":252},[184,8416,8336],{"class":1810},[184,8418,8419,8421,8423,8425,8428,8430],{"class":186,"line":257},[184,8420,3098],{"class":2055},[184,8422,1797],{"class":1810},[184,8424,2703],{"class":1810},[184,8426,8427],{"class":201},"my-gateway-wallet",[184,8429,2064],{"class":1810},[184,8431,2075],{"class":1810},[184,8433,8434,8436],{"class":186,"line":263},[184,8435,8356],{"class":1807},[184,8437,2075],{"class":1810},[184,8439,8440,8442,8444,8446,8449,8451],{"class":186,"line":275},[184,8441,8363],{"class":2055},[184,8443,1797],{"class":1810},[184,8445,2703],{"class":1810},[184,8447,8448],{"class":201},"Digital Wallet",[184,8450,2064],{"class":1810},[184,8452,2075],{"class":1810},[184,8454,8455,8457,8459,8461,8463,8465],{"class":186,"line":280},[184,8456,8379],{"class":2055},[184,8458,1797],{"class":1810},[184,8460,2703],{"class":1810},[184,8462,7936],{"class":201},[184,8464,2064],{"class":1810},[184,8466,2075],{"class":1810},[184,8468,8469,8471,8473,8475,8477,8480,8482],{"class":186,"line":286},[184,8470,8395],{"class":211},[184,8472,1797],{"class":1810},[184,8474,3064],{"class":1810},[184,8476,3067],{"class":2197},[184,8478,8479],{"class":211}," selectWallet",[184,8481,8048],{"class":1807},[184,8483,2075],{"class":1810},[184,8485,8486],{"class":186,"line":292},[184,8487,2642],{"class":1810},[184,8489,8490,8492],{"class":186,"line":297},[184,8491,2072],{"class":1807},[184,8493,2075],{"class":1810},[19,8495,8497,8500],{"id":8496},"usepaymentgateways-composable",[148,8498,8499],{},"usePaymentGateways"," Composable",[141,8502,8504],{"className":2028,"code":8503,"language":2030,"meta":150,"style":150},"const {\n  registerGateway,              \u002F\u002F (plugin: PaymentGatewayPlugin) => void\n  getGateway,                   \u002F\u002F (id: string) => PaymentGatewayPlugin | undefined\n  setActiveGateway,             \u002F\u002F (gateway) => Promise\u003Cvoid>: triggers onSelect\u002FonDeselect\n  isActiveGatewayReady,         \u002F\u002F ComputedRef\u003Cboolean>\n  getActiveGatewayDisabledMessage, \u002F\u002F () => string\n  resetActiveGateway,           \u002F\u002F () => void: calls plugin.reset()\n  processActiveGatewayPayment,  \u002F\u002F () => Promise\u003C{ success, isPaid, error? }>\n} = usePaymentGateways()\n",[148,8505,8506,8512,8521,8531,8541,8551,8561,8571,8581],{"__ignoreMap":150},[184,8507,8508,8510],{"class":186,"line":187},[184,8509,5690],{"class":2197},[184,8511,2433],{"class":1810},[184,8513,8514,8516,8518],{"class":186,"line":194},[184,8515,8078],{"class":1807},[184,8517,2711],{"class":1810},[184,8519,8520],{"class":190},"              \u002F\u002F (plugin: PaymentGatewayPlugin) => void\n",[184,8522,8523,8526,8528],{"class":186,"line":208},[184,8524,8525],{"class":1807},"  getGateway",[184,8527,2711],{"class":1810},[184,8529,8530],{"class":190},"                   \u002F\u002F (id: string) => PaymentGatewayPlugin | undefined\n",[184,8532,8533,8536,8538],{"class":186,"line":218},[184,8534,8535],{"class":1807},"  setActiveGateway",[184,8537,2711],{"class":1810},[184,8539,8540],{"class":190},"             \u002F\u002F (gateway) => Promise\u003Cvoid>: triggers onSelect\u002FonDeselect\n",[184,8542,8543,8546,8548],{"class":186,"line":225},[184,8544,8545],{"class":1807},"  isActiveGatewayReady",[184,8547,2711],{"class":1810},[184,8549,8550],{"class":190},"         \u002F\u002F ComputedRef\u003Cboolean>\n",[184,8552,8553,8556,8558],{"class":186,"line":231},[184,8554,8555],{"class":1807},"  getActiveGatewayDisabledMessage",[184,8557,2711],{"class":1810},[184,8559,8560],{"class":190}," \u002F\u002F () => string\n",[184,8562,8563,8566,8568],{"class":186,"line":240},[184,8564,8565],{"class":1807},"  resetActiveGateway",[184,8567,2711],{"class":1810},[184,8569,8570],{"class":190},"           \u002F\u002F () => void: calls plugin.reset()\n",[184,8572,8573,8576,8578],{"class":186,"line":246},[184,8574,8575],{"class":1807},"  processActiveGatewayPayment",[184,8577,2711],{"class":1810},[184,8579,8580],{"class":190},"  \u002F\u002F () => Promise\u003C{ success, isPaid, error? }>\n",[184,8582,8583,8585,8587,8589],{"class":186,"line":252},[184,8584,2085],{"class":1810},[184,8586,5799],{"class":1810},[184,8588,8069],{"class":211},[184,8590,2335],{"class":1807},[371,8592,8593],{},"html pre.shiki code .s5Dmg, html code.shiki .s5Dmg{--shiki-default:#FFCB6B}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .s0W1g, html code.shiki .s0W1g{--shiki-default:#BABED8}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}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);}html pre.shiki code .sJ14y, html code.shiki .sJ14y{--shiki-default:#C792EA}html pre.shiki code .s-wAU, html code.shiki .s-wAU{--shiki-default:#F07178}html pre.shiki code .saEQR, html code.shiki .saEQR{--shiki-default:#676E95;--shiki-default-font-style:italic}html pre.shiki code .s7ZW3, html code.shiki .s7ZW3{--shiki-default:#BABED8;--shiki-default-font-style:italic}html pre.shiki code .s6cf3, html code.shiki .s6cf3{--shiki-default:#89DDFF;--shiki-default-font-style:italic}html pre.shiki code .sbqyR, html code.shiki .sbqyR{--shiki-default:#FF9CAC}",{"title":150,"searchDepth":194,"depth":194,"links":8595},[8596,8597,8598,8600,8601,8602,8603],{"id":7214,"depth":194,"text":7215},{"id":7289,"depth":194,"text":7290},{"id":7408,"depth":194,"text":8599},"The PaymentGatewayPlugin Interface",{"id":7835,"depth":194,"text":7836},{"id":8126,"depth":194,"text":8127},{"id":8302,"depth":194,"text":8303},{"id":8496,"depth":194,"text":8604},"usePaymentGateways Composable","How WooNuxt's plugin-based payment gateway system works and how to add your own",{},{"icon":3916},"\u002Fconfiguration\u002Fpayment-gateways",{"title":7202,"description":8605},"3.configuration\u002F4.payment-gateways","a7kFS-fVjuaCnwg07VGjYgMxW08QBr9ymH72lS0aTHc",{"id":8613,"title":150,"body":8614,"description":8618,"extension":382,"links":383,"meta":9045,"navigation":221,"path":9046,"seo":9047,"stem":9048,"__hash__":9049},"docs\u002F4.hooks\u002Findex.md",{"type":7,"value":8615,"toc":9038},[8616,8619,8623,8626,8630,8634,8640,8751,8755,8761,8902,8906,8915,9028,9032,9035],[10,8617,8618],{},"title: Location Hooks\ndescription: Extending WooNuxt with the Location Hooks system (registering outlets and components).",[2218,8620,8622],{"id":8621},"location-hooks","Location Hooks",[10,8624,8625],{},"The Location Hooks system provides lightweight extension points throughout WooNuxt so you can inject UI and logic without overriding full pages or components.",[19,8627,8629],{"id":8628},"key-points","Key points",[19,8631,8633],{"id":8632},"registering-a-hook","Registering a hook",[10,8635,2959,8636,8639],{},[148,8637,8638],{},"hooks\u002F"," folder in your app or custom layer and export a registration function. Files are loaded during app startup.",[141,8641,8643],{"className":2028,"code":8642,"language":2030,"meta":150,"style":150},"\u002F\u002F hooks\u002Fproduct.ts\nimport ProductTrustMessage from \"~\u002Fcomponents\u002FProductTrustMessage.vue\";\n\nexport default () => {\n  registerHook({\n    name: \"product.summary.afterPrice\",\n    id: \"product-trust-message\",\n    component: ProductTrustMessage,\n    priority: 10,\n  });\n};\n",[148,8644,8645,8650,8666,8670,8682,8690,8704,8718,8729,8739,8747],{"__ignoreMap":150},[184,8646,8647],{"class":186,"line":187},[184,8648,8649],{"class":190},"\u002F\u002F hooks\u002Fproduct.ts\n",[184,8651,8652,8654,8656,8658,8660,8662,8664],{"class":186,"line":194},[184,8653,3037],{"class":2037},[184,8655,3040],{"class":1807},[184,8657,3043],{"class":2037},[184,8659,2408],{"class":1810},[184,8661,3048],{"class":201},[184,8663,2203],{"class":1810},[184,8665,2416],{"class":1810},[184,8667,8668],{"class":186,"line":208},[184,8669,222],{"emptyLinePlaceholder":221},[184,8671,8672,8674,8676,8678,8680],{"class":186,"line":218},[184,8673,2038],{"class":2037},[184,8675,2041],{"class":2037},[184,8677,3064],{"class":1810},[184,8679,3067],{"class":2197},[184,8681,2433],{"class":1810},[184,8683,8684,8686,8688],{"class":186,"line":225},[184,8685,3074],{"class":211},[184,8687,2047],{"class":2055},[184,8689,2050],{"class":1810},[184,8691,8692,8694,8696,8698,8700,8702],{"class":186,"line":231},[184,8693,3083],{"class":2055},[184,8695,1797],{"class":1810},[184,8697,2408],{"class":1810},[184,8699,2913],{"class":201},[184,8701,2203],{"class":1810},[184,8703,2075],{"class":1810},[184,8705,8706,8708,8710,8712,8714,8716],{"class":186,"line":240},[184,8707,3098],{"class":2055},[184,8709,1797],{"class":1810},[184,8711,2408],{"class":1810},[184,8713,3105],{"class":201},[184,8715,2203],{"class":1810},[184,8717,2075],{"class":1810},[184,8719,8720,8723,8725,8727],{"class":186,"line":246},[184,8721,8722],{"class":2055},"    component",[184,8724,1797],{"class":1810},[184,8726,3119],{"class":1807},[184,8728,2075],{"class":1810},[184,8730,8731,8733,8735,8737],{"class":186,"line":252},[184,8732,3126],{"class":2055},[184,8734,1797],{"class":1810},[184,8736,3131],{"class":2629},[184,8738,2075],{"class":1810},[184,8740,8741,8743,8745],{"class":186,"line":257},[184,8742,3138],{"class":1810},[184,8744,945],{"class":2055},[184,8746,2416],{"class":1810},[184,8748,8749],{"class":186,"line":263},[184,8750,7832],{"class":1810},[19,8752,8754],{"id":8753},"hook-component","Hook component",[10,8756,8757,8758,8760],{},"The registered component receives a ",[148,8759,3150],{}," prop with location-specific data.",[141,8762,8764],{"className":2170,"code":8763,"language":2173,"meta":150,"style":150},"\u003Cscript setup lang=\"ts\">\ndefineProps\u003C{\n  ctx: {\n    product?: { name?: string; salePrice?: string | null }\n  }\n}>();\n\u003C\u002Fscript>\n\n\u003Ctemplate>\n  \u003Cdiv class=\"p-3 mt-4 text-sm border rounded-md\">\n    Free returns and secure checkout for {{ ctx.product?.name || \"this product\" }}.\n  \u003C\u002Fdiv>\n\u003C\u002Ftemplate>\n",[148,8765,8766,8786,8792,8800,8830,8834,8842,8850,8854,8862,8881,8886,8894],{"__ignoreMap":150},[184,8767,8768,8770,8772,8774,8776,8778,8780,8782,8784],{"class":186,"line":187},[184,8769,2180],{"class":1810},[184,8771,2287],{"class":2055},[184,8773,2290],{"class":2197},[184,8775,2293],{"class":2197},[184,8777,1811],{"class":1810},[184,8779,2203],{"class":1810},[184,8781,2030],{"class":201},[184,8783,2203],{"class":1810},[184,8785,2186],{"class":1810},[184,8787,8788,8790],{"class":186,"line":194},[184,8789,2308],{"class":211},[184,8791,3184],{"class":1810},[184,8793,8794,8796,8798],{"class":186,"line":208},[184,8795,3189],{"class":2055},[184,8797,1797],{"class":1810},[184,8799,2433],{"class":1810},[184,8801,8802,8804,8806,8808,8810,8812,8814,8816,8819,8821,8823,8825,8827],{"class":186,"line":218},[184,8803,3198],{"class":2055},[184,8805,3210],{"class":1810},[184,8807,6561],{"class":1810},[184,8809,2698],{"class":2055},[184,8811,3210],{"class":1810},[184,8813,2319],{"class":197},[184,8815,2322],{"class":1810},[184,8817,8818],{"class":2055}," salePrice",[184,8820,3210],{"class":1810},[184,8822,2319],{"class":197},[184,8824,7468],{"class":1810},[184,8826,7492],{"class":197},[184,8828,8829],{"class":1810}," }\n",[184,8831,8832],{"class":186,"line":225},[184,8833,1696],{"class":1810},[184,8835,8836,8838,8840],{"class":186,"line":231},[184,8837,3226],{"class":1810},[184,8839,8048],{"class":1807},[184,8841,2416],{"class":1810},[184,8843,8844,8846,8848],{"class":186,"line":240},[184,8845,2238],{"class":1810},[184,8847,2287],{"class":2055},[184,8849,2186],{"class":1810},[184,8851,8852],{"class":186,"line":246},[184,8853,222],{"emptyLinePlaceholder":221},[184,8855,8856,8858,8860],{"class":186,"line":252},[184,8857,2180],{"class":1810},[184,8859,2183],{"class":2055},[184,8861,2186],{"class":1810},[184,8863,8864,8866,8868,8870,8872,8874,8877,8879],{"class":186,"line":257},[184,8865,2191],{"class":1810},[184,8867,3255],{"class":2055},[184,8869,2198],{"class":2197},[184,8871,1811],{"class":1810},[184,8873,2203],{"class":1810},[184,8875,8876],{"class":201},"p-3 mt-4 text-sm border rounded-md",[184,8878,2203],{"class":1810},[184,8880,2186],{"class":1810},[184,8882,8883],{"class":186,"line":263},[184,8884,8885],{"class":1807},"    Free returns and secure checkout for {{ ctx.product?.name || \"this product\" }}.\n",[184,8887,8888,8890,8892],{"class":186,"line":275},[184,8889,2264],{"class":1810},[184,8891,3255],{"class":2055},[184,8893,2186],{"class":1810},[184,8895,8896,8898,8900],{"class":186,"line":280},[184,8897,2238],{"class":1810},[184,8899,2183],{"class":2055},[184,8901,2186],{"class":1810},[19,8903,8905],{"id":8904},"conditional-rendering-priority","Conditional rendering & priority",[10,8907,8908,8909,8911,8912,8914],{},"You can provide a ",[148,8910,3311],{}," predicate and ",[148,8913,3302],{}," to control rendering order and conditional display.",[141,8916,8918],{"className":2028,"code":8917,"language":2030,"meta":150,"style":150},"export default () => {\n  registerHook({\n    name: \"product.summary.beforeTitle\",\n    id: \"sale-notice\",\n    component: SaleNotice,\n    priority: 5,\n    when: ({ product }) => Boolean(product?.salePrice),\n  });\n};\n",[148,8919,8920,8932,8940,8954,8968,8978,8988,9016,9024],{"__ignoreMap":150},[184,8921,8922,8924,8926,8928,8930],{"class":186,"line":187},[184,8923,2038],{"class":2037},[184,8925,2041],{"class":2037},[184,8927,3064],{"class":1810},[184,8929,3067],{"class":2197},[184,8931,2433],{"class":1810},[184,8933,8934,8936,8938],{"class":186,"line":194},[184,8935,3074],{"class":211},[184,8937,2047],{"class":2055},[184,8939,2050],{"class":1810},[184,8941,8942,8944,8946,8948,8950,8952],{"class":186,"line":208},[184,8943,3083],{"class":2055},[184,8945,1797],{"class":1810},[184,8947,2408],{"class":1810},[184,8949,2898],{"class":201},[184,8951,2203],{"class":1810},[184,8953,2075],{"class":1810},[184,8955,8956,8958,8960,8962,8964,8966],{"class":186,"line":218},[184,8957,3098],{"class":2055},[184,8959,1797],{"class":1810},[184,8961,2408],{"class":1810},[184,8963,3382],{"class":201},[184,8965,2203],{"class":1810},[184,8967,2075],{"class":1810},[184,8969,8970,8972,8974,8976],{"class":186,"line":225},[184,8971,8722],{"class":2055},[184,8973,1797],{"class":1810},[184,8975,3395],{"class":1807},[184,8977,2075],{"class":1810},[184,8979,8980,8982,8984,8986],{"class":186,"line":231},[184,8981,3126],{"class":2055},[184,8983,1797],{"class":1810},[184,8985,3406],{"class":2629},[184,8987,2075],{"class":1810},[184,8989,8990,8992,8994,8996,8998,9000,9002,9004,9006,9008,9010,9012,9014],{"class":186,"line":240},[184,8991,3413],{"class":211},[184,8993,1797],{"class":1810},[184,8995,3418],{"class":1810},[184,8997,3421],{"class":2675},[184,8999,3424],{"class":1810},[184,9001,3067],{"class":2197},[184,9003,3429],{"class":211},[184,9005,2047],{"class":2055},[184,9007,3434],{"class":1807},[184,9009,3437],{"class":1810},[184,9011,3440],{"class":1807},[184,9013,945],{"class":2055},[184,9015,2075],{"class":1810},[184,9017,9018,9020,9022],{"class":186,"line":246},[184,9019,3138],{"class":1810},[184,9021,945],{"class":2055},[184,9023,2416],{"class":1810},[184,9025,9026],{"class":186,"line":252},[184,9027,7832],{"class":1810},[19,9029,9031],{"id":9030},"examples-and-deeper-reference","Examples and deeper reference",[10,9033,9034],{},"See the code examples and API reference in the project docs. If you'd like, I can add a dedicated deep-dive page with more examples and API details.",[371,9036,9037],{},"html pre.shiki code .saEQR, html code.shiki .saEQR{--shiki-default:#676E95;--shiki-default-font-style:italic}html pre.shiki code .s6cf3, html code.shiki .s6cf3{--shiki-default:#89DDFF;--shiki-default-font-style:italic}html pre.shiki code .s0W1g, html code.shiki .s0W1g{--shiki-default:#BABED8}html pre.shiki code .sAklC, html code.shiki .sAklC{--shiki-default:#89DDFF}html pre.shiki code .sfyAc, html code.shiki .sfyAc{--shiki-default:#C3E88D}html pre.shiki code .sJ14y, html code.shiki .sJ14y{--shiki-default:#C792EA}html pre.shiki code .sdLwU, html code.shiki .sdLwU{--shiki-default:#82AAFF}html pre.shiki code .s-wAU, html code.shiki .s-wAU{--shiki-default:#F07178}html pre.shiki code .sx098, html code.shiki .sx098{--shiki-default:#F78C6C}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);}html pre.shiki code .s5Dmg, html code.shiki .s5Dmg{--shiki-default:#FFCB6B}html pre.shiki code .s7ZW3, html code.shiki .s7ZW3{--shiki-default:#BABED8;--shiki-default-font-style:italic}",{"title":150,"searchDepth":194,"depth":194,"links":9039},[9040,9041,9042,9043,9044],{"id":8628,"depth":194,"text":8629},{"id":8632,"depth":194,"text":8633},{"id":8753,"depth":194,"text":8754},{"id":8904,"depth":194,"text":8905},{"id":9030,"depth":194,"text":9031},{},"\u002Fhooks",{"description":8618},"4.hooks\u002Findex","VF6GdaH9MmjUnCZcClD0kx_50hLdiEV5vdIZb6lu2Es",1796310409065]