Posted By

etechblog on 10/07/11


checkout magento onestep

Versions (?)

Magento Checkout Page - Add Custom Fields

 / Published in: PHP


In this blog, we will see how to add custom fields to magento onepage checkout steps. This method can be used to add custom field to any step in the checkout page, although in the current blog i have demonstrated how to add it to the billing step. This method will work on all magento versions.

  1. <li class="fields">
  2. <div class="field">
  3. <label for="billing:ssn" class="required"><em>*</em><?php echo $this->__('SSN') ?></label>
  4. <div class="input-box">
  5. <input type="text" name="custom[ssn]" value="<?php echo $this->htmlEscape($this->getQuote()->getSsn()) ?>" title="<?php echo $this->__('SSN') ?>" class="input-text required-entry" id="billing:ssn" />
  6. </div>
  7. </div>
  9. </li>

Report this snippet  


RSS Icon Subscribe to comments
Posted By: fmeextensions on April 3, 2015

Here is another extension for adding extra fields in Magento checkout page. The field can be a drop down selection, checkbox or text field. For more details view demo here -

You need to login to post a comment.