PDF Plugin Blank Pages

  • Posts: 285
  • Thank you received: 13
  • Hikashop Business
2 weeks 1 day 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: 69451
  • Thank you received: 10401
  • MODERATOR
2 weeks 20 hours 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: 285
  • Thank you received: 13
  • Hikashop Business
1 week 5 days 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.051 seconds
Powered by Kunena Forum