Virtuemart - Remove duplicate shop name / vendor name from bottom of invoice
When a customer makes an online order through your Virtuemart store, they may receive an invoice with a duplicate shop name, vendor name or other details at the bottom.
To resolve this you will need to edit the mail_html_footer.php file in your installation. To do this, follow these steps:
- Make a copy of the file components/com_virtuemart/views/invoice/tmpl/mail_html_footer.php in your installation and rename it to mail_html_footer.php@backup
- Edit the original file components/com_virtuemart/views/invoice/tmpl/mail_html_footer.php
- Around line 38 you will see the code:
echo $this->vendor->vendor_name .'<br />'.$this->vendor->vendor_phone .' '.$this->vendor->vendor_store_name .'<br /> '.$this->vendor->vendor_store_desc.'<br />'; - Place a comment marker before this so the code is now:
//* echo $this->vendor->vendor_name .'<br />'.$this->vendor->vendor_phone .' '.$this->vendor->vendor_store_name .'<br /> '.$this->vendor->vendor_store_desc.'<br />'; - Save the file
- Now do a test order on your shop to check that the customer invoice is now displaying as expected.