2
Answers
Vote up!
2
Vote down!

How do I update order taxes after manually adding or editing an order?

I have set up various tax rules to accomodate all the different Canadian provinces, and they seem to work great for anybody proceeding through the checkout process.

However, I notice that after an order has been created (no longer a shopping cart), if I add a product to the order, taxes are not updated properly. Taxes seem to be removed for items I take off the order, but they are not added for any new products. (Often we facilitate order updates for customers, so this is a common case...)

If I understand this post correctly, it sounds like the taxed amount is stored as part of the "price field".

I've attempted to set up a rule that cycles over the line items of an order (when order updated/saved) and "Calculate taxes for a line item". I'm not sure why, but it doesn't seem to update anything.
Any suggestions?

Asked by: JemBijoux
on June 26, 2013

Comments

2 Answers

Vote up!
0
Vote down!

I've run into a similar issue. The work around listed here:

https://drupal.org/comment/4269794#comment-4269794

led me to switch the order state to "Shopping Cart" and then back to my original state which triggers the event to recalculate the price.

https://drupal.org/project/commerce_checkout_admin

Appears to do something similar, I'm out of time to test it today.

I'm interested in a better solution.

Answer by: jonhines
Posted: Dec 4, 2013