docs: added customer storefront guides (#7685)

* added customer guides

* fixes to sidebar

* remove old customer registration guide

* fix build error

* generate files

* run linter
This commit is contained in:
Shahed Nasser
2024-06-13 12:21:54 +03:00
committed by GitHub
parent d862d03de0
commit c1db40b564
80 changed files with 2301 additions and 701 deletions

View File

@@ -323,10 +323,6 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/commerce-modules/customer/page.mdx",
"pathname": "/commerce-modules/customer"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/customer/register-customer-email/page.mdx",
"pathname": "/commerce-modules/customer/register-customer-email"
},
{
"filePath": "/www/apps/resources/app/commerce-modules/customer/relations-to-other-modules/page.mdx",
"pathname": "/commerce-modules/customer/relations-to-other-modules"
@@ -923,6 +919,38 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/storefront-development/checkout/shipping/page.mdx",
"pathname": "/storefront-development/checkout/shipping"
},
{
"filePath": "/www/apps/resources/app/storefront-development/customers/addresses/page.mdx",
"pathname": "/storefront-development/customers/addresses"
},
{
"filePath": "/www/apps/resources/app/storefront-development/customers/context/page.mdx",
"pathname": "/storefront-development/customers/context"
},
{
"filePath": "/www/apps/resources/app/storefront-development/customers/log-out/page.mdx",
"pathname": "/storefront-development/customers/log-out"
},
{
"filePath": "/www/apps/resources/app/storefront-development/customers/login/page.mdx",
"pathname": "/storefront-development/customers/login"
},
{
"filePath": "/www/apps/resources/app/storefront-development/customers/page.mdx",
"pathname": "/storefront-development/customers"
},
{
"filePath": "/www/apps/resources/app/storefront-development/customers/profile/page.mdx",
"pathname": "/storefront-development/customers/profile"
},
{
"filePath": "/www/apps/resources/app/storefront-development/customers/register/page.mdx",
"pathname": "/storefront-development/customers/register"
},
{
"filePath": "/www/apps/resources/app/storefront-development/customers/retrieve/page.mdx",
"pathname": "/storefront-development/customers/retrieve"
},
{
"filePath": "/www/apps/resources/app/storefront-development/page.mdx",
"pathname": "/storefront-development"

View File

@@ -1030,20 +1030,6 @@ export const generatedSidebar = [
}
]
},
{
"loaded": true,
"isPathHref": true,
"title": "Guides",
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/commerce-modules/customer/register-customer-email",
"title": "Register a Customer with Email",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
@@ -7140,49 +7126,6 @@ export const generatedSidebar = [
}
]
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart",
"title": "Carts",
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/create",
"title": "Create Cart",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/retrieve",
"title": "Retrieve Cart",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/context",
"title": "Cart React Context",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/update",
"title": "Update Cart",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/manage-items",
"title": "Manage Line Items",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
@@ -7284,6 +7227,49 @@ export const generatedSidebar = [
}
]
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart",
"title": "Carts",
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/create",
"title": "Create Cart",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/retrieve",
"title": "Retrieve Cart",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/context",
"title": "Cart React Context",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/update",
"title": "Update Cart",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/cart/manage-items",
"title": "Manage Line Items",
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
@@ -7334,6 +7320,63 @@ export const generatedSidebar = [
"children": []
}
]
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/customers",
"title": "Customers",
"children": [
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/customers/register",
"title": "Register Customer",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/customers/login",
"title": "Login Customer",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/customers/retrieve",
"title": "Retrieve Customer",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/customers/context",
"title": "Customer React Context",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/customers/profile",
"title": "Edit Customer Profile",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/customers/addresses",
"title": "Manage Customer Addresses",
"children": []
},
{
"loaded": true,
"isPathHref": true,
"path": "/storefront-development/customers/log-out",
"title": "Log-out Customer",
"children": []
}
]
}
]
},