Hi,
I have modified the cheque payment option so I can use it for pay over phone.
I have managed to tweek all onsite bits to say what I want, however I cannot remove payee name and address from the order confirmation email.
Can anyone point me in the right direction of what and where to remove these?
I have added a screen shot it so you can see what I mean
Please make the backup and follow the following steps, i have not tested it but hope it will work
Find the above code at catalog/model/checkout/order.php
just below it insert below
$template->data['payment_address'] = "";
Likewise
Find the above code at catalog/model/checkout/order.php
just below it insert below
$template->data['shipping_address'] = "";
Let us know if anything happens
Code: Select all
$template->data['payment_address'] = str_replace(array("\r\n", "\r", "\n"), '<br />', preg_replace(array("/\s\s+/", "/\r\r+/", "/\n\n+/"), '<br />', trim(str_replace($find, $replace, $format))));
just below it insert below
$template->data['payment_address'] = "";
Likewise
Code: Select all
$template->data['shipping_address'] = str_replace(array("\r\n", "\r", "\n"), '<br />', preg_replace(array("/\s\s+/", "/\r\r+/", "/\n\n+/"), '<br />', trim(str_replace($find, $replace, $format))));
just below it insert below
$template->data['shipping_address'] = "";
Let us know if anything happens
Rupak Nepali
webocreation.com@gmail.com
http://webocreation.com
Enjoy! Tips and tricks as well as free module.
I only have $template->data['payment_address'] = str_replace(array("\r\n", "\r", "\n"), '<br />', preg_replace(array("/\s\s+/", "/\r\r+/", "/\n\n+/"), '<br />', trim(str_replace($find, $replace, $format))));
dont have the shipping address one
dont have the shipping address one
Who is online
Users browsing this forum: No registered users and 121 guests