Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Our customer wants to be able to target multiple markets with one campaign - and not all markets.
I have been working on a solution by making a custom campaign like this:
Then to get it working I need to override som login in: ShippingMethodSelectionFactory, PromotionDataModelTransform, PromotionEngineContentLoader and GetCampaignsByMarket
I have made a custom version for each but now I get problem registering thier custom version to replace thier existing episerver version.
I have this in my container configuration:
Do you have any suggestions to how I will get the last custom verisons applied correctly?
I have one alternativ way to solve it, by making a custom version of all discounts and have them in a Campaign that is for all markets. Then in the custom discounts make the target market filtering. But that is not a prefered solution.
I is actually simple code to change the target market to handle multiple targets, but it is very hard for me to inject - any one knows if Episerver is considering the improvement them self?