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.
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.
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é
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
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
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
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!
No problem.
I'll keep this in mind when I come to doing some updates.
Thanks for the feedback.
Matt
is working on a reply...