1. 首先,自定义添加区域,安装插件 Extended Newsletter Subscription (https://www.magentocommerce.com/magento-connect/extended-newsletter-subscription.html)

Magento: 添加first name 和 last name到newsletter Add additional fields to your newsletter form and show a popup for subscription.

下载包:Mediarocks_NewsletterExtended-0.3.5

2. 添加到footer

your theme is located at /app/design/frontend/default/mytemplate/layout/local.xml

<?xml version="1.0"?>
<layout version="0.1.0"><!--
Default layout, loads most of the pages
--><default><remove name="left.newsletter" /> <!-- if you want to remove the newsletter block which is on the left side --><!-- Mage_Newsletter --><reference name="footer"><block type="newsletter/subscribe" name="newsletter" as="newsletter" template="newsletter/subscribe.phtml" before="-" /></reference></default>
</layout>

footer.phtml

<?php echo $this->getChildHtml('newsletter'); ?>

OR CMS Page:

{{block type="newsletter/subscribe" name="newsletter" template="newsletter/subscribe.phtml"}}

原文/转自:Magento: 添加first name 和 last name到newsletter Add additional fields to your newsletter form and show a popup for subscription.

Magento: 添加first name 和 last name到newsletter Add additional fields to your newsl相关推荐

  1. Magento 添加 google font Adding a google fonts into Magento

    方法一: In your theme  located at  app/design/frontend/YOUR_THEME/YOUR_TEMPLATE/layout/local.xml just a ...

  2. magento添加sku_快速提示:如何将优惠券添加到Magento电子商务商店

    magento添加sku Say you want to run a promotional offer on your Magento eCommerce store; or to give pro ...

  3. R语言可视化分面图、假设检验分组t检验、可视化单变量分组分面箱图(faceting boxplot)并添加p值(Make facet boxplot and add p-values)、添加抖动数据点

    R语言可视化分面图.假设检验分组t检验.可视化单变量分组分面箱图(faceting boxplot)并添加p值(Make facet boxplot and add p-values).添加抖动数据点 ...

  4. Magento: 在客户账户中添加自定义链接 My Account Add Link

    This extension add new link and a page to that link and enable/disable links in my account left Nav ...

  5. Magento: 自动生成产品SKU Auto generated SKU when add product in magento

    方法一: Open /app/design/adminhtml/default/default/template/catalog/product/edit.phtml and add the foll ...

  6. pandas 插入空列_Pandas在DF创建期间添加额外的空列(Pandas add additional empty columns during DF creation)...

    Pandas在DF创建期间添加额外的空列(Pandas add additional empty columns during DF creation) 我越来越: AssertionError: 1 ...

  7. php 加30分钟,添加10分钟到7:30 am PHP(Add 10 Minutes to 7:30am PHP)

    添加10分钟到7:30 am PHP(Add 10 Minutes to 7:30am PHP) 我确定之前已经问过这个问题,但是我太沮丧了. 我想做的就是将X分钟加到X点. 所以,在我的情况下,例如 ...

  8. magento添加面包屑

    今天给magento新增了一个Popular Search Term页面,在添加面包屑的时候出现了问题 Search Term页面对应的是一个1column.phtml结构 默认的情况下没有加入 &l ...

  9. magento 添加退出链接 Adding a Logout Link to Magento

    Magento seems to include the "Login" link by default. However, Magento does not seem to sh ...

最新文章

  1. limit是mysql的语法
  2. 理解LSTM 网络Understanding LSTM Networks
  3. cgminer linux cpu,Ubuntu Kylin中编译运行cgminer挖矿软件
  4. C#模拟网站登录介绍
  5. 面试官上来就问:能不能开发一个微信朋友圈、推特?我有点懵~
  6. python百度关键词爬虫_python批量获取百度关键词相关结果数
  7. 恋爱APP软件开发基本功能
  8. Typora免费版,不是破解版,是没有升级的老版本,用的还是比较舒服的
  9. Windows聚焦图片不更新解决方法
  10. 4.2 NI-USRP驱动安装与检测
  11. 软件易用性测试怎么做?
  12. 从日文输入法项目看心理模型和实现模型
  13. 用C语言实现FlappyBird
  14. 解的存在唯一性定理与逐步逼近法
  15. Unity UI跟随鼠标移动
  16. {Django基础九之中间件} 一 前戏 二 中间件介绍 三 自定义中间件 四 中间件的执行流程 五 中间件版登陆认证...
  17. 通往奥格瑞玛的道路(二分 + Dijkstra)
  18. 办公软件 office
  19. emui4.0-android6.0+root工具包,华为荣耀7 EMUI4.0刷Recovery获取ROOT权限的教程(6.0)
  20. 五子棋对弈程序c语言,五子棋程序纯C语言版.doc

热门文章

  1. 欧拉定理(洛谷-P5091)(十进制快速幂实现)
  2. 组合数学 —— 康托展开
  3. 字符串的展开(洛谷-P1098)
  4. 小玉买文具(洛谷-P1421)
  5. 信息学奥赛C++语言:删除试题
  6. java中的 =运算符_(二十七)、java中的运算符
  7. 数据结构无向图顶点的度c语言_图-储存及基本操作
  8. 客户连接多个服务端_Linux 服务端最大并发数是多少?
  9. 以独占方式锁定此配置文件失败.另一个正在运行_加速用例执行最有效的方法,手把手教你如何并行地运行自动化测试...
  10. RabbitMQ单机瞎玩(2)