Medusa plugin for syncing IT-Recht Kanzlei legal documents and exposing them to storefronts.
is a Medusa v2 plugin that keeps your storefront legal pages in sync with updates from IT-Recht Kanzlei (), a German legal content provider for ecommerce shops.
In practice, the plugin accepts IT-Recht Kanzlei XML updates, stores the latest document version per sales channel and language, and serves those documents through a store API so your frontend can always show current legal texts (for example terms and conditions, privacy policy, imprint, and withdrawal information).
Maintained by at .
pnpm add @sadu-dev/medusa-plugin-itrkThen register the plugin in your Medusa backend's file at the project root ():
1import { defineConfig } from "@medusajs/framework/utils"2import type { ItrkPluginOptionsInput } from "@sadu-dev/medusa-plugin-itrk/types"3
4export default defineConfig({5 plugins: [6 {7 resolve: "@sadu-dev/medusa-plugin-itrk",8 options: {9 token: "your-itrk-token",10 channels: [11 {12 salesChannelId: "sc_...",13 accountId: "account-1",14 accountName: "Main Store",15 languages: ["de", "en"],16 countries: ["DE", "AT"],17 targetUrls: {18 agb: "https://store.example/legal/agb",19 datenschutz: "https://store.example/legal/privacy",20 impressum: "https://store.example/legal/imprint",21 widerruf: "https://store.example/legal/withdrawal",22 },23 },24 ],25 } satisfies ItrkPluginOptionsInput,26 },27 ],28})is derived automatically from the installed version.
Choose the value yourself and enter the same value in both Medusa and IT-Recht Kanzlei. IT-Recht Kanzlei does not issue or generate this token for you.
When configuring the API URL in IT-Recht Kanzlei, enter only your Medusa backend base URL.
Do not append manually.
The package exports , , and .
1pnpm build2pnpm lint3pnpm test:unitThe package is built with Medusa's plugin build command before publish:
1pnpm build2npm publishThe published package contains the built output and package metadata only.
MIT