Vulnerability in EPiServer.Forms
I'm trying to apply a promotion for shipping on an order.
Calling DiscountHelper.SetMarketingContextPromotionCode("promotionCode") for the Order level and Product Level promotion seems to work fine and I see the discount but for it doesn't to work for me even with a promotion that does not require a code.
I also tried adding a shipping method to the Cart.OrderForm before applying the discount but still doesn't work.
I hope someone can help me out with this.
Where are you expecting to see the discount. On the cart or in the checkout. You have to have a shipment added to the orderform before running the calculate discounts activity for the discount to apply
Mark, do we not have any option to show users what the shipment cost will be (minus discount) before they add it to the order? The shipment discount doesn't seem very useful if we can't show it the adjusted price until they select a shipment.