Promotion Module's Admin Widget Injection Zones

This reference shows all the injection zones in the Medusa Admin related to the Promotion Module.

Campaign Pages#

Injection Zone NameDescriptionAdditional Props

campaign.list.before

Added at the top of the campaigns list page.

-

campaign.list.after

Added at the bottom of the campaigns list page.

-

campaign.details.before

Added at the top of a campaign's details page.

Type DetailWidgetProps<AdminCampaign> imported from @medusajs/framework/types

{
  data, // AdminCampaign object
}

campaign.details.after

Added at the bottom of a campaign's details page.

Type DetailWidgetProps<AdminCampaign> imported from @medusajs/framework/types

{
  data, // AdminCampaign object
}

campaign.details.side.before

Added at the top of the second column in the campaign details page.

Type DetailWidgetProps<AdminCampaign> imported from @medusajs/framework/types

{
  data, // AdminCampaign object
}

campaign.details.side.after

Added at the bottom of the second column in the campaign details page.

Type DetailWidgetProps<AdminCampaign> imported from @medusajs/framework/types

{
  data, // AdminCampaign object
}

Promotion Pages#

Injection Zone NameDescriptionAdditional Props

promotion.list.before

Added at the top of the promotions list page.

-

promotion.list.after

Added at the bottom of the promotions list page.

-

promotion.details.before

Added at the top of a promotion's details page.

Type DetailWidgetProps<AdminPromotion> imported from @medusajs/framework/types

{
  data, // AdminPromotion object
}

promotion.details.after

Added at the bottom of a promotion's details page.

Type DetailWidgetProps<AdminPromotion> imported from @medusajs/framework/types

{
  data, // AdminPromotion object
}

promotion.details.side.before

Added at the top of the second column in the promotion details page.

Type DetailWidgetProps<AdminPromotion> imported from @medusajs/framework/types

{
  data, // AdminPromotion object
}

promotion.details.side.after

Added at the bottom of the second column in the promotion details page.

Type DetailWidgetProps<AdminPromotion> imported from @medusajs/framework/types

{
  data, // AdminPromotion object
}
Was this page helpful?
Edit this page
Ask Anything
FAQ
What is Medusa?
How can I create a module?
How can I create a data model?
How do I create a workflow?
How can I extend a data model in the Product Module?
Recipes
How do I build a marketplace with Medusa?
How do I build digital products with Medusa?
How do I build subscription-based purchases with Medusa?
What other recipes are available in the Medusa documentation?
Chat is cleared on refresh
Line break