Loyalty Plugin Options
In this guide, you'll learn about the options you can pass to the Loyalty Plugin.
Options Example#
medusa-config.js
module.exports = defineConfig({
// ...
plugins: [
{
resolve: "@medusajs/loyalty-plugin",
options: {
prefix: "GC",
sections: 3,
},
},
],
})
All Options#
Option | Description | Required | Default |
|---|---|---|---|
| A string indicating the prefix added to auto-generated gift card codes. For example, setting | No |
|
| A number indicating how many 4-character sections the generated gift card code contains. For example, setting | No |
|
Was this page helpful?