Add a hook to handle custom line item types

Created on 13 October 2014, about 11 years ago
Updated 18 August 2025, 2 months ago

Hi, I'd like the ability to specially handle tax for my custom line item types. I have some special discount and product line item types that I need to process before having the tax calculated.

Looking at the function commerce_avatax_get_tax specifically line 69 of commerce_avatax_calc.inc you are accounting for product line item types, shipping, commerce_coupon and commerce_discount. What I am proposing is a hook to add other line item types to this list.

I would be happy to contribute this functionality if it's something you think would be useful.

✨ Feature request
Status

Closed: outdated

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bander2

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024