Tax is not correctly calculated

Created on 11 December 2023, 12 months ago

Problem/Motivation

The Commerce Core tax, during calculation, takes into account only `promotion` and `fee` adjustments.
$adjusted_total_price = $order_item->getAdjustedTotalPrice(['promotion', 'fee']);
Currently, there is no way to make this configurable.

There is an active issue to flag if adjustments are taxable. Our `bundle_saving` adjustments behave almost the same as `promotion` adjustments, so we need to make it either taxable or change its weight, depending on the outcome of 3099014 📌 Allow adjustment types to be declared as "taxable" Needs review

Steps to reproduce

Proposed resolution

Mark adjustment taxable and change it's weight, until we have final decision in 3099014 📌 Allow adjustment types to be declared as "taxable" Needs review

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

1.0

Component

Code

Created by

🇭🇷Croatia valic Osijek

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

Comments & Activities

Production build 0.71.5 2024