jequery on checkout is not working in plus account

I added the jquery for checkout page but its not working but in my knowledge shopify plus plan we can add the jquery. and the classes and Id’s of checkout page seems different. but all checkout page classes and id’s are same. can you help us?

Hello @kj11

There can be two reasons for jquery not working on the checkout.

  1. Have you created the checkout.liquid template file by yourself if yes then it won’t work you need to connect with shopify plus support and ask them to enable checkout.liquid file from their end.

  2. Please check if you have included the Jquery CDN in file in the file if not please add that may be that will resolve your issue.

hello there

Shopify’s checkout page is highly restricted and does not allow custom JavaScript or jQuery code to be added directly to the page. This is because the checkout page is designed to be highly secure and any custom code could potentially compromise this security.

For this reason, it is not recommended to attempt to add jQuery to the checkout page. If you need to modify the checkout page, it is best to use Shopify’s supported checkout extensions or work with a Shopify expert who can provide a custom solution.

If you have a Shopify Plus plan, you may be able to use the Script Editor app to add custom scripts to your store, but this still does not apply to the checkout page. The app can only be used to modify the behavior of the storefront and not the checkout page itself.