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 8641521
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:32:50+00:00 2026-06-12T11:32:50+00:00

I am having a problem with a new OpenCart site I am building… I

  • 0

I am having a problem with a new OpenCart site I am building…

I spliced a Html theme with an opencart theme…. The Html theme uses prototype as a library and OpenCart uses the jQuery library. So I went in and used: jQuery.noConflict(); in all my OpenCart files that use the jQuery library (which is all OpenCart JS)

It fixed everything on my site except this: http://beta.justicejewelers.com/index.php?route=product/category&path=79 – If you click on “add to cart” from this screen its fine… However if you click “add to cart” on the sample product 1 for example its going to take you to the product page to select a size…. hit add to cart there and nothing happens…. Also happens to products without options….

Any ideas?

Also here is what I am calling in the header:

<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
<script type="text/javascript" src="js/prototype.js"></script>


<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script>window.jQuery || document.write(unescape('%3Cscript src="catalog/view/theme/sellegance/js/jquery-1.7.1.min.js"%3E%3C/script%3E'))</script>

<script src="catalog/view/theme/sellegance/js/modernizr.full.min.js"></script>

<script type="text/javascript" src="catalog/view/javascript/jquery/ui/jquery-ui-1.8.16.custom.min.js"></script>

<link rel="stylesheet" type="text/css" href="catalog/view/javascript/jquery/ui/themes/ui-lightness/jquery-ui-1.8.16.custom.css" />

<script type="text/javascript" src="catalog/view/javascript/jquery/colorbox/jquery.colorbox.js"></script>

<script type="text/javascript" src="catalog/view/theme/sellegance/js/jquery.elastislide.js"></script>

<script type="text/javascript" src="catalog/view/theme/sellegance/js/jquery.cycle.js"></script>

<!-- NEW SCRIPTS -->

<script type="text/javascript" src="js/common.js"></script>
<script type="text/javascript" src="js/banner_pack.js"></script>
<script type="text/javascript" src="js/jquery.jcarousel.min.js"></script>
<script type="text/javascript" src="js/jquery.mix.js"></script>
<script type="text/javascript" src="js/menu.js"></script>
  • 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-12T11:32:52+00:00Added an answer on June 12, 2026 at 11:32 am

    TypeError: Cannot call method ‘after’ of null [http://beta.justicejewelers.com/index.php?route=product/product&product_id=50:1111]

    At the line 1111:

    $('#option-' + i).after('<span class="error">' + json['error']['option'][i] + '</span>');
    

    replace $ with jQuery.

    P.S. You should invoke jQuery.noConflict() only once after jquery is included.

    P.P.S. Include your CSS files before any JS files – this will speedup page loading.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new in JQuery and having problem in getting element from HTML.
I am having a new problem with the Zend Gdata library where I am
I am new to jquery and i am having problem i want to change
i'm having a problem with my new buddypress-theme (buddyboss). theres a picture-gallery in it
having a problem with a new ASP NET app and ASPNETDB Installed on existing
I'm having this problem on a new cruisecontrol.net install running on Windows Server 2003
I'm having a problem with the new google maps api when adding multiple markers
I am having problem saving additional information about each user automatically when a new
Hello I am a new user to Python and I am having problem doing
I'm new to perl and having a problem matching a particular portion of a

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.