[Skip to main content](#vessel-content)

#   Divided tax in cart

##

- **[Rusty](/forum/user/83085-rusty "View Rusty's Profile")**
- [![Rusty's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/83085-rusty "View Rusty's Profile") Topic Author
- [ Offline](/forum/user/83085-rusty)

Less More

- Posts: 105
- Thank you received: 8
-

1 year 7 months ago -  1 year 7 months ago [\#366740](#366740) by [Rusty](/forum/user/83085-rusty "View Rusty's Profile")  *[Divided tax in cart](/forum/27-checkout/909347-divided-tax-in-cart#366740 "-- HikaShop version -- : 5.1.5  In our shop we sell products with 7% tax and others with 19% tax. In the cart is only one tax field. But we need two of them. Based on local rules we have to show the separated totals of the 7% tax &#95;and&#95; the 19% tax - not combined. How to achive this?  And we need an additional line: total without tax&quot;. Is there any option in the settings I'm not aware of?")* was created by *[Rusty](/forum/user/83085-rusty "View Rusty's Profile")*

-- HikaShop version -- : 5.1.5

In our shop we sell products with 7% tax and others with 19% tax.
In the cart is only one tax field. But we need two of them. Based on local rules we have to show the separated totals of the 7% tax _and_ the 19% tax - not combined. How to achive this?

And we need an additional line: total without tax". Is there any option in the settings I'm not aware of?

Last edit: 1 year 7 months ago by [Rusty](/forum/user/83085-rusty "View Rusty's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwOTM0Ny1kaXZpZGVkLXRheC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86581
- Thank you received: 14322
-
-

1 year 7 months ago [\#366747](#366747) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Divided tax in cart](/forum/27-checkout/909347-divided-tax-in-cart#366747 "-- HikaShop version -- : 5.1.5  In our shop we sell products with 7% tax and others with 19% tax. In the cart is only one tax field. But we need two of them. Based on local rules we have to show the separated totals of the 7% tax &#95;and&#95; the 19% tax - not combined. How to achive this?  And we need an additional line: total without tax&quot;. Is there any option in the settings I'm not aware of?")*

Hi,

The tax is separated per rate by default with HikaShop.
So normally, there is nothing to do.
However, if you've deactivated the "detailed taxes display" setting, then it would display the taxes together:
[ www.hikashop.com/support/documentation/5...nfig.html#main\_taxes](https://www.hikashop.com/support/documentation/54-hikashop-config.html#main_taxes)
So please check that setting.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwOTM0Ny1kaXZpZGVkLXRheC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Rusty](/forum/user/83085-rusty "View Rusty's Profile")**
- [![Rusty's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/83085-rusty "View Rusty's Profile") Topic Author
- [ Offline](/forum/user/83085-rusty)

Less More

- Posts: 105
- Thank you received: 8
-

1 year 7 months ago -  1 year 7 months ago [\#366763](#366763) by [Rusty](/forum/user/83085-rusty "View Rusty's Profile")  Replied by *[Rusty](/forum/user/83085-rusty "View Rusty's Profile")* on topic *[Divided tax in cart](/forum/27-checkout/909347-divided-tax-in-cart#366763 "-- HikaShop version -- : 5.1.5  In our shop we sell products with 7% tax and others with 19% tax. In the cart is only one tax field. But we need two of them. Based on local rules we have to show the separated totals of the 7% tax &#95;and&#95; the 19% tax - not combined. How to achive this?  And we need an additional line: total without tax&quot;. Is there any option in the settings I'm not aware of?")*

Hi nicolas,

> nicolas wrote: The tax is separated per rate by default with HikaShop.
> So normally, there is nothing to do.
> However, if you've deactivated the "detailed taxes display" setting, then it would display the taxes together:
> [ www.hikashop.com/support/documentation/5...nfig.html#main\_taxes](https://www.hikashop.com/support/documentation/54-hikashop-config.html#main_taxes)

I checked it - it is activated. If I deactivate it, the cart shows only the word "tax". If activated, the cart shows "19% tax". But there is also a product with 7% tax in the cart. But for this product the 7% tax is not displayed. Maybe it is a bug?

And this, please: I need an additional line: "total without tax". Is there any option in the settings I'm not aware of? If not, can you give some code help? Thanks in advance!

Last edit: 1 year 7 months ago by [Rusty](/forum/user/83085-rusty "View Rusty's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwOTM0Ny1kaXZpZGVkLXRheC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86581
- Thank you received: 14322
-
-

1 year 7 months ago [\#366765](#366765) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Divided tax in cart](/forum/27-checkout/909347-divided-tax-in-cart#366765 "-- HikaShop version -- : 5.1.5  In our shop we sell products with 7% tax and others with 19% tax. In the cart is only one tax field. But we need two of them. Based on local rules we have to show the separated totals of the 7% tax &#95;and&#95; the 19% tax - not combined. How to achive this?  And we need an additional line: total without tax&quot;. Is there any option in the settings I'm not aware of?")*

Hi,

No, it is not a bug. It must be a wrong configuration of your taxes.
Please provide a screenshot of the settings of that 7% product, and a screenshot of what you have in the System&gt;Taxes menu.

There is no total without taxes in the cart. However, if you turn off the "taxes" setting of the cart view in your checkout workflow, in the HikaShop configuration, the subtotal will be displayed without taxes, so you'll have:
- subtotal without taxes
- shipping cost without taxes
- 19% taxes
- 7% taxes
- total with taxes

Otherwise, you could add custom code in the checkout / show_block_cart view file.
There, you can see the total with taxes is displayed with the code: Code:

&lt;!-- TOTAL ROW --&gt; &lt;?php if(!empty($this-&gt;options['show_price'])) { ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $row_count - 2; ?&gt;" class="hikashop_cart_empty_footer"&gt;&lt;/td&gt; &lt;td id="hikashop_checkout_cart_final_total_title" class="hikashop_cart_total_title hikashop_cart_title"&gt;&lt;?php echo JText::_('HIKASHOP_TOTAL'); ?&gt;&lt;/td&gt; &lt;td class="hikashop_cart_total_value" data-title="&lt;?php echo Jtext::_('HIKASHOP_TOTAL'); ?&gt;"&gt; &lt;span class="hikashop_checkout_cart_final_total"&gt;&lt;?php echo $this-&gt;currencyClass-&gt;format($displayingPrices-&gt;total-&gt;price_value_with_tax, $displayingPrices-&gt;price_currency_id); ?&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;!-- EO TOTAL ROW --&gt;

So, you could copy / paste this code, with something like this: Code:

&lt;!-- TOTAL ROW --&gt; &lt;?php if(!empty($this-&gt;options['show_price'])) { ?&gt; &lt;tr&gt; &lt;td colspan="&lt;?php echo $row_count - 2; ?&gt;" class="hikashop_cart_empty_footer"&gt;&lt;/td&gt; &lt;td id="hikashop_checkout_cart_final_total_title" class="hikashop_cart_total_title hikashop_cart_title"&gt;total without taxes&lt;/td&gt; &lt;td class="hikashop_cart_total_value" data-title="total without taxes"&gt; &lt;span class="hikashop_checkout_cart_final_total"&gt;&lt;?php echo $this-&gt;currencyClass-&gt;format($displayingPrices-&gt;total-&gt;price_value, $displayingPrices-&gt;price_currency_id); ?&gt;&lt;/span&gt; &lt;/td&gt; &lt;/tr&gt; &lt;?php } ?&gt; &lt;!-- EO TOTAL ROW --&gt;

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwOTM0Ny1kaXZpZGVkLXRheC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Rusty](/forum/user/83085-rusty "View Rusty's Profile")**
- [![Rusty's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/83085-rusty "View Rusty's Profile") Topic Author
- [ Offline](/forum/user/83085-rusty)

Less More

- Posts: 105
- Thank you received: 8
-

1 year 7 months ago [\#366790](#366790) by [Rusty](/forum/user/83085-rusty "View Rusty's Profile")  Replied by *[Rusty](/forum/user/83085-rusty "View Rusty's Profile")* on topic *[Divided tax in cart](/forum/27-checkout/909347-divided-tax-in-cart#366790 "-- HikaShop version -- : 5.1.5  In our shop we sell products with 7% tax and others with 19% tax. In the cart is only one tax field. But we need two of them. Based on local rules we have to show the separated totals of the 7% tax &#95;and&#95; the 19% tax - not combined. How to achive this?  And we need an additional line: total without tax&quot;. Is there any option in the settings I'm not aware of?")*

Hi nicolas!

> nicolas wrote: No, it is not a bug. It must be a wrong configuration of your taxes.

Thanks to your tip, I checked double - and found my configuration issue. Now it works correctly!

Thank you very much!
Cheers

The following user(s) said Thank You: [nicolas](/forum/user/63-nicolas "View nicolas's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0LzkwOTM0Ny1kaXZpZGVkLXRheC1pbi1jYXJ0P3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.047 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
