Skip to main content

Find Email Template​

  1. In your Shopify store, go to Settings – Notifications and find the menus for Order confirmation, Order edited, and Order refund.

Order confirmation, Order edited modification​

  1. Search (Ctrl+F) for the keyword gateway and find the following code location (no need to modify if the code is not found):
{{transaction.gateway|replace:"_",""|capitalize}}
  1. Replace the above code with:
{%if transaction.gateway|replace:"_",""|capitalize=="Oceanpayment"%}
Credit/Debit Card
{%else%}
{{transaction.gateway|replace:"_",""|capitalize}}
{%endif%}

Order refund modification​

  1. Search (Ctrl+F) for the keyword {{refund_method_title|capitalize}} and find the following code location (no code found, no modification required):
{{refund_method_title|capitalize}}
  1. Replace the above code with:
{%if refund_method_title|capitalize=="Oceanpayment"%}
Credit/Debit Card
{%else%}
{{refund_method_title|capitalize}}
{%endif%}
  1. Continue searching (Ctrl+F) for the keyword {{transaction.gateway|replace:"_",""|capitalize}}, and find the following code location (no code found, no modification required):
{{transaction.gateway|replace:"_",""|capitalize}}
  1. Replace the above code with:
{%if transaction.gateway|replace:"_",""|capitalize=="Oceanpayment"%}
Credit/Debit Card
{%else%}
{{transaction.gateway|replace:"_",""|capitalize}}
{%endif%}