News:

Looking for documentation? Take a look on our wiki

Main Menu

[solved] Order confirmation mail

Started by raunhar, September 16, 2014, 09:02:11 AM

Previous topic - Next topic

raunhar

The mail that is sent to the buyer, has the following at the footer:
Thank you for purchasing at shop Name
Shop Name
555-555-1212 shop Name


From where can I modify the content of this mail.

I had removed the dummy telephone number from the Vendor Information page.


jenkinhill

Edit invoice/tmpl/mail_html_footer.php and use the edited file as an override. The code you should edit is

/* GENERAL FOOTER FOR ALL MAILS */
echo JText::_('COM_VIRTUEMART_MAIL_FOOTER' ) . '<a href="'.$link.'">'.$this->vendor->vendor_name.'</a>';
        echo '<br/>';
echo $this->vendor->vendor_name .'<br />'.$this->vendor->vendor_phone .' '.$this->vendor->vendor_store_name .'<br /> '.$this->vendor->vendor_store_desc.'<br />';
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

raunhar

I modified the line:
echo $this->vendor->vendor_name .'<br />'.$this->vendor->vendor_phone .' '.$this->vendor->vendor_store_name .'<br /> '.$this->vendor->vendor_store_desc.'<br />';

by removing ".$this->vendor->vendor_phone .' '.$this->vendor->vendor_store_name .'<br /> " .
but after that, the invoice did not get mailed either to vendor or the buyer.

even the page that is generated after the checkout, does not show up.

GJC Web Design

If thats all you did and the mails stopped one has to assume your syntax has a problem
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

raunhar

so, what is the solution.
I tried removing just ".$this->vendor->vendor_phone .'" , and the same result.

GJC Web Design

the solution is to get your syntax correct

unchanged file -> everything works....

changed file-> stuff broke

solution - make your changes correctly

just do

//echo $this->vendor->vendor_name .'<br />'.$this->vendor->vendor_phone .' '.$this->vendor->vendor_store_name .'<br /> '.$this->vendor->vendor_store_desc.'<br />';

what happens?
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

raunhar