Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

PromotionTypeHandler.DisablePromotions and DisableBuiltinPromotions no longer works after upgradering to version: 12.11.1.0

Vote:
 

As topic says. Neither DisablePromotions or DisableBuiltinPromotions works after upgrading to EPiServer.Business.Commerce 12.11.1.0.

#201098
Feb 05, 2019 16:45
Vote:
 

That is strange. I guess you call DisableBuiltinPromotions and still see them? How do you call the code?

#201102
Feb 05, 2019 19:52
Vote:
 

Greeting Quan

My error was module dependancy in my initializer. It was probably changed when the site was upgraded. EPiServer.Commerce.Initialization.InitializationModule was overriding my calls to DisablePromotions  and DisableBuiltinPromotions. With proper dependancy everything works as expected.

#201118
Feb 06, 2019 12:35
This topic was created over six months ago and has been resolved. If you have a similar question, please create a new topic and refer to this one.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.