Website Building » Shopify » Can I Use jQuery With Shopify?

Can I Use jQuery With Shopify?

Last updated on January 13, 2023 @ 1:48 pm

Yes, you can use jQuery with Shopify. You can either use Shopify’s built-in jQuery library, or you can include your own. If you include your own, you will need to make sure that it is compatible with Shopify’s other libraries, and that you are using the correct version (1.9.1).

Shopify’s built-in jQuery library is located at https://cdn.js?14

To use your own jQuery library, you will need to include it in your theme.liquid file, like this:

PRO TIP: jQuery is a JavaScript library that can be used with a number of different web development frameworks. While it is possible to use jQuery with Shopify, it is important to note that Shopify’s theme system is based on the Liquid templating language, which does not use JavaScript. As a result, using jQuery with Shopify may result in unexpected behaviour.

< script type="text/javascript" src="//ajax.googleapis.com/ajax/libs/jquery/1.1/jquery.js">< /script >

Can I Use jQuery With Shopify?

Yes, you can use jQuery with Shopify.

Dale Leydon

Dale Leydon

Sysadmin turned Javascript developer. Owner of 20+ apps graveyard, and a couple of successful ones.