Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,876 changes: 3,872 additions & 4 deletions www/apps/book/public/llms-full.txt

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions www/apps/resources/app/integrations/guides/payload/page.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ export default buildConfig({
})
```

## i. Generate Payload Imports Map
### i. Generate Payload Imports Map

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

Expand All @@ -797,7 +797,7 @@ npx payload generate:importmap

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

## j. Run the Payload Admin
### j. Run the Payload Admin

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

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

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.

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

### a. Fetch Payload Data with Product Data

Expand Down Expand Up @@ -3544,7 +3544,7 @@ You've successfully integrated Medusa with Payload to manage content related to
2. Enable [localization](https://payloadcms.com/docs/configuration/localization) in Payload to support multiple languages.
- You only need to manage the localized content in Payload. Only the default locale will be synced with Medusa.
- You can show the localized content in your Next.js Starter Storefront based on the customer's locale.
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.
3. Add custom fields to the Payload collections that are relevant for the storefront, such as SEO metadata or promotional banners.

### Learn More about Medusa

Expand Down
Loading
Loading