Вышел Модуль интеграций 2.0 для MedusaЧитать анонс
Strapi logo

Strapi

Управляйте контентом и медиа-файлами товаров с автосинхронизацией

npm install @devx-commerce/strapi
Категория
Создано
Регионы
Во всех регионах
Сервис
Версия
2.0.0-beta.0
Последнее обновление
6 месяцев назад
Ежемесячные загрузки
Загрузка данных

Medusa logo

Medusa Plugin - Strapi

Documentation | Website

A plugin for implementing Strapi as CMS for Medusa

Features

  • 🔄 Seamless integration between Medusa and Strapi
  • 📝 Flexible content management for your e-commerce store
  • 🖼️ Rich media management for product images and assets
  • 🚀 Extend product information with custom fields and content
  • 📱 Headless architecture for omnichannel commerce
  • 🔄 Automatic synchronization between Medusa and Strapi

Requirements

This plugin requires:

Installation

  1. Install the plugin:
  1. Add the plugin to your :

Setup

Setting up Strapi

  1. Install Strapi if you haven't already:
npx create-strapi-app@latest my-strapi-cms
  1. Start your Strapi server:
  1. Create an API token in Strapi:

    • Go to Settings > API Tokens
    • Create a new full access token
    • Copy the token to use in your Medusa configuration
  2. Create Product and Variant collections in Strapi:

    • In your Strapi admin panel, go to Content-Type Builder
    • Create a new collection type called Product
      • Add a title field (Text type)
      • Add a systemId field (Text type, Unique)
    • Create another collection type called Variant
      • Add a title field (Text type)
      • Add a systemId field (Text type, Unique)
    • Save and publish your new collection types
  3. Configure environment variables for your Medusa backend:

Synchronizing data

After installation and setup, the plugin will automatically:

  • Create and update products, collections & categories in Strapi when they are modified in Medusa
  • Sync product, collection & category metadata between Medusa and Strapi
  • Allow extending product data with Strapi's content types

Usage

Once the plugin is set up, you can use Strapi's admin panel to add rich content to your products and use the Strapi API to fetch this content for your storefront.

Example of fetching product content from Medusa (with Strapi fields):

Documentation