【问题标题】:Override Magento persistent/checkout/onepage/billing.phtml覆盖 Magento persistent/checkout/onepage/billing.phtml
【发布时间】:2013-04-30 19:46:10
【问题描述】:

我需要覆盖 Magento "checkout onepage billing"(块和 phtml)。

我正确扩展了块 (Mage_Checkout_Block_Onepage_Billing),但我无法用我的自定义 billing.phtml 替换 "persistent/checkout/onepage/billing.phtml"。我需要它来添加一些新字段并编辑现有字段而不编辑基础核心文件,该怎么做?

【问题讨论】:

    标签: magento templates checkout persistent billing


    【解决方案1】:

    要覆盖此文件,您需要在自己的包中创建它的副本。会是这样的:

    app/design/frontend/YOURPACKAGE/YOURTHEME/template/persistent/checkout/onepage/billing.phtml

    恭喜你提出这个问题。永远不要更新 base/default 中的任何文件。

    【讨论】:

      猜你喜欢
      • 2014-10-23
      • 2013-11-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-12-24
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多