Search on Knowledge Base
How to add house number field on checkout page?
Oct 4, 2015 by Peter D.

Firecheckout can convert the second street line field into house number. All you need is to call the javascript initialization from firecheckout page. Place the following javascript to the firecheckout page:

<script type="text/javascript">
// <![CDATA[
document.observe('dom:loaded', function() {
    var addressTypes = ['billing', 'shipping'];
    addressTypes.each(function(addressType) {
        if (!$(addressType + '-new-address-form')) {
            return;
        }
        new FireCheckout.Housenumber(addressType, {
            required: ['IE', 'CH'],
            optional: ['*'],
            label: "<?php echo $this->__('House Number') ?>"
        });
    });
});
// ]]></script>

You can place it to the bottom of app/design/frontend/base/default/template/tm/firecheckout/checkout.phtml. Copy this file to your store theme folder: app/design/frontend/[PACKAGE]/[THEME]/template/tm/firecheckout/checkout.phtml. Add the javascript to the bottom of the file.

Get Discount!

Get your personal discount !

Like us on Facebook, post a Tweet or rate us at Google Plus to get instant 10% OFF on any purchase from our store.

Please make your choice
Discount Coupon Code

Back to top