2016-07-07

Change javascript order in magento 1.x

To change order of javascript files you need to add "params" tag to your xml layout:
<action method="addItem">
<type>js</type>
<name>path/to/js.js</name>
<params><![CDATA[name="zz_new_name"]]></params>
</action>