Need Help?
Did this article answer your questions? Need help with anything? Please click below to contact us.
2 min read • Updated 7 days ago
Remove elements from email receipt
You can remove elements from the Foxy html email receipt that the customer and store receives for transactions (if enabled). This example removes the Processor Response and Payment Method elements.
- 1
Go to your email template here.
- 2
After the text input box labeled receipt html email template:, you'll see if you like, choose a default template:, select Custom Template.
- 3
Go to the receipt html email template: text area and look for these lines:
<h3 style="margin: 0;padding: 0;font-family: Verdana, Helvetica, Arial, sans-serif;color: #666666;font-weight: bold;font-size: 13px;">{{ config.lang.checkout_payment_method|raw }}</h3> <div style="margin: 0;padding: 0;font-family: Verdana, Helvetica, Arial, sans-serif;margin-top: -9px;letter-spacing: 1px;">{{ cc_number_masked }} {% if cc_type|lower in ['amex','discover', 'maestro', 'mastercard', 'solo', 'switch', 'visa'] %}<img src="https://{{ config.store_domain }}/static/images/payment_logos/email/{{cc_type|lower}}.png" width="35" style="margin: 0;padding: 0;font-family: Verdana, Helvetica, Arial, sans-serif;max-width: 100%;position: relative;top: 6px;">{% endif %}</div> <br style="margin: 0;padding: 0;font-family: Verdana, Helvetica, Arial, sans-serif;">
- 4
Put a
<!--
just before the<h3
.. and then after the ...sans-serif;">
at the end, close the comment with-->
. This will change the code within to be seen as a comment and won't be printed to the screen. - 5
Now look for these lines:
<h3 style="margin: 0;padding: 0;font-family: Verdana, Helvetica, Arial, sans-serif;color: #666666;font-weight: bold;font-size: 13px;">{{ config.lang.checkout_processor_response|raw }}</h3> {{ processor_response|raw }} <br style="margin: 0;padding: 0;font-family: Verdana, Helvetica, Arial, sans-serif;">
- 6
Put a
<!--
just before the<h3
.. and then after the ...sans-serif;">
at the end, close the comment with-->
. - 7
After changing the templates, click Update Template to save and then test.