PDF Plugin Blank Pages

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
4 years 6 months ago #319174

-- url of the page with the problem -- : www.toysarama.co.uk/
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.18

Hi

I have installed the PDF plugin so that multiple invoices can be printed. However when you print multiple invoices you get a blank page between each one. Is there a way to prevent this?

Thanks

Dave B)

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 6 months ago #319176

Hi,

Try changing the line:

$content = implode('<div style="page-break-before:always"></div>',$pdfContent);
to:
$content = implode('',$pdfContent);
in the file plugins/hikashop/attachinvoice/attachinvoice.php
I think it should work.

The following user(s) said Thank You: davec

Please Log in or Create an account to join the conversation.

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
4 years 6 months ago #319311

Thanks Nicolas

all worked as expected. Excellent!!

Dave

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum