Files
medusa-store/www/apps/user-guide/sidebar.mjs
Shahed Nasser 084f76b73f docs: update products user guide (#11506)
* docs: update products user guide

* fix broken link
2025-02-18 15:55:42 +02:00

155 lines
3.1 KiB
JavaScript

import { sidebarAttachHrefCommonOptions } from "build-scripts"
// TODO check the order of items based on the Medusa Admin's sidebar
/** @type {import('types').RawSidebarItemType[]} */
export const sidebar = sidebarAttachHrefCommonOptions([
{
type: "link",
path: "/",
title: "Introduction",
},
{
type: "separator",
},
{
type: "category",
title: "Tips",
autogenerate_path: "/tips",
},
{
type: "category",
title: "Orders",
children: [
{
type: "link",
title: "Overview",
path: "/orders",
},
{
type: "link",
title: "Manage Details",
path: "/orders/manage",
},
{
type: "link",
title: "Manage Payments",
path: "/orders/payments",
},
{
type: "link",
title: "Manage Fulfillments",
path: "/orders/fulfillments",
},
{
type: "link",
title: "Edit Order Items",
path: "/orders/edit",
},
{
type: "link",
title: "Manage Returns",
path: "/orders/returns",
},
{
type: "link",
title: "Manage Exchanges",
path: "/orders/exchanges",
},
{
type: "link",
title: "Manage Claims",
path: "/orders/claims",
},
],
},
{
type: "category",
title: "Products",
children: [
{
type: "link",
title: "Overview",
path: "/products",
},
{
type: "link",
title: "Create Product",
path: "/products/create",
children: [
{
type: "link",
title: "Multi-Part Product",
path: "/products/create/multi-part",
},
{
type: "link",
title: "Bundle Product",
path: "/products/create/bundle",
},
],
},
{
type: "link",
title: "Edit Product",
path: "/products/edit",
},
{
type: "link",
title: "Manage Variants",
path: "/proucts/variants",
},
{
type: "link",
title: "Manage Collections",
path: "/products/collections",
},
{
type: "link",
title: "Categories",
path: "/products/categories",
},
{
type: "link",
title: "Import Products",
path: "/products/import",
},
{
type: "link",
title: "Export Products",
path: "/products/export",
},
],
},
{
type: "category",
path: "/inventory",
title: "Inventory",
autogenerate_path: "/inventory",
},
{
type: "category",
path: "/customers",
title: "Customers",
autogenerate_path: "/customers",
},
{
type: "category",
path: "/discounts",
title: "Discounts",
autogenerate_path: "/discounts",
},
{
type: "category",
path: "/pricing",
title: "Pricing",
autogenerate_path: "/pricing",
},
{
type: "category",
path: "/settings",
title: "Settings",
autogenerate_path: "/settings",
},
])