Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

请问一下客户的姓与名的排列顺序怎么改??
 
keanbink
Jr. Member
 
Total Posts:  1
Joined:  2009-07-23
 

在订单列表中的姓名是用这个函数调用的
$this->htmlEscape($_order->getShippingAddress()->getName())
(magento\app\design\frontend\default\default\template\sales\order\history.phtml中51行)
那位高手能跟我说下在哪里可以找到getName()的函数体,我要调换姓和名的位置,或者有没有别的办法来实现姓和名位置的调换!

Image Attachments
2.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
samshuai
Sr. Member
 
Total Posts:  114
Joined:  2009-03-21
China
 

不用那么麻烦.
把前台翻译打开.  调整一下姓与名的位置就好了.
方法都是在APP core里的...PHTML只是调用

 
Magento Community Magento Community
Magento Community
Magento Community
 
kuanxu_com
Jr. Member
 
Avatar
Total Posts:  8
Joined:  2009-04-29
China
 

谢谢!

 
Magento Community Magento Community
Magento Community
Magento Community
 
radish
Jr. Member
 
Avatar
Total Posts:  23
Joined:  2009-07-31
 

收下了

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top