VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: fapi2 on August 11, 2019, 17:57:54 PM

Title: How to resizes Shipment logo in PDF invoice order?
Post by: fapi2 on August 11, 2019, 17:57:54 PM
Hi, in: /domains/mysite.it/public_html/templates/mytemplate/html/com_virtuemart/invoice i found a file: "invoice_order.php" who, in line 66, has this php instruction:

echo $this->orderDetails['shipmentName'];

Can someone help me find a way to modify this line in order to reduce the size of the Shipment Logo (for example) to 50%?

Thank you
Title: Re: How to resizes Shipment logo in PDF invoice order?
Post by: GJC Web Design on August 12, 2019, 10:22:40 AM
in invoice_order.php put die(); at the end of the file so u can see the html

force an invoice creation and target the shipping img with a snippet of css directly in the file