Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

Thanks

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 at 0:05
    
It looks like I'm getting those errors from jQuery conflict through wp_head. Possible some plugins. –  JackTheKnife Jan 31 at 15:33
    
I have eliminated all jQuery errors excluding that one mentioned above. –  JackTheKnife Jan 31 at 16:14

1 Answer 1

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

 
discard

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.