Adding custom javascript to magento
by admin | December 15, 2009 | In Magento tips | No Comments
If you require to enter your own javascript files into a magemto ecommerce the best way is to save the javascript in a js files and upload it to the js folder in the root of your installation.
app/design/frontend/default/your_theme/layout/page.xml
edit the page.xml file and cut and paste a line with <action method=”addJs”> changing the name to your custom
js script.


