News:

Support the VirtueMart project and become a member

Main Menu

Print invoice from Iframe

Started by macyhvt, July 15, 2022, 15:57:56 PM

Previous topic - Next topic

macyhvt

Hi,
I want to change the layout of iframe invoice at virtuemart->orders->print button(screenshot attached).
Can someone please help me find out where to find the files?
Thanks in advance.

Jumbo!

The invoice layout files are -

components/com_virtuemart/views/invoice/tmpl/invoice.php
components/com_virtuemart/views/invoice/tmpl/invoice_history.php
components/com_virtuemart/views/invoice/tmpl/invoice_items.php
components/com_virtuemart/views/invoice/tmpl/invoice_order.php

Copy the above files to -

templates/YOUR-TEMPLATE/html/com_virtuemart/invoice/invoice.php
templates/YOUR-TEMPLATE/html/com_virtuemart/invoice/invoice_history.php
templates/YOUR-TEMPLATE/html/com_virtuemart/invoice/invoice_items.php
templates/YOUR-TEMPLATE/html/com_virtuemart/invoice/invoice_order.php

and make necessary customisations.