postcode-nl / PostcodeNl_Api_MagentoPlugin

A Magento plugin 1.9 that implements the Postcode.nl API for Dutch addresses
BSD 2-Clause "Simplified" License
21 stars 12 forks source link

IWD Free One Page / Step Checkout new XML structure #9

Closed reijervano closed 10 years ago

reijervano commented 10 years ago

Hi guys,

The people of IWD are using a new layout.xml stucture. I added this to the lookup.xml:

    <opc_index_index>
        <reference name="head">
            <action method="addCss" ifconfig="postcodenl/config/enabled"><script>postcodenl/api/css/lookup.css</script></action>
            <action method="addJs" ifconfig="postcodenl/config/enabled"><script>postcodenl/api/lookup.js</script></action>
        </reference>
        <reference name="content">
            <block type="postcodenl_api/jsinit" name="postcodenl.jsinit" template="postcodenl/api/jsinit.phtml" />
        </reference>
    </opc_index_index>  

Can you add this to the extension? Many thanks!

Reijer

DaanBroekhof commented 10 years ago

Ah indeed! Looks like were testing versus an older version (v2.2.4) that magento insisted was the newest (which is v3.2.3). Will correct this in the next version.

DaanBroekhof commented 10 years ago

Resolved in the latest version.