cancel
Showing results for 
Search instead for 
Did you mean: 

Firecheckout address and house number in one row?

Firecheckout address and house number in one row?

Hello,

 

I was looking for a way to make the address and house number in one row on the Firecheckout page. Sadly there was only one solution available on the internet, but it didn't work. Can anyone with experience help me further?

I've used this post on Github but sadly my store did not respond to the added Javascript code.
The code:

 

<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>

added at the bottom in: 

 

app/design/frontend/base/default/template/tm/firecheckout/checkout.phtml.

 

and then copied to:

 

app/design/frontend/[PACKAGE]/[THEME]/template/tm/firecheckout/checkout.phtml

Thanks in advance / kind regards,

Bas

 

2 REPLIES 2

Re: Firecheckout address and house number in one row?

Firecheckout has great support, have you contacted them? They will certainly answer your questions.

Magento Moderator since 2009
Keep Calm and Clear Cache!

Re: Firecheckout address and house number in one row?

For me the solution on the GitHub page worked perfectly. Are you sure there isn't another checkout.phtml being used that overrides the default tm file? You can enable template path hints for the frontend to make sure.

Did I help you solve your problem? Click Accept as Solution!
DudeSquare Web Development