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

#   Output a Product View to a PDF!!!

##

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 5 days ago -  13 years 5 days ago [\#131555](#131555) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Output a Product View to a PDF!!!](/forum/32-content-creation/863473-output-a-product-view-to-a-pdf#131555 "Need help finding a way to output a product view to a PDF.  I tried several PDF output extensions and methods like  dompdf, mpdf, tcpdf, wkhtmltopdf  but they seem only to work for regular joomla articles.  THIS SHOULD BE A PRIORITY FEATURE FOR THE HIKASHOP TEAM, but as far as I know this is not in their priority list.  Has anybody succeeded?  –––––––  As far as I understand it should work just tricking the method for building a DOMPdf workflow to make it compatible with the HikaShop views structure, so maybe the HikaShop tema can have a look.    docs.joomla.org/J2.5:Creating&#95;PDF&#95;views")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

Need help finding a way to output a product view to a PDF.

I tried several PDF output extensions and methods like

dompdf, mpdf, tcpdf, wkhtmltopdf

but they seem only to work for regular joomla articles.

THIS SHOULD BE A PRIORITY FEATURE FOR THE HIKASHOP TEAM, but as far as I know this is not in their priority list.

Has anybody succeeded?

–––––––

As far as I understand it should work just tricking the method for building a DOMPdf workflow to make it compatible with the HikaShop views structure, so maybe the HikaShop tema can have a look.

[ docs.joomla.org/J2.5:Creating\_PDF\_views](http://docs.joomla.org/J2.5:Creating_PDF_views)

Last edit: 13 years 5 days ago by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile").

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

13 years 4 days ago [\#131634](#131634) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Output a Product View to a PDF!!!](/forum/32-content-creation/863473-output-a-product-view-to-a-pdf#131634 "Need help finding a way to output a product view to a PDF.  I tried several PDF output extensions and methods like  dompdf, mpdf, tcpdf, wkhtmltopdf  but they seem only to work for regular joomla articles.  THIS SHOULD BE A PRIORITY FEATURE FOR THE HIKASHOP TEAM, but as far as I know this is not in their priority list.  Has anybody succeeded?  –––––––  As far as I understand it should work just tricking the method for building a DOMPdf workflow to make it compatible with the HikaShop views structure, so maybe the HikaShop tema can have a look.    docs.joomla.org/J2.5:Creating&#95;PDF&#95;views")*

The method explained there should work not only for joomla articles but also for hikashop products. I don't see why it wouldn't work.
Did you try it ?

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 4 days ago [\#131635](#131635) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Output a Product View to a PDF!!!](/forum/32-content-creation/863473-output-a-product-view-to-a-pdf#131635 "Need help finding a way to output a product view to a PDF.  I tried several PDF output extensions and methods like  dompdf, mpdf, tcpdf, wkhtmltopdf  but they seem only to work for regular joomla articles.  THIS SHOULD BE A PRIORITY FEATURE FOR THE HIKASHOP TEAM, but as far as I know this is not in their priority list.  Has anybody succeeded?  –––––––  As far as I understand it should work just tricking the method for building a DOMPdf workflow to make it compatible with the HikaShop views structure, so maybe the HikaShop tema can have a look.    docs.joomla.org/J2.5:Creating&#95;PDF&#95;views")*

Tried with several methods including the ones mentioned in the initial post and also with PhocaPDF and some other, each time starting form a clean clone of my site, then tried with a supersimplified template and NO.

NO.

Dramatic. It doesn't work. I get blank pages. Removed the header section. Blank Page. Removed the body tags and blank paga again.

With joomla native articles all of they work.

I think maybe there is some /html/view/somestuff.pdf.php to be built... don't know, I'm not an advanced coder.

Would be great that you implement this very much demanded feature or document a really working workaround.

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

13 years 3 days ago [\#131661](#131661) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Output a Product View to a PDF!!!](/forum/32-content-creation/863473-output-a-product-view-to-a-pdf#131661 "Need help finding a way to output a product view to a PDF.  I tried several PDF output extensions and methods like  dompdf, mpdf, tcpdf, wkhtmltopdf  but they seem only to work for regular joomla articles.  THIS SHOULD BE A PRIORITY FEATURE FOR THE HIKASHOP TEAM, but as far as I know this is not in their priority list.  Has anybody succeeded?  –––––––  As far as I understand it should work just tricking the method for building a DOMPdf workflow to make it compatible with the HikaShop views structure, so maybe the HikaShop tema can have a look.    docs.joomla.org/J2.5:Creating&#95;PDF&#95;views")*

The main issue on our end is that such PDF library weights several MB. DomPDF for example weights 7MB when compressed. That's more than 3 times the weight of the whole HikaShop install package. Including such PDF library would create lot of install issues on servers with heavy restrictions. So we can't include that by default in HikaShop. It would need to be done as a plugin. Also, usually, the rendering from HTML to PDF is less than perfect and thus requires a separate view from the default HTML view. So that's again more complex for the users who would have to apply their modifications to both files (and the same for new features on our end).
Nothing is impossible of course, it's not as easy as it sounds, as you have seen.
Unfortunately, you see is as a very much demanded feature, but it's not. We only had handful of requests for that and we try to focus on what has been requested more first.
If that's something that you really would like to see rapidly for HikaShop, I can only invite you to seek help with third party developers like polishedgeek.com
They would be able to develop it as a plugin for you.

The following user(s) said Thank You: [PolishedGeek](/forum/user/8378-polishedgeek "View PolishedGeek's Profile")

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

- **[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")**
- [![PeterChain's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar570.png)](/forum/user/570-peterchain "View PeterChain's Profile") Topic Author
- [ Offline](/forum/user/570-peterchain)

Less More

- Posts: 640
- Thank you received: 16
-
-

13 years 3 days ago [\#131662](#131662) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  Replied by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")* on topic *[Output a Product View to a PDF!!!](/forum/32-content-creation/863473-output-a-product-view-to-a-pdf#131662 "Need help finding a way to output a product view to a PDF.  I tried several PDF output extensions and methods like  dompdf, mpdf, tcpdf, wkhtmltopdf  but they seem only to work for regular joomla articles.  THIS SHOULD BE A PRIORITY FEATURE FOR THE HIKASHOP TEAM, but as far as I know this is not in their priority list.  Has anybody succeeded?  –––––––  As far as I understand it should work just tricking the method for building a DOMPdf workflow to make it compatible with the HikaShop views structure, so maybe the HikaShop tema can have a look.    docs.joomla.org/J2.5:Creating&#95;PDF&#95;views")*

Thank you very much Nicolas, is always a pleasure to change views with the HikaShop Team.

I understand perfectly it is not easy, and of course, is very demanded from my clients which is not a real sample of your woeldwide clients.

Please take my demands as a suggestion, not as a complaint.

I'm actively working in my second HikaShop project and being proud of having chosen your component.

Best reagrds.

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

13 years 3 days ago [\#131667](#131667) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Output a Product View to a PDF!!!](/forum/32-content-creation/863473-output-a-product-view-to-a-pdf#131667 "Need help finding a way to output a product view to a PDF.  I tried several PDF output extensions and methods like  dompdf, mpdf, tcpdf, wkhtmltopdf  but they seem only to work for regular joomla articles.  THIS SHOULD BE A PRIORITY FEATURE FOR THE HIKASHOP TEAM, but as far as I know this is not in their priority list.  Has anybody succeeded?  –––––––  As far as I understand it should work just tricking the method for building a DOMPdf workflow to make it compatible with the HikaShop views structure, so maybe the HikaShop tema can have a look.    docs.joomla.org/J2.5:Creating&#95;PDF&#95;views")*

Yes no problem. We're happy that users like you share their requests and exchange with them so that we know what they want and can then make informed decisions on what to do next for HikaShop.
So as I said, we'll do it at one point if no one else does it before then, but it won't be in the short term.

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

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

Less More

- Posts: 29
- Thank you received: 1
-
-

10 years 3 months ago [\#246629](#246629) by [roojai](/forum/user/9880-roojai "View roojai's Profile")  Replied by *[roojai](/forum/user/9880-roojai "View roojai's Profile")* on topic *[Output a Product View to a PDF!!!](/forum/32-content-creation/863473-output-a-product-view-to-a-pdf#246629 "Need help finding a way to output a product view to a PDF.  I tried several PDF output extensions and methods like  dompdf, mpdf, tcpdf, wkhtmltopdf  but they seem only to work for regular joomla articles.  THIS SHOULD BE A PRIORITY FEATURE FOR THE HIKASHOP TEAM, but as far as I know this is not in their priority list.  Has anybody succeeded?  –––––––  As far as I understand it should work just tricking the method for building a DOMPdf workflow to make it compatible with the HikaShop views structure, so maybe the HikaShop tema can have a look.    docs.joomla.org/J2.5:Creating&#95;PDF&#95;views")*

This is an old thread, but wondering if Peter ever got this made - I need it too.

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

10 years 3 months ago [\#246663](#246663) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Output a Product View to a PDF!!!](/forum/32-content-creation/863473-output-a-product-view-to-a-pdf#246663 "Need help finding a way to output a product view to a PDF.  I tried several PDF output extensions and methods like  dompdf, mpdf, tcpdf, wkhtmltopdf  but they seem only to work for regular joomla articles.  THIS SHOULD BE A PRIORITY FEATURE FOR THE HIKASHOP TEAM, but as far as I know this is not in their priority list.  Has anybody succeeded?  –––––––  As far as I understand it should work just tricking the method for building a DOMPdf workflow to make it compatible with the HikaShop views structure, so maybe the HikaShop tema can have a look.    docs.joomla.org/J2.5:Creating&#95;PDF&#95;views")*

Hi,

On our end, we didn't work on it so far. I can't answer for Peter, but I'm sure he will be able to share his story on this topic.
We've added additional triggers to views so it is a bit easier to add a button on the product page through a plugin trigger. But the rest is the same. having a PDF generated for a product is not as simple as it sounds at first.
We also have a lot more developer partners who could work on that for you if necessary :
[ www.hikashop.com/home/our-partners.html](https://www.hikashop.com/home/our-partners.html)

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

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