News:

Support the VirtueMart project and become a member

Main Menu

Invoice per product

Started by Kuubs, October 06, 2020, 16:11:39 PM

Previous topic - Next topic

Kuubs

Hello,

Is it possible to have per product ordered a new page of invoice in the PDF?

so if I order 2 products, I get 2 pages in my invoice PDF?

AH

You could try and override the invoice_items template

This might work (sometimes PDF does not play nice with divs though)

Find this:

Quoteforeach($this->orderDetails['items'] as $item) {

And at the end of the "for loop" add a page break.

Quoteecho '<div style="page-break-after: always;"></div>';
Regards
A

Joomla 4.4.5
php 8.1