docs: remove empty storefront guides (#12844)

This commit is contained in:
Shahed Nasser
2025-06-27 15:26:46 +03:00
committed by GitHub
parent d1b1ce2885
commit e58eb5ef90
6 changed files with 25 additions and 91 deletions

View File

@@ -1,18 +0,0 @@
---
products:
- cart
---
import { ChildDocs } from "docs-ui"
export const metadata = {
title: `Carts in Storefront`,
}
# {metadata.title}
A cart holds the items that the customer wants to purchase.
Using Medusa's Store APIs, you can create a cart for the customer and allow them to add, update, and remove items from the cart.
<ChildDocs type="item" onlyTopLevel={true} />

View File

@@ -1,16 +0,0 @@
---
products:
- customer
---
import { ChildDocs } from "docs-ui"
export const metadata = {
title: `Customers in Storefront`,
}
# {metadata.title}
A customer can register, manage their account, keep track of their orders, and more.
<ChildDocs type="item" onlyTopLevel={true} />

View File

@@ -1,18 +0,0 @@
---
products:
- product
---
import { ChildDocs } from "docs-ui"
export const metadata = {
title: `Product Categories in Storefront`,
}
# {metadata.title}
Products can be categorized into categories, such as Shirts or Shoes.
Customers can browse those categories to narrow down and find the products they're looking for.
<ChildDocs type="item" onlyTopLevel={true} />

View File

@@ -1,18 +0,0 @@
---
products:
- product
---
import { ChildDocs } from "docs-ui"
export const metadata = {
title: `Product Collections in Storefront`,
}
# {metadata.title}
Products can be organized into collections, such as Summer Collection.
Customers can browse those collections and the products in them.
<ChildDocs type="item" onlyTopLevel={true} />

View File

@@ -1,21 +0,0 @@
---
products:
- product
---
import { ChildDocs } from "docs-ui"
export const metadata = {
title: `Products in Storefront`,
}
# {metadata.title}
Customers browse products in the storefront before purchasing.
Some features essential to implement in your storefront are:
- Show customers products and allow them to filter these products.
- Show products organized by category or collection.
<ChildDocs type="item" onlyTopLevel={true} />

View File

@@ -245,6 +245,31 @@ const nextConfig = {
destination: "/references/user/events",
permanent: true,
},
{
source: "/storefront-development/cart",
destination: "/storefront-development/cart/create",
permanent: true,
},
{
source: "/storefront-development/customer",
destination: "/storefront-development/customer/register",
permanent: true,
},
{
source: "/storefront-development/products/categories",
destination: "/storefront-development/products/categories/list",
permanent: true,
},
{
source: "/storefront-development/products/collections",
destination: "/storefront-development/products/collections/list",
permanent: true,
},
{
source: "/storefront-development/products",
destination: "/storefront-development/products/list",
permanent: true,
},
])
},
outputFileTracingExcludes: {