- Open the file app/design/frontend/default/your_theme/template/payment/info/cc.phtml
- Find the lines that read: __(’Credit Card Number: xxxx-%s’, $this->htmlEscape($this->getInfo()->getCcLast4())) ?>
__(’Expiration Date: %s/%s’, $this->htmlEscape($this->getCcExpMonth()), $this->htmlEscape($this->getInfo()->getCcExpYear())) ?> - Comment this code out, so it looks like this:__(’Credit Card Number: xxxx-%s’, $this->htmlEscape($this->getInfo()->getCcLast4())) ?>
__(’Expiration Date: %s/%s’, $this->htmlEscape($this->getCcExpMonth()), $this->htmlEscape($this->getInfo()->getCcExpYear())) ?>–> - Save the file.
Love to share my practical experience with you! I started this blog for self reference but I am happy to see that this blog helping other as well to groom! Please feel free to provide suggestions.
Jun 22, 2010
How to Remove Credit Card Information From Sales Email in Magento
In a stock implementation of Magento, when sales emails are sent out, the credit card expiration date and last four are included.
No comments:
Post a Comment