在Magento 1.6中,对login.phtml的更改没有反映出来

use*_*499 8 magento

我自定义了文件app\design\frontend\base\default\template\checkout\onepage\login.phtml来隐藏单页结帐中的登录字段.它适用于1.5版本.

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

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

提前致谢.

小智 15

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

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

  • 在1.6之前,我的模板覆盖是:frontend/default // template/customer/form/login.phtml
  • 1.6:frontend/default // template/persistent/customer/form/login.phtml在其他地方你可以找到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/


vzw*_*ick 5

a)不要在Base中编辑任何东西,伙计!

b)配置 - >开发人员,切换到网站或存储或存储视图范围,打开模板路径提示,查看您的前端,您将看到路径!