docs: fix complete cart workflow in marketplace vendors recipe (#12953)

This commit is contained in:
Shahed Nasser
2025-07-14 18:53:46 +03:00
committed by GitHub
parent b5b6bd02f3
commit d5ade616d5
3 changed files with 9 additions and 3 deletions

View File

@@ -18576,6 +18576,8 @@ npx create-medusa-app@latest my-medusa-store
Where `my-medusa-store` is the name of the project's directory and PostgreSQL database created for the project. When you run the command, you'll be asked whether you want to install the Next.js Starter Storefront.
To customize the default installation behavior, such as specify a database URL, refer to the [create-medusa-app reference](https://docs.medusajs.com/resources/create-medusa-app/index.html.md).
After answering the prompts, the command installs the Medusa application in a directory with your project name, and sets up a PostgreSQL database that the application connects to.
If you chose to install the storefront with the Medusa application, the storefront is installed in a separate directory named `{project-name}-storefront`.
@@ -94142,6 +94144,8 @@ const createVendorOrdersWorkflow = createWorkflow(
"shipping_address.*",
"billing_address.*",
"shipping_methods.*",
"shipping_methods.tax_lines.*",
"shipping_methods.adjustments.*",
],
},
})

View File

@@ -1643,8 +1643,8 @@ export const createVendorOrdersWorkflowHighlights = [
["30", "completeCartWorkflow", "Create the parent order from the cart."],
["36", "groupVendorItemsStep", "Group the items by their vendor."],
["40", "getOrderDetailWorkflow", "Retrieve the parent order's details."],
["59", "createVendorOrdersStep", "Create child orders for each vendor"],
["64", "createRemoteLinkStep", "Create the links returned by the previous step."]
["61", "createVendorOrdersStep", "Create child orders for each vendor"],
["66", "createRemoteLinkStep", "Create the links returned by the previous step."]
]
```ts title="src/workflows/marketplace/create-vendor-orders/index.ts" collapsibleLines="1-13" expandMoreLabel="Show Imports"
@@ -1699,6 +1699,8 @@ const createVendorOrdersWorkflow = createWorkflow(
"shipping_address.*",
"billing_address.*",
"shipping_methods.*",
"shipping_methods.tax_lines.*",
"shipping_methods.adjustments.*",
],
},
})

View File

@@ -114,7 +114,7 @@ export const generatedEditDates = {
"app/recipes/digital-products/examples/standard/page.mdx": "2025-04-24T15:41:05.364Z",
"app/recipes/digital-products/page.mdx": "2025-05-20T07:51:40.719Z",
"app/recipes/ecommerce/page.mdx": "2025-06-24T08:50:10.116Z",
"app/recipes/marketplace/examples/vendors/page.mdx": "2025-05-20T07:51:40.721Z",
"app/recipes/marketplace/examples/vendors/page.mdx": "2025-07-14T13:59:32.168Z",
"app/recipes/marketplace/page.mdx": "2025-05-20T07:51:40.721Z",
"app/recipes/multi-region-store/page.mdx": "2025-05-20T07:51:40.721Z",
"app/recipes/omnichannel/page.mdx": "2025-05-20T07:51:40.722Z",