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

#   Display subtotal without VAT

##

- **[Nicole Lewin](/forum/user/30881-nicole-lewin "View Nicole Lewin's Profile")**
- [![Nicole Lewin's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30881-nicole-lewin "View Nicole Lewin's Profile") Topic Author
- [ Offline](/forum/user/30881-nicole-lewin)

Less More

- Posts: 8
- Thank you received: 0
-
-

12 years 6 months ago [\#152265](#152265) by [Nicole Lewin](/forum/user/30881-nicole-lewin "View Nicole Lewin's Profile")  *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#152265 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")* was created by *[Nicole Lewin](/forum/user/30881-nicole-lewin "View Nicole Lewin's Profile")*

Hello,
I have the problem that the subtotal in the bill contains the VAT.
How I can correct this failure?

Thanks for your help.

- [ ![h0cf8e35&#95;2014-04-15.png](/forum/attachment/16714) ](/forum/attachment/16714 "...2014-04-15.png") [ ](/forum/attachment/16714?download=1 "...2014-04-15.png")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 6 months ago [\#152290](#152290) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#152290 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Hi,

You have to edit hte view "order / show" via the menu display &gt; views and replace: Code:

&lt;?php if($this-&gt;config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal,$this-&gt;order-&gt;order_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal_no_vat,$this-&gt;order-&gt;order_currency_id); } ?&gt;

By: Code:

echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal_no_vat,$this-&gt;order-&gt;order_currency_id);

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

- **[Nicole Lewin](/forum/user/30881-nicole-lewin "View Nicole Lewin's Profile")**
- [![Nicole Lewin's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/30881-nicole-lewin "View Nicole Lewin's Profile") Topic Author
- [ Offline](/forum/user/30881-nicole-lewin)

Less More

- Posts: 8
- Thank you received: 0
-
-

12 years 6 months ago [\#152402](#152402) by [Nicole Lewin](/forum/user/30881-nicole-lewin "View Nicole Lewin's Profile")  Replied by *[Nicole Lewin](/forum/user/30881-nicole-lewin "View Nicole Lewin's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#152402 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Hi,

in which file I must change the code?

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

12 years 6 months ago [\#152406](#152406) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#152406 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Hi,

> You have to edit hte view "order / show" via the menu display &gt; views and replace:

[ hikashop.com/support/support/documentati...ize-the-display.html](https://hikashop.com/support/support/documentation/153-customize-the-display.html)

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

- **[dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")**
- [![dashmalta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31679.jpg)](/forum/user/31679-dashmalta "View dashmalta's Profile")
- [ Offline](/forum/user/31679-dashmalta)

Less More

- Posts: 30
- Thank you received: 0
-
- [](http://www.dashmalta.com)
-

11 years 10 months ago [\#183719](#183719) by [dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")  Replied by *[dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#183719 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Hi Xavier,

I am doing exactly as you suggested in this thread however whatever I do, it does not seem to effect the subtotal.

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 10 months ago [\#183761](#183761) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#183761 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Hi,

Are you sure that you are editing the view in the correct template ?

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

- **[dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")**
- [![dashmalta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31679.jpg)](/forum/user/31679-dashmalta "View dashmalta's Profile")
- [ Offline](/forum/user/31679-dashmalta)

Less More

- Posts: 30
- Thank you received: 0
-
- [](http://www.dashmalta.com)
-

11 years 10 months ago [\#183762](#183762) by [dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")  Replied by *[dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#183762 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Yes of course...I actually selected my template from the dropdown menu so not to have mistakes etc ![;)](/media/kunena/emoticons/11.png ";)")

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 10 months ago [\#183767](#183767) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#183767 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Where exactly do you want to display the subtotal without VAT ?

Because for the invoice you can have to edit the view "order / invoice" of the backend template too.
And replace: Code:

&lt;?php if($this-&gt;config-&gt;get('price_with_tax')){ echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal,$this-&gt;order-&gt;order_currency_id); }else{ echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal_no_vat,$this-&gt;order-&gt;order_currency_id); } ?&gt;

By: Code:

&lt;?php echo $this-&gt;currencyHelper-&gt;format($this-&gt;order-&gt;order_subtotal_no_vat,$this-&gt;order-&gt;order_currency_id); ?&gt;

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

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

- **[dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")**
- [![dashmalta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31679.jpg)](/forum/user/31679-dashmalta "View dashmalta's Profile")
- [ Offline](/forum/user/31679-dashmalta)

Less More

- Posts: 30
- Thank you received: 0
-
- [](http://www.dashmalta.com)
-

11 years 10 months ago [\#183770](#183770) by [dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")  Replied by *[dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#183770 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

I will check that again.

I want to display the subtotal without VAT during the checkout process. In my opinion it does not make much sense to put sub total with VAT, the VAT under neath it and finally the total amount (same exact amount as the subtotal) ![:)](/media/kunena/emoticons/8.png ":)")

Thanks

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

11 years 10 months ago [\#183773](#183773) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#183773 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

So if it's during the checkout process, you have to edit the view "checkout / cart" of the frontend template.
And replace: Code:

$this-&gt;row = $this-&gt;total; echo $this-&gt;loadTemplate();

By: Code:

$origTaxConfig = $this-&gt;params-&gt;get('price_with_tax'); $this-&gt;params-&gt;set('price_with_tax','0'); $this-&gt;row = $this-&gt;total; echo $this-&gt;loadTemplate(); $this-&gt;params-&gt;set('price_with_tax',$origTaxConfig);

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

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

- **[dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")**
- [![dashmalta's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31679.jpg)](/forum/user/31679-dashmalta "View dashmalta's Profile")
- [ Offline](/forum/user/31679-dashmalta)

Less More

- Posts: 30
- Thank you received: 0
-
- [](http://www.dashmalta.com)
-

11 years 10 months ago [\#183846](#183846) by [dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")  Replied by *[dashmalta](/forum/user/31679-dashmalta "View dashmalta's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#183846 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Works perfectly!! So the change in code further up in the thread is to change the subtotal without VAT in the invoice that is sent to the client, right? ![:)](/media/kunena/emoticons/8.png ":)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njc0NTYtZGlzcGxheS1zdWJ0b3RhbC13aXRob3V0LXZhdD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

11 years 10 months ago [\#183854](#183854) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#183854 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

No.
The change on this message [ www.hikashop.com/forum/customers/867456-...hout-vat.html#152290](http://www.hikashop.com/forum/customers/867456-display-subtotal-without-vat.html#152290) is to change that on the invoice page of the frontend (that the customer can access via his orders history page).
The change on this message [ www.hikashop.com/forum/customers/867456-...hout-vat.html#183767](http://www.hikashop.com/forum/customers/867456-display-subtotal-without-vat.html#183767) is to change that on the invoice page that can be printed in the backend of the website.

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

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

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

Less More

- Posts: 20
- Thank you received: 0
-
-

11 years 2 months ago -  11 years 2 months ago [\#212331](#212331) by [sps2i](/forum/user/8008-sps2i "View sps2i's Profile")  Replied by *[sps2i](/forum/user/8008-sps2i "View sps2i's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#212331 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Cette solution ne fonctionne pas chez moi. Par contre si je modifie le fichier invoice.php du plugin "AttachPdf", ça marche ![:cheer:](/media/kunena/emoticons/10.png ":cheer:")

Last edit: 11 years 2 months ago by [sps2i](/forum/user/8008-sps2i "View sps2i's Profile"). Reason: Solution found

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njc0NTYtZGlzcGxheS1zdWJ0b3RhbC13aXRob3V0LXZhdD90bXBsPW1hcmtkb3du) 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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86293
- Thank you received: 14271
-
-

11 years 2 months ago [\#212333](#212333) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display subtotal without VAT](/forum/33-customers/867456-display-subtotal-without-vat#212333 "Hello, I have the problem that the subtotal in the bill contains the VAT. How I can correct this failure?  Thanks for your help.")*

Merci de ne pas créer plusieurs message pour la même question:
[ www.hikashop.com/forum/orders-management...-sur-la-facture.html](http://www.hikashop.com/forum/orders-management/878905-affichage-ligne-supplementaire-sur-la-facture.html)

Et de poster en anglais sur le forum anglais.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84Njc0NTYtZGlzcGxheS1zdWJ0b3RhbC13aXRob3V0LXZhdD90bXBsPW1hcmtkb3du) 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.118 seconds

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

[](#top)
