How to detect have ReCharge’s subscription product in Shopify cart

Sell Online With Shopify
Trusted by millions of businesses worldwide
Start your Shopify 14-day free trial and save up to 25% on Shopify when you sign up for an annual, 2-year, or 3-year plan.

You may want to detect have ReCharge’s subscription product in cart to do something. This article provides the code to help you to do that.

ReCharge is the leading subscriptions payments platform designed for Shopify merchants to set up and manage dynamic recurring billing across web and mobile.

This is the Shopify liquid code

This is the Javascript code with jQuery

I hope it’s helpful for you.

Happy coding!

You may also like...

Leave a Reply

Your email address will not be published.