docs: generate invoice tutorial (#13077)

* docs: generate invoice tutorial

* fix vale error

* add missing icon

* fix sidebar

* update date
This commit is contained in:
Shahed Nasser
2025-08-04 12:42:47 +03:00
committed by GitHub
parent 55d0879576
commit 7c85ede384
12 changed files with 5026 additions and 1 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -6564,5 +6564,6 @@ export const generatedEditDates = {
"references/js_sdk/admin/Order/methods/js_sdk.admin.Order.complete/page.mdx": "2025-07-24T08:20:57.714Z", "references/js_sdk/admin/Order/methods/js_sdk.admin.Order.complete/page.mdx": "2025-07-24T08:20:57.714Z",
"app/commerce-modules/cart/cart-totals/page.mdx": "2025-07-31T15:18:13.978Z", "app/commerce-modules/cart/cart-totals/page.mdx": "2025-07-31T15:18:13.978Z",
"app/commerce-modules/order/order-totals/page.mdx": "2025-07-31T15:12:10.633Z", "app/commerce-modules/order/order-totals/page.mdx": "2025-07-31T15:12:10.633Z",
"app/commerce-modules/user/invite-user-subscriber/page.mdx": "2025-08-01T12:01:54.551Z" "app/commerce-modules/user/invite-user-subscriber/page.mdx": "2025-08-01T12:01:54.551Z",
"app/how-to-tutorials/tutorials/invoice-generator/page.mdx": "2025-08-04T00:00:00.000Z"
} }

View File

@@ -763,6 +763,10 @@ export const filesMap = [
"filePath": "/www/apps/resources/app/how-to-tutorials/tutorials/gift-message/page.mdx", "filePath": "/www/apps/resources/app/how-to-tutorials/tutorials/gift-message/page.mdx",
"pathname": "/how-to-tutorials/tutorials/gift-message" "pathname": "/how-to-tutorials/tutorials/gift-message"
}, },
{
"filePath": "/www/apps/resources/app/how-to-tutorials/tutorials/invoice-generator/page.mdx",
"pathname": "/how-to-tutorials/tutorials/invoice-generator"
},
{ {
"filePath": "/www/apps/resources/app/how-to-tutorials/tutorials/loyalty-points/page.mdx", "filePath": "/www/apps/resources/app/how-to-tutorials/tutorials/loyalty-points/page.mdx",
"pathname": "/how-to-tutorials/tutorials/loyalty-points" "pathname": "/how-to-tutorials/tutorials/loyalty-points"

View File

@@ -6102,6 +6102,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message", "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message",
"children": [] "children": []
}, },
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "Generate Invoices",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/invoice-generator",
"children": []
},
{ {
"loaded": true, "loaded": true,
"isPathHref": true, "isPathHref": true,

View File

@@ -478,6 +478,15 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
"description": "Learn how to implement first-purchase discounts in your Medusa store.", "description": "Learn how to implement first-purchase discounts in your Medusa store.",
"children": [] "children": []
}, },
{
"loaded": true,
"isPathHref": true,
"type": "link",
"title": "Generate Invoices",
"path": "/how-to-tutorials/tutorials/invoice-generator",
"description": "Learn how to generate invoices for orders in your Medusa store.",
"children": []
},
{ {
"loaded": true, "loaded": true,
"isPathHref": true, "isPathHref": true,

View File

@@ -819,6 +819,14 @@ const generatedgeneratedToolsSidebarSidebar = {
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/first-purchase-discounts", "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/first-purchase-discounts",
"children": [] "children": []
}, },
{
"loaded": true,
"isPathHref": true,
"type": "ref",
"title": "Generate Invoices",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/invoice-generator",
"children": []
},
{ {
"loaded": true, "loaded": true,
"isPathHref": true, "isPathHref": true,

View File

@@ -114,6 +114,13 @@ While tutorials show you a specific use case, they also help you understand how
description: description:
"Learn how to implement first-purchase discounts in your Medusa store.", "Learn how to implement first-purchase discounts in your Medusa store.",
}, },
{
type: "link",
title: "Generate Invoices",
path: "/how-to-tutorials/tutorials/invoice-generator",
description:
"Learn how to generate invoices for orders in your Medusa store.",
},
{ {
type: "link", type: "link",
title: "Loyalty Points System", title: "Loyalty Points System",

View File

@@ -7,6 +7,10 @@ export const nextjs = [
"title": "Add Gift Message", "title": "Add Gift Message",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message" "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message"
}, },
{
"title": "Generate Invoices",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/invoice-generator"
},
{ {
"title": "Implement Pre-Orders", "title": "Implement Pre-Orders",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/preorder" "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/preorder"

View File

@@ -47,6 +47,10 @@ export const order = [
"title": "Add Gift Message", "title": "Add Gift Message",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message" "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message"
}, },
{
"title": "Generate Invoices",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/invoice-generator"
},
{ {
"title": "Implement Loyalty Points", "title": "Implement Loyalty Points",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/loyalty-points" "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/loyalty-points"

View File

@@ -67,6 +67,10 @@ export const server = [
"title": "Add Gift Message", "title": "Add Gift Message",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message" "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message"
}, },
{
"title": "Generate Invoices",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/invoice-generator"
},
{ {
"title": "Loyalty Points", "title": "Loyalty Points",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/loyalty-points" "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/loyalty-points"

View File

@@ -35,6 +35,10 @@ export const tutorial = [
"title": "Add Gift Message", "title": "Add Gift Message",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message" "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/gift-message"
}, },
{
"title": "Generate Invoices",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/invoice-generator"
},
{ {
"title": "Loyalty Points", "title": "Loyalty Points",
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/loyalty-points" "path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/loyalty-points"