Reorder Magento JavaScript Includes (addJs)

前端 未结 7 1585
无人共我
无人共我 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:27

    jquery conflict with Prototype in magento:

    Simplest solution is to add at the end of your main jquery file.

    jQuery.noConflict();
    

    Or create your custom js file and add this line and also include this file after main js.

提交回复
热议问题