Skip to content

Commit 0158554

Browse files
authored
docs: strapi integration guide (medusajs#14075)
1 parent 92769b2 commit 0158554

File tree

12 files changed

+8106
-10
lines changed

12 files changed

+8106
-10
lines changed

www/apps/book/public/llms-full.txt

Lines changed: 3872 additions & 4 deletions
Large diffs are not rendered by default.

www/apps/resources/app/integrations/guides/payload/page.mdx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -785,7 +785,7 @@ export default buildConfig({
785785
})
786786
```
787787

788-
## i. Generate Payload Imports Map
788+
### i. Generate Payload Imports Map
789789

790790
Before running the Payload admin, you need to generate the imports map that Payload uses to resolve the collections and other configurations.
791791

@@ -797,7 +797,7 @@ npx payload generate:importmap
797797

798798
This command generates the `src/app/(payload)/admin/importMap.js` file that Payload needs.
799799

800-
## j. Run the Payload Admin
800+
### j. Run the Payload Admin
801801

802802
You can now run the Payload admin in the Next.js Starter Storefront and create an admin user.
803803

@@ -1977,7 +1977,7 @@ Then, create a product in Medusa using the Medusa Admin. If you check the Produc
19771977

19781978
Now that you've integrated Payload with Medusa, you can customize the Next.js Starter Storefront to display product content from Payload. By doing so, you can show product content and assets that are optimized for the storefront.
19791979

1980-
In this step, you'll customize the Next.js Starter Storefront to view the product title, description, images, and option values from Payload.
1980+
In this step, you'll customize the Next.js Starter Storefront to show the product title, description, images, and option values from Payload.
19811981

19821982
### a. Fetch Payload Data with Product Data
19831983

@@ -3544,7 +3544,7 @@ You've successfully integrated Medusa with Payload to manage content related to
35443544
2. Enable [localization](https://payloadcms.com/docs/configuration/localization) in Payload to support multiple languages.
35453545
- You only need to manage the localized content in Payload. Only the default locale will be synced with Medusa.
35463546
- You can show the localized content in your Next.js Starter Storefront based on the customer's locale.
3547-
3. Add custom fields to the Payload collections. For example, you can add images to product variants and display them in the Next.js Starter Storefront.
3547+
3. Add custom fields to the Payload collections that are relevant for the storefront, such as SEO metadata or promotional banners.
35483548

35493549
### Learn More about Medusa
35503550

0 commit comments

Comments
 (0)