Skip to content

[FEAT] [Sales] Shipping Tax relative to Product Items Tax #5016

@Hanmac

Description

@Hanmac

Is there an existing issue for this?

  • I have searched the existing issues

Description

I have to calculate the shipping tax based on the proportion of the products shipped.

If I buy a Product A for €5 with 5% Tax, and Product B for €10 with 2% Tax
and the whole shipping costs is €9,
then i want to calculate the Tax on the Shipping cost in proportion of the Products.

Like A is 1/3 of the Total Price, so it's shipping part is €3 + 5% Tax
Like B is 2/3 of the Total Price, so it's shipping part is €6 + 2% Tax

Expected Behavior

First, adding a Table where the split Shipping Cost and Taxes are stored.
Some variation might store it on the QuoteItem/OrderItem.

How exactly the Shipping Cost is split might be user-dependent,
so it should use Events and a Calculator like model.

Benefits

No response

Anything else?

No response

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions