docs: added custom item price guide (#11240)

* added examples sidebar

* added guide

* fixes

* add meta image

* update intro
This commit is contained in:
Shahed Nasser
2025-02-06 13:29:05 +02:00
committed by GitHub
parent a33aebd895
commit 0aa84fc371
11 changed files with 1093 additions and 26 deletions
+58
View File
@@ -0,0 +1,58 @@
/** @type {import('types').RawSidebarItem[]} */
export const examplesSidebar = [
{
type: "link",
path: "/examples",
title: "Examples",
isChildSidebar: true,
children: [
{
type: "ref",
path: "/examples",
title: "Example Snippets",
},
{
type: "ref",
path: "/recipes",
title: "Recipes",
},
{
type: "ref",
path: "/plugins",
title: "Plugins",
},
{
type: "ref",
path: "/integrations",
title: "Integrations",
},
{
type: "category",
title: "Server Examples",
autogenerate_tags: "example+server",
autogenerate_as_ref: true,
children: [
{
type: "link",
title: "Custom Item Price",
path: "/examples/guides/custom-item-price",
},
],
},
{
type: "category",
title: "Admin Examples",
autogenerate_tags: "example+admin",
autogenerate_as_ref: true,
children: [],
},
{
type: "category",
title: "Storefront Examples",
autogenerate_tags: "example+storefront",
autogenerate_as_ref: true,
children: [],
},
],
},
]