SHARE
TWEET

Add Mobile Input to edit.phtml

pdonnelly21 Jan 21st, 2015 587 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.             <!-- Mobile Custom Customer Attribute -->
  2.             <li>
  3.                 <label for="mobile" class="required"><em>*</em><?php echo $this->__('Mobile Number') ?></label>
  4.                 <div class="input-box">
  5.                     <input type="tel" autocapitalize="off" autocorrect="off" spellcheck="false" name="mobile" id="mobile" value="<?php echo $this->escapeHtml($this->getCustomer()->getMobile()) ?>" title="<?php echo $this->__('Mobile Number') ?>" class="input-text required-entry" />
  6.                 </div>
  7.             </li>
RAW Paste Data
Want to get better at PHP?
Learn to code PHP in 2017
Top