Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8141425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T12:30:14+00:00 2026-06-06T12:30:14+00:00

Okay I’ve been doing JS merges for some time now and still can’t figure

  • 0

Okay I’ve been doing JS merges for some time now and still can’t figure out the logic behind making a successful merge. It comes down to repositioning libraries upwards and downwars on merge list. Sometimes jquery must be on top, sometimes it doesn’t. Sometimes fancybox needs to be added as addJs, sometimes as addItem.

So, what is in your experience causing JS libraries to break when you use Magento’s merge JS? Are there any rules for sucessful merge?

UPDATE: Just now in my local.xml I moved from

<action method="addItem"><type>skin_js</type><name>js/magiczoomplus.js</name></action>

to

<action method="addJs"><script>jquery/magiczoomplus.js</script></action>

and that solved the magiczoomplus error I was getting on the page. How so?

I’m trying to understand this problem so I can better tackle it in the future

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T12:30:17+00:00Added an answer on June 6, 2026 at 12:30 pm

    you need to understand the core principle here what conflicts between javascript libraries and what not.

    in case of jQuery and Prototype conflict and in Magento:

    • always include jQuery before any other script on your page , before Prototype is a must
    • add jQuery.noConflict(); call directly to the end of your jQuery library file
    • make sure that none of your jQuery based scripts are not using $ as method name (essence of the conflict here)
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Okay So this doesnt make sense to me.... maybe someone can shed some light.
Okay I got some good advice for Mobile Detection but still having an issue
Okay, first some background, I can't use any javascript library except YUI for this
Okay, so I'm making a table right now for Box Items. Now, a Box
Okay, next PHPExcel question. I have an HTML form that users fill out and
Okay, I have setup up a handler for a div click but for some
Okay so I made this program to help me out with my homework and
Okay,I've been following this tutorial http://coenraets.org/blog/android-samples/androidtutorial/ Basically it gives me exactly what i need
Okay I am having some problems with being able to change bitmaps when a
Okay the title cannot explain the situation correct enough. Now this is it, I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.