WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have enabled Display Fancy Purchase Notification for WP E-commerce but it looks like that fancy pop-up window is not working.

Console throws an error

jQuery( 'form.product_form, .wpsc-add-to-cart-button-form' ).on( 'submit', function() { TypeError: jQuery(...).on is not a function

but add to cart functionality works.

Site is located here: http://www.tozzicollection.com


share|improve this question
There are a lot of different scripts running on your pages and it looks like at least one of them has an error. By the time the wpec js runs, you already have an error. – Andrew Bartel Jan 31 '14 at 0:05
It looks like I'm getting those errors from jQuery conflict through wp_head. Possible some plugins. – JackTheKnife Jan 31 '14 at 15:33
I have eliminated all jQuery errors excluding that one mentioned above. – JackTheKnife Jan 31 '14 at 16:14
up vote 0 down vote accepted

Found that theme functions was handled wp_deregister_script('jquery') and jQuery loaded from one of plugins was outdated (1.5.2) which was causing all errors. I have removed wp_deregister_script('jquery') from the functions.php file and all working as should.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.