I have this issue. I set up two VAT taxes, Let's say 10% and 20%. The 10% tax will apply if the user selects specific value for one of the fields in the billing information during checkout. That works ok!

The problem is when i create the order through UI. Even if i choose that specific value when i fill his billing info the rule for the 10% tax is not applied.

How i should do it?

#2 commerce_product_calculate_sell_price-2000612-2.patch871 bytesvasike
PASSED: [[SimpleTest]]: [MySQL] 3,557 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


dianikol’s picture

So the problem is that i have to return the order to the Cart status in order to calculate tax rates. Is it possible to do the calculation while the order's status is "Pending"???


vasike’s picture

Title: Choose taxes when creating an order for a user » Calculating the sell price of a product when creating an order for a user
Project: Commerce Kickstart » Drupal Commerce
Version: 7.x-1.16 » 7.x-1.x-dev
Component: User interface » Order
Category: support » task
Status: Active » Needs review
871 bytes
PASSED: [[SimpleTest]]: [MySQL] 3,557 pass(es). View

it seems a Drupal Commerce issue to me.

"Calculating the sell price of a product" event should be also when a product line item it's added to an order, not only on cart.

here is a patch for this.

rszrama’s picture

Category: task » feature
Status: Needs review » Closed (duplicate)

We don't do it automatically on add for a variety of reasons, but we do have an open issue to address manually triggering price calculation after building an order: #1918978: Allow administrators to trigger price calculation on an order