在Magento 1.6中,对login.phtml的更改不会反映出来 [英] In Magento 1.6, changes to login.phtml don’t reflect

查看:57
本文介绍了在Magento 1.6中,对login.phtml的更改不会反映出来的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我自定义了文件app \ design \ frontend \ base \ default \ template \ checkout \ onepage \ login.phtml,以隐藏一页结帐中的登录字段.在1.5版本中效果很好.

I customized the file app\design\frontend\base\default\template\checkout\onepage\login.phtml to hide the login fields in onepage checkout. It works well in 1.5 version.

当我在1.6版本中进行相同的修改时,前端没有任何变化.我观察到在1.6版本中,与1.5版本不同,onepage.phtml没有使用onepage \ login.phtml.我对文件位置错误(基本\默认和默认\默认)和缓存刷新进行了基本检查.

When I do the same modifications in 1.6 version, nothing changes in the frontend. I observed that in 1.6 version, onepage.phtml is not using onepage\login.phtml unlike in 1.5. I did the basic checks of file location mistake(base\default and default\default) and cache refresh.

我无法确定在getChildHTML('login')行的onepage.phtml中选择了哪个login.phtml [在结帐步骤1中显示登录字段].

I am having trouble figuring out which login.phtml is being picked up in onepage.phtml in the line getChildHTML(’login’) [to display the login fields in checkout step 1].

先谢谢了.

推荐答案

您的问题可能与以下线程有关 http://www.magentocommerce.com/boards/viewthread/243571/关于持久性购物车.

Your problem may be related to the following Thread http://www.magentocommerce.com/boards/viewthread/243571/ about Persistent Shopping Cart.

由于模板覆盖名称,我遇到了类似的问题:

I encoutered a similar issue because of the template override name:

  • 在1.6之前,我的模板覆盖为:frontend/default//template/customer/form/login.phtml

1.6:前端/默认//模板/持久性/客户/表单/login.phtml 在其他地方,您可以从1.6找到默认的模板路径:frontend/base/default/template/persistent/customer/form/login.phtml

1.6: frontend/default//template/persistent/customer/form/login.phtml Elsewhere you can find the default template path from 1.6 : frontend/base/default/template/persistent/customer/form/login.phtml

有关持久购物车"的详细信息,请参阅 http://www.magentocommerce.com/blog/comments/persistent-shopping-cart-customer-segmentation-just-getting-better/

For more information about Persistent Shopping Cart, please refer to http://www.magentocommerce.com/blog/comments/persistent-shopping-cart-customer-segmentation-just-getting-better/

这篇关于在Magento 1.6中,对login.phtml的更改不会反映出来的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆