1

谁能告诉我您如何编辑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

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

4

1 回答 1

5

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

于 2013-01-18T16:23:11.050 回答