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
Firecheckout has great support, have you contacted them? They will certainly answer your questions.
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.