Virtual Happy Hour is canceled this month (March) due to Good Friday.
Try our conversational search powered by Generative AI!
AI OnAI Off
Virtual Happy Hour is canceled this month (March) due to Good Friday.
Hi - Make sure your initialization module depends on EPiServer.Commerce.Initialization.InitializationModule
Inside the context of Initialize(InitializationEngine context), you don't have to use ServiceLocator, use
context.Locate.Advanced instead
Ah I see, I was using the Framework InitializationModule for the module dependency. That seemed to do the trick. Thanks!
I am trying to create a new campaign for a new promotion in a initialization module, but every time I try to run it, SalesCampaignFolder.CampaignRoot is null. Below is my current code.
Thanks for any help.