diff --git a/www/apps/resources/app/commerce-modules/product/extend/page.mdx b/www/apps/resources/app/commerce-modules/product/extend/page.mdx index 553b800ca2..76a8732954 100644 --- a/www/apps/resources/app/commerce-modules/product/extend/page.mdx +++ b/www/apps/resources/app/commerce-modules/product/extend/page.mdx @@ -276,9 +276,9 @@ You'll next execute the workflow in the hook handler. You can now consume the `productsCreated` hook, which is executed in the `createProductsWorkflow` after the product is created. -To consume the hook, create the file `src/workflow/hooks/product-created.ts` with the following content: +To consume the hook, create the file `src/workflows/hooks/product-created.ts` with the following content: -```ts title="src/workflow/hooks/product-created.ts" collapsibleLines="1-6" expandButtonLabel="Show Imports" +```ts title="src/workflows/hooks/product-created.ts" collapsibleLines="1-6" expandButtonLabel="Show Imports" import { createProductsWorkflow } from "@medusajs/medusa/core-flows" import { createCustomFromProductWorkflow,