【问题标题】:edit the address in account dashboard in magento在 magento 中编辑帐户仪表板中的地址
【发布时间】:2013-01-18 16:16:15
【问题描述】:

谁能告诉我你是如何编辑 magento 的这一部分的?我正在尝试更改电话和传真线路中前缀的 T: 和 F:。

address.phtml 调用<?php echo $this->getPrimaryBillingAddressHtml() ?>

这是一个方法:

public function getPrimaryBillingAddressHtml()
{
    $address = $this->getCustomer()->getPrimaryBillingAddress();

    if ($address instanceof Varien_Object) {
        return $address->format('html');
    } else {
        return Mage::helper('customer')->__('You have not set a default billing address.');
    }
}

在课堂上Mage_Customer_Block_Account_Dashboard_Address

然后我的想法用完了....我无法确定打印的内容以及如何更改它....?

【问题讨论】:

    标签: magento magento-1.6


    【解决方案1】:

    在管理员中:system > config > (customers) customer configuration > address templates 您会找到该地址的所有模板。在您的特定情况下,您想要编辑 HTML

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2021-10-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-07-18
      • 1970-01-01
      • 2020-09-27
      相关资源
      最近更新 更多