AI OnAI Off
Hi Mekala,
I may be misunderstanding your requirements but, if you're looking to target a promotion to a specific set of users, you can set up a campaign for the targetted promotions and target that campaign using a visitor group. That way you can do the targetting without any need for code changes/deployments.
Agree with Paul, that would be the recommended way to go. Create a visitor group that maps to an user group and then target that VG in your campaign.
The drawback of using VG is it will not work with non Http context scenarios
Thanks for the Reply.
Is there any API to add the custom field to the virtually creating Cart while retrieving promotions. We used the below code to retrieve promotions.
var promotions = promotionEngine.Evaluate(contentLink, currentMarket.GetCurrentMarket(), Currency.USD, RequestFulfillmentStatus.PartiallyFulfilled);
Hi Team,
We are using custom promotions and we get promotion data by using the code below,
In evaluate method, we have customized as follows,
Its working fine. But, we need promotion based on usergroup.Is there any way to inject metafield into virtually created cart.Kindly help.
Thanks,
Mekala V