Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Tolu Jemilua 39 posts 166 karma points
    Sep 06, 2017 @ 13:56
    Tolu Jemilua
    1

    Adding Discount to basket total

    Anybody have an idea on how I add discounts to the basket?

  • Simon Dingley 1470 posts 3427 karma points c-trib
    Sep 07, 2017 @ 09:10
    Simon Dingley
    0

    Do you mean how to apply a discount code? If so, something like this...

    var checkoutMgr = this.Basket.GetCheckoutManager();
    checkoutMgr.Offer.RedeemCouponOffer("OfferCode");
    

    Simon

  • Tolu Jemilua 39 posts 166 karma points
    Sep 07, 2017 @ 10:26
    Tolu Jemilua
    0

    I did, but the problem is my basket requires promocode before adding billing/Delivery address, my only option is to add a dummy address. This eventually worked with a dummy address which proved my theory of it. Although not I most likely have to build my basket with a combination of the invoice and basket which seems a little messy

  • Simon Dingley 1470 posts 3427 karma points c-trib
    Sep 07, 2017 @ 10:32
    Simon Dingley
    0

    Your discount code applies a discount reliant on the address?

  • iiii 15 posts 154 karma points
    Sep 11, 2017 @ 15:46
    iiii
    0

    hi

    Im having the same problem, how did you do it?

    thank you :)

  • Tolu Jemilua 39 posts 166 karma points
    Sep 11, 2017 @ 17:08
    Tolu Jemilua
    1

    I couldnt find a solution unfortunately, just decided to add it after basket on the order summary, which wasnt what the client wanted

Please Sign in or register to post replies

Write your reply to:

Draft