Try our conversational search powered by Generative AI!

How To Implement Shipping Discount (Promotion)


Hi guys!

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.




Apr 03, 2013 14:50

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

Apr 11, 2013 4:58

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.

Apr 23, 2013 5:30
* 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.