Copied to clipboard

Flag this post as spam?

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


  • Oleg 13 posts 33 karma points
    Mar 02, 2015 @ 13:37
    Oleg
    0

    Discount codes - documentation

    Hello,

    where can I find a documentation for implementation of discount codes.

  • Dennis Aaen 4457 posts 17970 karma points admin hq c-trib
    Mar 02, 2015 @ 13:50
    Dennis Aaen
    0

    Hi Oleg,

    You can find the documentation here: http://documentation.teacommerce.net. Depending on if you are using JavaScript, Razor and so on.

    For the Razor try to see here: http://documentation.teacommerce.net/razor-api/discount-code/adddiscountcode/ and http://documentation.teacommerce.net/razor-api/discount-code/removediscountcode/

    Hope this helps,

    /Dennis

  • Oleg 13 posts 33 karma points
    Mar 02, 2015 @ 14:11
    Oleg
    0

    Thank You

  • Anders Burla Johansen 2560 posts 8256 karma points
    Mar 02, 2015 @ 14:44
    Anders Burla Johansen
    0

    When it comes to showing the prices in the cart flow. You use order.Subtotal.Value. Value will have the price with discounts subtracted. If you need to show the before and after price - have a look at the Visual Studio documentation when you use e.g. the subTotal price object.

    Kind regards
    Anders

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies