Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
How do I calculate the correct tax?
I have two registration types with other fields and different prices. Connected to Commerce. I want to calculate tax for them.
- Diner 30,-
- Show 50,-
Problem:
They both use the same product in Commerce (Registration). Here is the only option where you can set "Include tax in this price", but you also have to set one price here.
But I do have two different registration types with their own price.
Is it possible that the product Registration can use the price of the registration type for taxes?
Comments
Comment #2
anniekvandijk CreditAttribution: anniekvandijk commentedOk, I think I did manage to calculate the tax
- In the Product "Registration" set tax to -none-
- In the rule "Set registration product price from referenced registration" go to settings and set the to a weight before the tax calculation rules. My tax rules have a weight of 0, so I set the weight of the rule for the registration to -1.
Works OK
Comment #3
gcbNice! Thanks for sharing this solution.