Magento Tips: How To Include JQuery Into Magento

Feb 26, 2013135Aleksander Tretjak
Magento Tips: How To Include JQuery Into Magento

Not everyone probably likes the Prototype library which is included into Magento by default. Some users prefer to use a more popular tool – JQuery framework since it has pretty many ready-made add-ons and plugins.

Any js file can be included either with the help of config. files or using events. Using the event core_block_abstract_prepare_layout_before


we can include a library into the page directly before Magento js files.

Observer model:

Partner With Us Let's discuss how to grow your business. Get a Free Quote.
Talk to Igor

Indicating the location of files in helper and the list of included files:

Switching the library into compatibility mode.


Download jQuery from GitHub

Partner With Us Looking for a partner that will help you to grow your business? We are the right company to develop your webstore. Feel free to get in touch with us. We will be happy to discuss your business opportunities and provide you with a Free Quote. Talk to Igor


  1. Hi Aleksander,

    I just tried to install your script via magento.

    and it seems it is not working. Any advise?

    Thank you!

  2. Hi sorry. I needs to activate via the admin.. its working now. I want to use this integration to the extension i am writing. More power!

Post a new comment

BelVG Newsletter
Subscribe to our mailing list and get interesting stuff and updates to your email inbox.
Email *