Friday, May 8, 2015

How to add own Jquery to magento ?

How to add own Jquery to magento ?

Go to theme folder and default -> Layout ->local.xml

Type:
<reference name=”head”>
                <action method=”addItem”>
                <type>skin_js</skin>
                <name>js/jquery.min.js</name>
</reference>
<reference name=”head”>
                <action method=”addItem”>
                <type>skin_js</skin>
                <name>js/mycustom.js</name>
</reference>

Add these files to skins folder




No comments:

Post a Comment

Dharamart.blogspot.in