zoukankan      html  css  js  c++  java
  • Magento修改邮件模板内容

    Magento 默认邮件模板 都是带着官方的标志和一些官方的基本信息。为了建立品牌形象我们需要把邮件模板中的所有官方信息换成自己的信息。修改步骤如下:

    1、找到Magento的邮件模板文件(这里以 en_US为例),如下列文件:
    magentoapplocaleen_US emplateemailaccount_new.html:
    magentoapplocaleen_US emplateemailadmin_password_new.html:
    magentoapplocaleen_US emplateemail ewsletter_subscr_confirm.html:
    magentoapplocaleen_US emplateemailorder_creditmemo.html:
    magentoapplocaleen_US emplateemailorder_creditmemo.html:
    magentoapplocaleen_US emplateemailorder_invoice.html:
    magentoapplocaleen_US emplateemailorder_invoice.html:
    magentoapplocaleen_US emplateemailorder_new.html:
    magentoapplocaleen_US emplateemailorder_new.html:
    magentoapplocaleen_US emplateemailorder_shipment.html:
    magentoapplocaleen_US emplateemailorder_shipment.html:
    magentoapplocaleen_US emplateemailorder_update.html:
    magentoapplocaleen_US emplateemailpassword_new.html:
    magentoapplocaleen_US emplateemailwishlist_share.html:
    (部分路径在applocaleen_US emplateemailsales )
    这 里的en_US是语言文件,这里修改的是英文界面下的邮件模板

    2、修改信息(这里以订单确认信为例)

    换logo的方法:把order_update.html: 里原有的logo地址改为 -> {{store url=""}}skin/frontend/default/default/images/logo.gif
     
    添加订单时间,变量是:{{var order.created_at}}
     
    修改网站名称Main Website Store:这个世界在后台System - Manage Stores那边,更改Store Name就可以。
     
    其他的林林总总也是修改或带变量,在修改Magento邮件模板 的时候千万不要写死内容。。不然后期维护麻烦
    Flag Counter
  • 相关阅读:
    关于图片去水印和转载
    多叉树(森林)转二叉树
    [置顶] 读入优化&输出优化
    【NOI OJ】1816 拨钟问题
    Splay树
    【AVL】宠物收养所
    【树状数组】Stars
    对拍
    使用Mybatis进行多表联查操作
    搜索框自动提示
  • 原文地址:https://www.cnblogs.com/sunsoftware/p/3982736.html
Copyright © 2011-2022 走看看