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

#   Display TAX 0%

##

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

Less More

- Posts: 15
- Thank you received: 1
-
-

6 years 2 weeks ago [\#325619](#325619) by [48media](/forum/user/32301-48media "View 48media's Profile")  *[Display TAX 0%](/forum/40-taxes/901148-display-tax-0#325619 "-- HikaShop version -- : HikaShop Business 4.4.0 -- Joomla version -- : 3.9.22 -- PHP version -- : 7,2 -- Error-message(debug-mod must be tuned on) -- : tax 0%  Hi. How to display 0% VAT? I need it to be visible in the order details and on the invoice. When there are two products with different VAT rates, 0% VAT is shown on the invoice with information about both taxes. When there is a product with VAT only 0, there is no information about the tax.")* was created by *[48media](/forum/user/32301-48media "View 48media's Profile")*

-- HikaShop version -- : HikaShop Business 4.4.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7,2
-- Error-message(debug-mod must be tuned on) -- : tax 0%

Hi.
How to display 0% VAT? I need it to be visible in the order details and on the invoice.
When there are two products with different VAT rates, 0% VAT is shown on the invoice with information about both taxes. When there is a product with VAT only 0, there is no information about the tax.

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

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 2 weeks ago [\#325621](#325621) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display TAX 0%](/forum/40-taxes/901148-display-tax-0#325621 "-- HikaShop version -- : HikaShop Business 4.4.0 -- Joomla version -- : 3.9.22 -- PHP version -- : 7,2 -- Error-message(debug-mod must be tuned on) -- : tax 0%  Hi. How to display 0% VAT? I need it to be visible in the order details and on the invoice. When there are two products with different VAT rates, 0% VAT is shown on the invoice with information about both taxes. When there is a product with VAT only 0, there is no information about the tax.")*

Hi,

If you edit the order / invoice.php via the menu Display&gt;Views, you can see this line:
if($taxes != 0) {
this will make it so that the tax rates rows will only appear if the tax is not 0.
So if you want to display the tax rate even when the tax is 0, you can change that line to:
if(true) {

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

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

Less More

- Posts: 15
- Thank you received: 1
-
-

6 years 2 weeks ago [\#325650](#325650) by [48media](/forum/user/32301-48media "View 48media's Profile")  Replied by *[48media](/forum/user/32301-48media "View 48media's Profile")* on topic *[Display TAX 0%](/forum/40-taxes/901148-display-tax-0#325650 "-- HikaShop version -- : HikaShop Business 4.4.0 -- Joomla version -- : 3.9.22 -- PHP version -- : 7,2 -- Error-message(debug-mod must be tuned on) -- : tax 0%  Hi. How to display 0% VAT? I need it to be visible in the order details and on the invoice. When there are two products with different VAT rates, 0% VAT is shown on the invoice with information about both taxes. When there is a product with VAT only 0, there is no information about the tax.")*

Thanks for replay.
I changed it in the order / invoice (for backend template) file.
Printing the invoice from the admin backend is ok. But the invoice for the customer has no VAT information, how to change it? I enclose scrreny.
VAT ZW is VAT 0%
How to make the client download the same invoice that is visible to the administrator?

- [ ![klient.jpg](/forum/attachment/50955) ](/forum/attachment/50955 "klient.jpg") [ ](/forum/attachment/50955?download=1 "klient.jpg")
- [ ![adminhs.jpg](/forum/attachment/50956) ](/forum/attachment/50956 "adminhs.jpg") [ ](/forum/attachment/50956?download=1 "adminhs.jpg")

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

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 2 weeks ago [\#325654](#325654) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display TAX 0%](/forum/40-taxes/901148-display-tax-0#325654 "-- HikaShop version -- : HikaShop Business 4.4.0 -- Joomla version -- : 3.9.22 -- PHP version -- : 7,2 -- Error-message(debug-mod must be tuned on) -- : tax 0%  Hi. How to display 0% VAT? I need it to be visible in the order details and on the invoice. When there are two products with different VAT rates, 0% VAT is shown on the invoice with information about both taxes. When there is a product with VAT only 0, there is no information about the tax.")*

Hi,

For the invoice in the frontend, you need to do the same change but in the view file order / show.php for your frontend template.

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

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

Less More

- Posts: 15
- Thank you received: 1
-
-

6 years 1 week ago [\#325785](#325785) by [48media](/forum/user/32301-48media "View 48media's Profile")  Replied by *[48media](/forum/user/32301-48media "View 48media's Profile")* on topic *[Display TAX 0%](/forum/40-taxes/901148-display-tax-0#325785 "-- HikaShop version -- : HikaShop Business 4.4.0 -- Joomla version -- : 3.9.22 -- PHP version -- : 7,2 -- Error-message(debug-mod must be tuned on) -- : tax 0%  Hi. How to display 0% VAT? I need it to be visible in the order details and on the invoice. When there are two products with different VAT rates, 0% VAT is shown on the invoice with information about both taxes. When there is a product with VAT only 0, there is no information about the tax.")*

Ok, its works.
Last problem. After printing the invoice, the appearance changes, the tables fall apart and do not hold the columns and rows correctly. Is CSS transferred to print? We style him somewhere separately? (when printing from the back office is correct)

- [ ![table-frontend.jpg](/forum/attachment/50996) ](/forum/attachment/50996 "...e-frontend.jpg") [ ](/forum/attachment/50996?download=1 "...e-frontend.jpg")
- [ ![table-printed.jpg](/forum/attachment/50997) ](/forum/attachment/50997 "table-printed.jpg") [ ](/forum/attachment/50997?download=1 "table-printed.jpg")

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

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 1 week ago [\#325790](#325790) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Display TAX 0%](/forum/40-taxes/901148-display-tax-0#325790 "-- HikaShop version -- : HikaShop Business 4.4.0 -- Joomla version -- : 3.9.22 -- PHP version -- : 7,2 -- Error-message(debug-mod must be tuned on) -- : tax 0%  Hi. How to display 0% VAT? I need it to be visible in the order details and on the invoice. When there are two products with different VAT rates, 0% VAT is shown on the invoice with information about both taxes. When there is a product with VAT only 0, there is no information about the tax.")*

Hi,

In think it comes from the CSS code used for mobile devices which is only on the frontend.
It's this CSS code: Code:

@media only screen and (max-width: 600px), (min-device-width: 768px) and (max-device-width: 1024px) { table.hikashop_order_main_table fieldset#htmlfieldset_products table tbody { display: block; } table.hikashop_order_main_table fieldset#htmlfieldset_products table tbody tr td { text-align: left; } table.hikashop_order_main_table fieldset#htmlfieldset_products table thead { display: none; } #hikashop_order_main fieldset#htmlfieldset_products table tbody tr td:before { content: attr(data-title); font-weight: bold; color: #333; } table.hikashop_order_main_table tbody tbody td { display: inline-block; border: none !important; } table.hikashop_no_border tbody tr td a span { display: inline-block; float:left; } table.hikashop_order_main_table fieldset#htmlfieldset_products table tbody tr.row0 td, table.hikashop_order_main_table fieldset#htmlfieldset_products table tbody tr, table.hikashop_order_main_table tbody fieldset.adminform tbody tr.row1 td { border-bottom: 1px solid #B8B8B8!important; } table.hikashop_no_border tbody tr td a span.caret { float: none; } #hikashop_order_main td.hikashop_empty_td { display: none; } table.hikashop_order_main_table fieldset.adminform table tbody tr.row0 &gt; tr { border-bottom: 1px solid #ccc; } div#hikashop_order_main table.hikashop_no_border { margin-bottom: 10px; } fieldset#htmlfieldset_products label { font-weight: bold; } fieldset#htmlfieldset_billing { margin-right: 45px; } td.hikashop_order_tax_title.key { max-width: 82px; } #hikashop_order_main td.hikashop_order_item_image_value img, #hikashop_order_main td.hikashop_order_item_price_value span, #hikashop_order_main td.hikashop_order_item_quantity_value span, #hikashop_order_main td.hikashop_order_item_total_value span, #hikashop_order_main td.hikashop_order_tax_value, #hikashop_order_main td.hikashop_order_subtotal_value, #hikashop_order_main td.hikashop_order_shipping_value, #hikashop_order_main td.hikashop_order_total_value, #hikashop_order_main td.hikashop_order_item_price_value, #hikashop_order_main td.hikashop_order_item_quantity_value, #hikashop_order_main td.hikashop_order_item_total_value, #hikashop_order_main td.hikashop_order_total_value, #hikashop_order_main table.hikashop_order_main_table fieldset#htmlfieldset_products table tbody tr.row1 td span, #hikashop_order_main td.hikashop_order_item_name_value span.hikashop_order_product_name span, #hikashop_order_main td.hikashop_order_coupon_value, #hikashop_order_main span.hikashop_order_product_name span { float: right; } td.hikashop_order_subtotal_title label, td.hikashop_order_shipping_title label, td.hikashop_order_total_title label { float:left; } table.hikashop_order_main_table fieldset#htmlfieldset_products table tbody tr.row1 td, table.hikashop_order_main_table fieldset#htmlfieldset_products table tbody tr.row0 td { width: 100%; } table.hikashop_order_custom_fields_table tbody tr td { display: table-cell; } table.hikashop_no_border tbody tr td { display: block; } #hikashop_order_main td.hikashop_order_item_name_value a.hikashop_order_product_link p, #hikashop_order_main p.hikashop_order_option_name { text-align: right; margin-bottom: 0px; } #hikashop_order_main td.hikashop_order_item_files_value_resp { display: block !important; } #hikashop_order_main td.hikashop_order_item_files_value { display: none; } #hikashop_order_main td.hikashop_order_item_files_value_resp span a { float: right; } #hikashop_order_main td.hikashop_order_item_files_value_resp p { text-align: right; } #hikashop_order_main td.hikashop_order_item_files_value p, #hikashop_order_main span.hikashop_order_product_name div, #hikashop_order_main td.hikashop_order_item_files_value_resp div , #hikashop_order_main .hikashop_order_product_name div, #hikashop_order_main .hikashop_order_product_name + div { text-align: right; } }

And you can find it in the frontend CSS setting of the HikaShop configuration.
However, as you can see there, it starts with "@media only screen" which basically tells the browser to ignore all that CSS even if the width is small when it's not displayed on a screen (so for the printer).
And I can't reproduce the problem you're talking about on my end.
So either you have custom CSS there, or you're using an old version of the frontend CSS, or your template has some CSS of its own to handle or override that.

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

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

Less More

- Posts: 15
- Thank you received: 1
-
-

6 years 1 week ago [\#325831](#325831) by [48media](/forum/user/32301-48media "View 48media's Profile")  Replied by *[48media](/forum/user/32301-48media "View 48media's Profile")* on topic *[Display TAX 0%](/forum/40-taxes/901148-display-tax-0#325831 "-- HikaShop version -- : HikaShop Business 4.4.0 -- Joomla version -- : 3.9.22 -- PHP version -- : 7,2 -- Error-message(debug-mod must be tuned on) -- : tax 0%  Hi. How to display 0% VAT? I need it to be visible in the order details and on the invoice. When there are two products with different VAT rates, 0% VAT is shown on the invoice with information about both taxes. When there is a product with VAT only 0, there is no information about the tax.")*

Thank you for your help. It was frontend css

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

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