November Happy Hour will be moved to Thursday December 5th.
AI OnAI Off
November Happy Hour will be moved to Thursday December 5th.
DiscountItems is a block, so you don't "new it", you just set the values to it
newDiscount.DiscountTarget.Items = freegifts; //List of ContentReferences
newDiscount.DiscountTarget.MaxQuantity = 1;
Hi
I am programmatically adding a promotion to Epi Commerce. The ype of promotion I am adding is 'Gift with purchase'. Code below:
The promotion saves fine without any erros. The issue I am experiecing is that the 'free gifts' are not saving, no entries in the 'Get these entries' section. Initially I thought is was a stock issue, but there is enough in inventory.