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

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 *