php - Magento Telphone filed in Customer_Account_Edit page -



php - Magento Telphone filed in Customer_Account_Edit page -

i want same guy do

magento: how display customer's phone number on client info field

but don't want display client phone number, want give ability alter telephone number on page.

if follow guy's above solution telephone display in field when submit form else beingness saved except telephone field. code solution save new info after formsubmission?

thanks in advance

update #1

i update /app/design/frontend/base/default/template/customer/form/edit.phtml code

<input type="text" placeholder="<?php echo $this->__('telephone') ?>" name="telephone" value="<?php echo $this->getcustomer()->getprimarybillingaddress()->gettelephone() ?>" title="<?php echo $this->__('telephone') ?>" class="input-text <?php echo $this->helper('customer/address')->getattributevalidationclass('telephone') ?>" id="telephone" />

but doesn't save (form omit changes) if alter input value , submit form. wonder why..

php magento magento-1.7 textfield savechanges

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -