Quantcast
Channel: Adding jQuery to Magento - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by user3346811 for Adding jQuery to Magento

As an alternative way, and instead of manually editing Magento files each time, you can simply add jQuery using this extension: http://www.intersales.de/shop/magento-magejquery.html What it does for...

View Article



Answer by cfx for Adding jQuery to Magento

My preferred (and the most flexible way) to do this is through XML using local.xml, two separate Javascript files, and a new file we will create. The first Javascript file is jQuery itself--completely...

View Article

Answer by Kenny for Adding jQuery to Magento

Best is to use the content delivery network which will be better in performance/speed for your website. I mostly just open up template/page/html/head.phtml and right before <?php echo...

View Article

Answer by jprofitt for Adding jQuery to Magento

You can add it in your block files with $this->getLayout()->getBlock('head')->addJs('path/to/jquery.js'); in the _prepareLayout() method One caveat, Magento uses Prototype, so you'll need to...

View Article

Adding jQuery to Magento

What is the recommended way to add jQuery (or any script) BEFORE the rest of the scripts that come with Magento using local.xml? I've tried to use (in local.xml): <reference name="head">...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images