docs: localization with contentful guide (#12202)
This commit is contained in:
1 parent
ceb504db2c
commit
4a9ac0d4be
15 files changed
+21807
-15832
No files matched your search
+18601
-15829
File diff suppressed because it is too large.
Load diff
@@ -46,6 +46,8 @@ By following this tutorial, you'll learn how to:
|
|||||||
- Trigger Algolia reindexing when a product is created, updated, deleted, or when the admin manually triggers a reindex.
|
- Trigger Algolia reindexing when a product is created, updated, deleted, or when the admin manually triggers a reindex.
|
||||||
- Customize the Next.js Starter Storefront to allow searching for products through Algolia.
|
- Customize the Next.js Starter Storefront to allow searching for products through Algolia.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
<CardList items={[
|
<CardList items={[
|
||||||
{
|
{
|
||||||
href: "https://github.com/medusajs/examples/tree/main/algolia-integration",
|
href: "https://github.com/medusajs/examples/tree/main/algolia-integration",
|
||||||
@@ -463,7 +465,7 @@ Finally, you pass the products you received in the input to Algolia to create or
|
|||||||
|
|
||||||
A step function must return a `StepResponse` instance. The `StepResponse` constructor accepts two parameters:
|
A step function must return a `StepResponse` instance. The `StepResponse` constructor accepts two parameters:
|
||||||
|
|
||||||
1. The step's output, which is the review created.
|
1. The step's output, which in this case is `undefined`.
|
||||||
2. Data to pass to the step's compensation function.
|
2. Data to pass to the step's compensation function.
|
||||||
|
|
||||||
#### Compensation Function
|
#### Compensation Function
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
@@ -44,6 +44,14 @@ Integrate a third-party Content-Management System (CMS) to utilize rich content-
|
|||||||
|
|
||||||
<CardList
|
<CardList
|
||||||
items={[
|
items={[
|
||||||
|
{
|
||||||
|
href: "/integrations/guides/contentful",
|
||||||
|
title: "Contentful (Localization)",
|
||||||
|
badge: {
|
||||||
|
variant: "blue",
|
||||||
|
children: "Tutorial"
|
||||||
|
}
|
||||||
|
},
|
||||||
{
|
{
|
||||||
href: "/integrations/guides/sanity",
|
href: "/integrations/guides/sanity",
|
||||||
title: "Sanity",
|
title: "Sanity",
|
||||||
|
|||||||
@@ -6218,5 +6218,6 @@ export const generatedEditDates = {
|
|||||||
"references/core_flows/interfaces/core_flows.UpdateDraftOrderStepInput/page.mdx": "2025-04-24T08:23:57.295Z",
|
"references/core_flows/interfaces/core_flows.UpdateDraftOrderStepInput/page.mdx": "2025-04-24T08:23:57.295Z",
|
||||||
"references/core_flows/interfaces/core_flows.ValidateDraftOrderStepInput/page.mdx": "2025-04-24T08:23:57.277Z",
|
"references/core_flows/interfaces/core_flows.ValidateDraftOrderStepInput/page.mdx": "2025-04-24T08:23:57.277Z",
|
||||||
"app/commerce-modules/product/guides/variant-inventory/page.mdx": "2025-04-25T14:22:42.329Z",
|
"app/commerce-modules/product/guides/variant-inventory/page.mdx": "2025-04-25T14:22:42.329Z",
|
||||||
"app/troubleshooting/validation-error/page.mdx": "2025-04-25T14:14:57.568Z"
|
"app/troubleshooting/validation-error/page.mdx": "2025-04-25T14:14:57.568Z",
|
||||||
|
"app/integrations/guides/contentful/page.mdx": "2025-04-30T09:54:16.698Z"
|
||||||
}
|
}
|
||||||
@@ -879,6 +879,10 @@ export const filesMap = [
|
|||||||
"filePath": "/www/apps/resources/app/integrations/guides/algolia/page.mdx",
|
"filePath": "/www/apps/resources/app/integrations/guides/algolia/page.mdx",
|
||||||
"pathname": "/integrations/guides/algolia"
|
"pathname": "/integrations/guides/algolia"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"filePath": "/www/apps/resources/app/integrations/guides/contentful/page.mdx",
|
||||||
|
"pathname": "/integrations/guides/contentful"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"filePath": "/www/apps/resources/app/integrations/guides/magento/page.mdx",
|
"filePath": "/www/apps/resources/app/integrations/guides/magento/page.mdx",
|
||||||
"pathname": "/integrations/guides/magento"
|
"pathname": "/integrations/guides/magento"
|
||||||
|
|||||||
@@ -11348,6 +11348,14 @@ const generatedgeneratedCommerceModulesSidebarSidebar = {
|
|||||||
"title": "Implement Product Reviews",
|
"title": "Implement Product Reviews",
|
||||||
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/product-reviews",
|
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/product-reviews",
|
||||||
"children": []
|
"children": []
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "ref",
|
||||||
|
"title": "Localization with Contentful",
|
||||||
|
"path": "https://docs.medusajs.com/resources/integrations/guides/contentful",
|
||||||
|
"children": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -375,6 +375,15 @@ const generatedgeneratedHowToTutorialsSidebarSidebar = {
|
|||||||
"description": "Learn how to implement a loyalty points system in your Medusa store.",
|
"description": "Learn how to implement a loyalty points system in your Medusa store.",
|
||||||
"children": []
|
"children": []
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "ref",
|
||||||
|
"title": "Localization with Contentful",
|
||||||
|
"path": "/integrations/guides/contentful",
|
||||||
|
"description": "Learn how to implement localization in Medusa by integrating Contentful.",
|
||||||
|
"children": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"loaded": true,
|
"loaded": true,
|
||||||
"isPathHref": true,
|
"isPathHref": true,
|
||||||
|
|||||||
@@ -45,6 +45,14 @@ const generatedgeneratedIntegrationsSidebarSidebar = {
|
|||||||
"title": "CMS",
|
"title": "CMS",
|
||||||
"initialOpen": true,
|
"initialOpen": true,
|
||||||
"children": [
|
"children": [
|
||||||
|
{
|
||||||
|
"loaded": true,
|
||||||
|
"isPathHref": true,
|
||||||
|
"type": "link",
|
||||||
|
"path": "/integrations/guides/contentful",
|
||||||
|
"title": "Contentful",
|
||||||
|
"children": []
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"loaded": true,
|
"loaded": true,
|
||||||
"isPathHref": true,
|
"isPathHref": true,
|
||||||
|
|||||||
@@ -92,6 +92,13 @@ While tutorials show you a specific use case, they also help you understand how
|
|||||||
description:
|
description:
|
||||||
"Learn how to implement a loyalty points system in your Medusa store.",
|
"Learn how to implement a loyalty points system in your Medusa store.",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
type: "ref",
|
||||||
|
title: "Localization with Contentful",
|
||||||
|
path: "/integrations/guides/contentful",
|
||||||
|
description:
|
||||||
|
"Learn how to implement localization in Medusa by integrating Contentful.",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: "ref",
|
type: "ref",
|
||||||
title: "Magento Migration",
|
title: "Magento Migration",
|
||||||
|
|||||||
@@ -30,6 +30,11 @@ export const integrationsSidebar = [
|
|||||||
title: "CMS",
|
title: "CMS",
|
||||||
initialOpen: true,
|
initialOpen: true,
|
||||||
children: [
|
children: [
|
||||||
|
{
|
||||||
|
type: "link",
|
||||||
|
path: "/integrations/guides/contentful",
|
||||||
|
title: "Contentful",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
type: "link",
|
type: "link",
|
||||||
path: "/integrations/guides/sanity",
|
path: "/integrations/guides/sanity",
|
||||||
|
|||||||
@@ -75,6 +75,10 @@ export const product = [
|
|||||||
"title": "Implement Product Reviews",
|
"title": "Implement Product Reviews",
|
||||||
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/product-reviews"
|
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/product-reviews"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "Localization with Contentful",
|
||||||
|
"path": "https://docs.medusajs.com/resources/integrations/guides/contentful"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Build Wishlist Plugin",
|
"title": "Build Wishlist Plugin",
|
||||||
"path": "https://docs.medusajs.com/resources/plugins/guides/wishlist"
|
"path": "https://docs.medusajs.com/resources/plugins/guides/wishlist"
|
||||||
|
|||||||
@@ -71,6 +71,10 @@ export const server = [
|
|||||||
"title": "Use Workflow Engine Module",
|
"title": "Use Workflow Engine Module",
|
||||||
"path": "https://docs.medusajs.com/resources/infrastructure-modules/workflow-engine/how-to-use"
|
"path": "https://docs.medusajs.com/resources/infrastructure-modules/workflow-engine/how-to-use"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "Integrate Contentful",
|
||||||
|
"path": "https://docs.medusajs.com/resources/integrations/guides/contentful"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Build Wishlist Plugin",
|
"title": "Build Wishlist Plugin",
|
||||||
"path": "https://docs.medusajs.com/resources/plugins/guides/wishlist"
|
"path": "https://docs.medusajs.com/resources/plugins/guides/wishlist"
|
||||||
|
|||||||
@@ -35,6 +35,10 @@ export const tutorial = [
|
|||||||
"title": "Product Reviews",
|
"title": "Product Reviews",
|
||||||
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/product-reviews"
|
"path": "https://docs.medusajs.com/resources/how-to-tutorials/tutorials/product-reviews"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"title": "Integrate Contentful",
|
||||||
|
"path": "https://docs.medusajs.com/resources/integrations/guides/contentful"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"title": "Build Wishlist Plugin",
|
"title": "Build Wishlist Plugin",
|
||||||
"path": "https://docs.medusajs.com/resources/plugins/guides/wishlist"
|
"path": "https://docs.medusajs.com/resources/plugins/guides/wishlist"
|
||||||
|
|||||||
@@ -19,4 +19,5 @@ exceptions:
|
|||||||
- the specified module
|
- the specified module
|
||||||
- the associated module
|
- the associated module
|
||||||
- the stored module
|
- the stored module
|
||||||
- the read-only module
|
- the read-only module
|
||||||
|
- the necessary module
|
||||||
Reference in new issue
Block a user