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

#   PDF invoice plugin modification problems

##

- **[geenidee3](/forum/user/49382-geenidee3 "View geenidee3's Profile")**
- [![geenidee3's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/dog.png)](/forum/user/49382-geenidee3 "View geenidee3's Profile") Topic Author
- [ Offline](/forum/user/49382-geenidee3)

Less More

- Posts: 22
- Thank you received: 2
-
-

7 years 8 months ago -  7 years 8 months ago [\#303065](#303065) by [geenidee3](/forum/user/49382-geenidee3 "View geenidee3's Profile")  *[PDF invoice plugin modification problems](/forum/30-integrations/896758-pdf-invoice-plugin-modification-problems#303065 "-- url of the page with the problem -- :   www.scopeslipstop.com/nl/winkel-2  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome  Hi All,  I'm having a lot of struggles to change the layout of the invoice pdf plugin. I've read a lot of history on the forum, but none seems to help.  As soon as I change something in the invoice.php (even when it's just a color), it generates directly 2 pages and the first page is ony a questionmark and the second page is the correct version. I have noooo clue why the plugin is doing that.  Second is that I am able to add a logo, but in the best case scenario I would like to add a full image on the background of the company which I'm working for.  Don't you have somewhere a document where is written how to change things? As these are common questions I assume?  But it starts with the questionmark which is popping up all the time as soon as I make a change in the invoice.php  Thanks  Martijn")* was created by *[geenidee3](/forum/user/49382-geenidee3 "View geenidee3's Profile")*

-- url of the page with the problem -- : [ www.scopeslipstop.com/nl/winkel-2](https://www.scopeslipstop.com/nl/winkel-2)
-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Chrome

Hi All,

I'm having a lot of struggles to change the layout of the invoice pdf plugin. I've read a lot of history on the forum, but none seems to help.

As soon as I change something in the invoice.php (even when it's just a color), it generates directly 2 pages and the first page is ony a questionmark and the second page is the correct version. I have noooo clue why the plugin is doing that.

Second is that I am able to add a logo, but in the best case scenario I would like to add a full image on the background of the company which I'm working for.

Don't you have somewhere a document where is written how to change things? As these are common questions I assume?

But it starts with the questionmark which is popping up all the time as soon as I make a change in the invoice.php

Thanks

Martijn

Last edit: 7 years 8 months ago by [geenidee3](/forum/user/49382-geenidee3 "View geenidee3's Profile").

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

7 years 8 months ago [\#303089](#303089) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF invoice plugin modification problems](/forum/30-integrations/896758-pdf-invoice-plugin-modification-problems#303089 "-- url of the page with the problem -- :   www.scopeslipstop.com/nl/winkel-2  -- HikaShop version -- : 4.0.2 -- Joomla version -- : 3.9.2 -- PHP version -- : 7.2 -- Browser(s) name and version -- : Chrome  Hi All,  I'm having a lot of struggles to change the layout of the invoice pdf plugin. I've read a lot of history on the forum, but none seems to help.  As soon as I change something in the invoice.php (even when it's just a color), it generates directly 2 pages and the first page is ony a questionmark and the second page is the correct version. I have noooo clue why the plugin is doing that.  Second is that I am able to add a logo, but in the best case scenario I would like to add a full image on the background of the company which I'm working for.  Don't you have somewhere a document where is written how to change things? As these are common questions I assume?  But it starts with the questionmark which is popping up all the time as soon as I make a change in the invoice.php  Thanks  Martijn")*

Hi,

The PDF invoice plugin uses the HTML2PDF library:
[ www.html2pdf.fr/](https://www.html2pdf.fr/)
So basically, you can read their documentation:
[ github.com/spipu/html2pdf/blob/master/doc/README.md](https://github.com/spipu/html2pdf/blob/master/doc/README.md)
Basically, it's standard HTML/CSS plus extra tags so that the library can handle things that usually are not necessary in standard HTML like a footer.

Now regarding the question mark you have, I can only think that you do something wrong. But without the code of invoice.php that you have I can't say if that's the case and if so, what is the problem.

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

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

[](#top)
