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

Plugin

Интеграция BCMS (https://thebcms.com) для Medusa v2. Связывает записи CMS с товарами и отдаёт их через API панели администратора и витрины Medusa.

npm install @thebcms/medusa-plugin
Категория
Создано
Регионы
Во всех регионах
Сервис
Версия
0.1.2
Последнее обновление
2 месяца назад
Ежемесячные загрузки
Загрузка данных

@thebcms/medusa-plugin

Medusa v2 plugin for BCMS.

Link BCMS entries to products by slot (e.g. , ), with per-slot template allowlists in admin, and serve resolved content through store API routes.

Requirements

  • Medusa
  • Node
  • BCMS API key

Install

Register in :

Run migrations:

npx medusa db:migrate

Options

OptionTypeDefaultDescription
—BCMS API key (required for BCMS calls).
BCMS defaultYour BCMS instance URL.
Client cache. Set for live preview.
Verbose BCMS client logs.

Admin

  • Settings → BCMS — define slots and which templates each slot may use. No slots exist until you add them. An empty template list on a slot means all templates are allowed.
  • Products → BCMS content — link one or more BCMS entries per slot.

Store API

Auth: Medusa publishable API key (via JS SDK).

MethodPathDescription
GETProduct + resolved entries in .
GETSingle entry by id.
GETSingle entry by slug.

Standalone entry/page routes only allow templates configured on at least one slot (or all templates if any slot has an empty allowlist). Linked entries on the product route are always returned.

Query linked entries in custom routes:

Types:

Development

In a Medusa app:

License

MIT