Skip to main content

Documentation Index

Fetch the complete documentation index at: https://86d.app/docs/llms.txt

Use this file to discover all available pages before exploring further.

The multi-currency module supports stores that sell in more than one currency. Catalog prices remain in the store’s primary currency; the module computes display prices in the shopper’s chosen currency using current exchange rates, and (when a payment provider supports it) charges in the chosen currency. You can also set per-product currency overrides for non-FX-derived prices. Source: modules/multi-currency · npm: @86d-app/multi-currency

Installation

86d module add multi-currency

Configuration

multiCurrency({
  primary: "USD",
  enabled: "USD,EUR,GBP,JPY",
  ratesProvider: "exchangerate-host",  // or "openexchangerates"
  refreshHours: "24",
});

Components

  • <CurrencyPicker />: storefront currency selector.

Admin endpoints

MethodPathDescription
GET/admin/multi-currency/ratesCurrent rates
POST/admin/multi-currency/refreshForce refresh
POST/admin/multi-currency/overridesPer-product price overrides