Title: jQuery loading after cart variations script
Last modified: January 31, 2022

---

# jQuery loading after cart variations script

 *  Resolved [petermorlion](https://wordpress.org/support/users/petermorlion/)
 * (@petermorlion)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/jquery-loading-after-cart-variations-script/)
 * I’m trying to set up a WooCommerce site with product variations and Neve as theme.
   When selecting a product variation and adding it to my cart, I get the following
   error:
 * Please choose product options by visiting…
 * I think I’ve tracked it down to jquery.min.js loading after add-to-cart-variation.
   min.js.
 * You can find similar issues on the internet where people track it down to a specific
   plugin. But I can fix it by selecting another theme (2022 theme). When I use 
   Neve, I get this issue and can see the wrong JS file loading order in the Network
   tab of my browser’s dev tools.
 * In the Console, I then get “Uncaught ReferenceError: jQuery is not defined” coming
   from the add-to-cart-variation.min.js file.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * (@luciamarinescu)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/jquery-loading-after-cart-variations-script/#post-15334785)
 * Hi [@petermorlion](https://wordpress.org/support/users/petermorlion/),
 * Thanks for choosing Neve!
 * Please provide us the URL to your site so we can check the issue.
 * Thank you!
 *  Thread Starter [petermorlion](https://wordpress.org/support/users/petermorlion/)
 * (@petermorlion)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/jquery-loading-after-cart-variations-script/#post-15335869)
 * Hi [@luciamarinescu](https://wordpress.org/support/users/luciamarinescu/),
 * I’ve taken another look and started disabling plugins. Apparently, the issue 
   is with the Siteground Optimizer plugin. Disabling this plugin fixed the issue.
   Sorry for not finding this earlier.
 *  [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * (@luciamarinescu)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/jquery-loading-after-cart-variations-script/#post-15336061)
 * I’m glad to hear you managed to find the cause of the issue in the meantime, 
   thanks for letting me know!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘jQuery loading after cart variations script’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/neve/4.2.4/screenshot.png)
 * Neve
 * [Support Threads](https://wordpress.org/support/theme/neve/)
 * [Active Topics](https://wordpress.org/support/theme/neve/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/neve/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/neve/reviews/)

## Tags

 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [variations](https://wordpress.org/support/topic-tag/variations/)

 * 3 replies
 * 2 participants
 * Last reply from: [luciamarinescu](https://wordpress.org/support/users/luciamarinescu/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/jquery-loading-after-cart-variations-script/#post-15336061)
 * Status: resolved