Quantcast
Channel: Customized Commerce 13 and earlier versions
Viewing all articles
Browse latest Browse all 9642

How to fetch and display discounted shipping price before the shipping method has been selected?

$
0
0

Hello,

We're currently listing available shipping methods on our checkout page with their base prices next to them, for instance 49 SEK for home delivery.

Now say that we have a promotion with free shipping for carts with a value of 2000 SEK or above. If a customer comes to the checkout page with such a cart we want to show the price 0 SEK instead of the base price 49 next to the option. However I can't figure out a way to get this discounted price this since the home delivery shipping method hasn't been selected yet and therefore the promotion is not valid at that point in time, I guess.

I've looked at Promotions connected to the cart and IPromotionEngine and a couple of other classes in Episerver but can't figure out how to do this. Is there maybe a way to fake that the shipping method has been selected and that way get the discounted price or how do I go about solving this?

Any input is appreciated :-)

/Martin


Viewing all articles
Browse latest Browse all 9642

Trending Articles