Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/magento/5.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
在magento的帐户仪表板中编辑地址_Magento_Magento 1.6 - Fatal编程技术网

在magento的帐户仪表板中编辑地址

在magento的帐户仪表板中编辑地址,magento,magento-1.6,Magento,Magento 1.6,有人能告诉我你是如何编辑magento的这一部分的吗?我正试图改变电话和传真线路中前缀的T:和F:的 address.phtml调用 这是一种方法: public function getPrimaryBillingAddressHtml() { $address = $this->getCustomer()->getPrimaryBillingAddress(); if ($address instanceof Varien_Object) {

有人能告诉我你是如何编辑magento的这一部分的吗?我正试图改变电话和传真线路中前缀的T:和F:的

address.phtml调用

这是一种方法:

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\u Customer\u Block\u Account\u Dashboard\u Address


然后我的想法就没有了……我无法确定打印此内容的内容以及如何更改它……。

在管理:
系统>配置>(客户)客户配置>地址模板中,您将找到该地址的所有模板。在您的特定情况下,您需要在admin:
system>config>(customers)customer configuration>地址模板中编辑HTML模板,您将找到该地址的所有模板。在您的特定情况下,您希望编辑HTML扩展名,请尝试使用此扩展名:

此扩展允许客户在一个页面中更改所有联系信息


可能会有用

尝试使用此扩展:

此扩展允许客户在一个页面中更改所有联系信息


可能会有用

所以习惯于查看系统文件。。。。!谢谢你的帮助,我一小时前就应该问你了……np,很高兴我能帮上忙。当它不在文件中时,它在db:-)中,因此习惯于在系统文件中查找。。。。!谢谢你的帮助,我一小时前就应该问你了……np,很高兴我能帮上忙。当它不在文件中时,它在数据库中:-)