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

Sell Online With Shopify
Trusted by millions of businesses worldwide
Sign up for a free trial and enjoy 3 months of Shopify for $1/month on select plans.

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. Required fields are marked *