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

#   Showing taxes on pdf invoice

##

- **[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")**
- [![Urbinati's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31080.jpg)](/forum/user/31080-urbinati "View Urbinati's Profile") Topic Author
- [ Offline](/forum/user/31080-urbinati)

Less More

- Posts: 63
- Thank you received: 0
-
-
-
- [](http://www.dreamlordpress.it)
-

11 years 6 months ago [\#201587](#201587) by [Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")  *[Showing taxes on pdf invoice](/forum/40-taxes/876935-showing-taxes-on-pdf-invoice#201587 "-- url of the page with the problem -- :   www.dreamlordpress.it  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hi,  I'd like to show the TAX category beside the product name, in the pdf invoice generated, like:  Product name | Unit price | product quantity | price | tax category  How to do that?")* was created by *[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")*

-- url of the page with the problem -- : [ www.dreamlordpress.it](http://www.dreamlordpress.it)
-- HikaShop version -- : 2.4.0
-- Joomla version -- : 3.4.1

Hi,

I'd like to show the TAX category beside the product name, in the pdf invoice generated, like:

Product name &#124; Unit price &#124; product quantity &#124; price &#124; tax category

How to do that?

---

Dreamlord Press
[ www.dreamlordpress.it](http://www.dreamlordpress.it)
Roleplaying Games in the new era

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

- **[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")**
- [![Urbinati's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31080.jpg)](/forum/user/31080-urbinati "View Urbinati's Profile") Topic Author
- [ Offline](/forum/user/31080-urbinati)

Less More

- Posts: 63
- Thank you received: 0
-
-
-
- [](http://www.dreamlordpress.it)
-

11 years 6 months ago [\#201607](#201607) by [Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")  Replied by *[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")* on topic *[Showing taxes on pdf invoice](/forum/40-taxes/876935-showing-taxes-on-pdf-invoice#201607 "-- url of the page with the problem -- :   www.dreamlordpress.it  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hi,  I'd like to show the TAX category beside the product name, in the pdf invoice generated, like:  Product name | Unit price | product quantity | price | tax category  How to do that?")*

It would be enough for me to access the Tax_category data inside the invoice.
Is there an easy way to get access to it?

---

Dreamlord Press
[ www.dreamlordpress.it](http://www.dreamlordpress.it)
Roleplaying Games in the new era

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NjkzNS1zaG93aW5nLXRheGVzLW9uLXBkZi1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

11 years 6 months ago -  11 years 6 months ago [\#201591](#201591) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Showing taxes on pdf invoice](/forum/40-taxes/876935-showing-taxes-on-pdf-invoice#201591 "-- url of the page with the problem -- :   www.dreamlordpress.it  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hi,  I'd like to show the TAX category beside the product name, in the pdf invoice generated, like:  Product name | Unit price | product quantity | price | tax category  How to do that?")*

Hi,

You'll have to edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php in order to modify the PHP code there to add that extra line. It will require some MySQL query to load the tax category from the product_id of each product.

Last edit: 11 years 6 months ago by [Xavier](/forum/user/4105-xavier "View Xavier's Profile").

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

- **[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")**
- [![Urbinati's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar31080.jpg)](/forum/user/31080-urbinati "View Urbinati's Profile") Topic Author
- [ Offline](/forum/user/31080-urbinati)

Less More

- Posts: 63
- Thank you received: 0
-
-
-
- [](http://www.dreamlordpress.it)
-

11 years 6 months ago [\#202097](#202097) by [Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")  Replied by *[Urbinati](/forum/user/31080-urbinati "View Urbinati's Profile")* on topic *[Showing taxes on pdf invoice](/forum/40-taxes/876935-showing-taxes-on-pdf-invoice#202097 "-- url of the page with the problem -- :   www.dreamlordpress.it  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hi,  I'd like to show the TAX category beside the product name, in the pdf invoice generated, like:  Product name | Unit price | product quantity | price | tax category  How to do that?")*

Perfectly solved, thank you.

---

Dreamlord Press
[ www.dreamlordpress.it](http://www.dreamlordpress.it)
Roleplaying Games in the new era

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

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

Less More

- Posts: 59
- Thank you received: 0
-
-

11 years 5 months ago [\#205557](#205557) by [simonev](/forum/user/30589-simonev "View simonev's Profile")  Replied by *[simonev](/forum/user/30589-simonev "View simonev's Profile")* on topic *[Showing taxes on pdf invoice](/forum/40-taxes/876935-showing-taxes-on-pdf-invoice#205557 "-- url of the page with the problem -- :   www.dreamlordpress.it  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hi,  I'd like to show the TAX category beside the product name, in the pdf invoice generated, like:  Product name | Unit price | product quantity | price | tax category  How to do that?")*

Hi,

could you please tell me the query and where should I have to add it to show tax category as you said?

Regards,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQwLXRheGVzLzg3NjkzNS1zaG93aW5nLXRheGVzLW9uLXBkZi1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) 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: 86587
- Thank you received: 14325
-
-

11 years 5 months ago [\#205569](#205569) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Showing taxes on pdf invoice](/forum/40-taxes/876935-showing-taxes-on-pdf-invoice#205569 "-- url of the page with the problem -- :   www.dreamlordpress.it  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hi,  I'd like to show the TAX category beside the product name, in the pdf invoice generated, like:  Product name | Unit price | product quantity | price | tax category  How to do that?")*

The query itself is easy but won't be enough to show the tax category. You will need the code to run the query, process the result, do the display...
The query should be:
SELECT * FROM #__hikashop_order_product WHERE product_id=XXX;
where XXX should be your product_id.
If you're not a developer, I would recommend to find one to help you do it.

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

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

Less More

- Posts: 59
- Thank you received: 0
-
-

11 years 5 months ago [\#205610](#205610) by [simonev](/forum/user/30589-simonev "View simonev's Profile")  Replied by *[simonev](/forum/user/30589-simonev "View simonev's Profile")* on topic *[Showing taxes on pdf invoice](/forum/40-taxes/876935-showing-taxes-on-pdf-invoice#205610 "-- url of the page with the problem -- :   www.dreamlordpress.it  -- HikaShop version -- : 2.4.0 -- Joomla version -- : 3.4.1  Hi,  I'd like to show the TAX category beside the product name, in the pdf invoice generated, like:  Product name | Unit price | product quantity | price | tax category  How to do that?")*

Ok thanks for support, I solved with another method. I created a "tax" custom field in table product which is showed in PDF invoice. Is not so "elegant solution" but it works! ![:)](/media/kunena/emoticons/3.png ":)")

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

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