Reorder Magento JavaScript Includes (addJs)

前端 未结 7 1575
无人共我
无人共我 2021-02-09 01:37

I\'ll keep this simple.... on my product pages I need to remove the prototype.js file and replace it with the latest version of prototype. So far using local.xml I have successf

7条回答
  •  独厮守ぢ
    2021-02-09 02:10

    Since local.xml is loaded at last by the magento system, so the xml mentioned there are merged at last. That may be the reason that your new prototype is loaded below other scripts.

    Alternatively, you can override the Mage_Page_Block_Html_Head::getCssJsHtml() method and play with it.

    Thanks

提交回复
热议问题