Copied to clipboard

Flag this post as spam?

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


  • René Pjengaard 118 posts 702 karma points c-trib
    Jan 14, 2019 @ 11:46
    René Pjengaard
    0

    Problem in calculation order

    Hi Support,

    is there a way to control the order of calculations in Tea Commerce?

    My problem is, that i want to find out, if the customer is entitled to free shipping. This works fine, both via the markering-module and a custom shipping-calculator. The problem is, that if the customer has added eg. a discountcode, the shipping-calculation calculates on behalf of the original price, and not the new discounted price.

    Is there a way i could handle the order of the calculation, so that i calculated the shipping AFTER the discount is added.

    Best regards René

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jan 14, 2019 @ 11:51
    Matt Brailsford
    100

    Hi Rene,

    Discounts are applied in the order they appear in the Marketing section so you can right click the Marketing node and choose sort to define the order in which they run. This should then allow you to apply the shipping discount after the discount code discount.

    Hope that helps

    Matt

  • René Pjengaard 118 posts 702 karma points c-trib
    Jan 14, 2019 @ 12:01
    René Pjengaard
    0

    ohhhh sweet jesus, how stupid can i be?!

    Thanks a lot Matt.

    By the way, is there a way to do the same in code?

    /R

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jan 14, 2019 @ 12:04
    Matt Brailsford
    0

    No problem.

    Do you mean sort the list by code? Or tell TC commerce to run discounts in a specific order?

    Either way I don't think either are currently possible, but could look at possibilities.

    Matt

  • René Pjengaard 118 posts 702 karma points c-trib
    Jan 14, 2019 @ 12:09
    René Pjengaard
    0

    More tell TC to run discounts/shipping calculator in a specific order.

    No problem right now. So nevermind. Once again, thanks for the super fast support.

    SuperTak!

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Jan 14, 2019 @ 12:14
    Matt Brailsford
    0

    No problem.

    I'll keep this in mind when I come to doing some updates.

    Thanks for the feedback.

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft