<p>Since taxes apply currently only at the line item level, the tax is correctly applying to the item+shipping cost of the line item.</p>

<p>The shipping max cost is making a order level change to the baseShipping after all line items have been adjusted.</p>

<p>We are looking into supporting order level taxes only, to avoid this, and will update this answer soon with a solution.</p>

<p>Thanks.</p>

<p>UPDATE: This has been fixed, see answer here: <a href="https://craftcms.stackexchange.com/questions/15785/craft-commerce-calculating-product-shipping-tax?rq=1">Craft Commerce: Calculating (Product + Shipping) + Tax?</a></p>

CC BY-SA 3.0
2016-12-18T13:41:00.603Z
Thanks for the explanation Luke, I appreciate it. In the meantime I've had someone build a plugin for me that does the job :)
Stian Karlsen
CC BY-SA 3.0
2016-12-17T00:47:22.343Z
2017-07-11T04:44:56.190Z
2017-07-11T04:44:56.190Z
Luke Holder
<p>So.. it turns out commerce cannot apply tax to base shipping rates, see <a href="https://craftcms.stackexchange.com/questions/15785/craft-commerce-calculating-product-shipping-tax/15791">Calculating (Product + Shipping) + Tax?</a> previously asked on stack.</p>

<p>I then tried setting the tax to a "Per Item Rate" to 99 and the "Maximum Total Shipping Cost" to 99, which I don't want exceeded no matter what. At first this seemed to work fine with a test product (price 5,-), however that was until I increased the qty to 2. The shipping cost for the cart stays at 99, however the shipping cost of the product doubles, which in this case also doubles the cart tax (20.8 to 41.6). This makes no sense to me.</p>

<p>I have attached a video demonstrating what I mean (I get the same result in the demo templates that come with commerce). See video: <a href="https://drive.google.com/open?id=0B8JsOGTrYBIjZUF6cFhTY2RVd0k" rel="nofollow noreferrer">watch directly on Google Drive</a></p>

<p>We are just a week away from launch, and I just discovered this issue. Stressing out right now.</p>

<p>Thank you to anyone who can help enlighten me.</p>

CC BY-SA 3.0
2016-12-02T17:50:36.720Z
Can you send this to support@craftcommerce.com please.
Luke Holder
<plugin-craftcommerce>
Prevent shipping tax from doubling when item qty goes from 1 to 2 in cart
# Prevent shipping tax from doubling when item qty goes from 1 to 2 in cart

(Asked by: username_0 on 2016-11-30)

So.. it turns out commerce cannot apply tax to base shipping rates, see [Calculating (Product + Shipping) + Tax?](https://craftcms.stackexchange.com/questions/15785/craft-commerce-calculating-product-shipping-tax/15791) previously asked on stack.

I then tried setting the tax to a "Per Item Rate" to 99 and the "Maximum Total Shipping Cost" to 99, which I don't want exceeded no matter what. At first this seemed to work fine with a test product (price 5,-), however that was until I increased the qty to 2. The shipping cost for the cart stays at 99, however the shipping cost of the product doubles, which in this case also doubles the cart tax (20.8 to 41.6). This makes no sense to me.

I have attached a video demonstrating what I mean (I get the same result in the demo templates that come with commerce). See video: [watch directly on Google Drive](https://drive.google.com/open?id=0B8JsOGTrYBIjZUF6cFhTY2RVd0k)

We are just a week away from launch, and I just discovered this issue. Stressing out right now.

Thank you to anyone who can help enlighten me.

**Tags:** plugin-craftcommerce
> **Comments:**
> **username_1**: Can you send this to support@craftcommerce.com please.  

---

## 1 answers

### Answer by username_1 on 2016-12-17. Score: 3

Since taxes apply currently only at the line item level, the tax is correctly applying to the item+shipping cost of the line item.

The shipping max cost is making a order level change to the baseShipping after all line items have been adjusted.

We are looking into supporting order level taxes only, to avoid this, and will update this answer soon with a solution.

Thanks.

UPDATE: This has been fixed, see answer here: [Craft Commerce: Calculating (Product + Shipping) + Tax?](https://craftcms.stackexchange.com/questions/15785/craft-commerce-calculating-product-shipping-tax?rq=1)

> **Comments:**
> **username_0**: Thanks for the explanation Luke, I appreciate it. In the meantime I've had someone build a plugin for me that does the job :)  

---

