Author Topic: Print invoice from Iframe  (Read 334 times)

macyhvt

  • Beginner
  • *
  • Posts: 1
  • A beginner
  • Skype Name: sns_bdm
Print invoice from Iframe
« on: July 15, 2022, 15:57:56 pm »
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!

  • 3rd party VirtueMart Developer
  • Full Member
  • *
  • Posts: 856
  • Full-stack Web Developer
    • www.virtueplanet.com
  • VirtueMart Version: Always the latest
Re: Print invoice from Iframe
« Reply #1 on: July 15, 2022, 16:44:05 pm »
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.