Oceanpayment 用户线上操作手册

shopify邮件模板修改

1. 在shopify后台Settings–>Notifications分别找到【Order confirmation】,【Order edited】,【Order refund】菜单


2. 编辑Order confirmation和Order edited邮件模板


3. 分别在Order confirmation和Order edited编辑页查找(Ctrl+F)关键词“gateway”,找到以下代码位置:

(遇到搜索不到与下面内容匹配的代码,就不需要做修改)

{{transaction.gateway|replace:"_",""|capitalize}}—{{transaction.amount|money}}


4. 若找到3.中代码,则将3.中替换成以下代码:

{%if transaction.gateway|replace:"_",""|capitalize=="Oceanpayment"%}

     Credit/DebitCard

{%else%}

     {{transaction.gateway|replace:"_",""|capitalize}}

{%endif%}

—{{transaction.amount|money}}


5. 保存


6. 编辑Orderrefund邮件模板


7. 在Order refund编辑页查找(Ctrl+F){{refund_method_title|capitalize}},找到该代码位置:

(遇到搜索不到与下面内容匹配的代码,就不需要做修改)

{{refund_method_title|capitalize}}


8. 若找到7.中代码,则将7.中替换成以下代码:

{%if refund_method_title|capitalize=="Oceanpayment"%}

    Credit/DebitCard

{%else%}

    {{refund_method_title|capitalize}}

{%endif%}


9. 在Order refund编辑页查找(Ctrl+F){{transaction.gateway|replace:"_",""|capitalize}},找到该代码位置:

(遇到搜索不到与下面内容匹配的代码,就不需要做修改)

{{transaction.gateway|replace:"_",""|capitalize}}


10. 若找到9.中代码,则将9.中替换成以下代码:

{%if transaction.gateway|replace:"_",""|capitalize=="Oceanpayment"%}

    Credit/DebitCard

{%else%}

    {{transaction.gateway|replace:"_",""|capitalize}}

{%endif%}


11. 保存,修改完毕!