I’m having an issue using Recharge and I am hoping that someone on this forum can help me out.
The Problem: I am working on a Shopify Plus store and the store uses Recharge to allow customers to buy products on a subscription. I need to render some html on the checkout.liquid file only if the cart has a Recharge Subscribe & Save product inside of it before starting checkout.
Is there anyway I can check for the presence of a Subscription product in the cart with Liquid? If I were to use JavaScript I could just target a class unique to Subscription products and enter the html I want to render into the DOM, but I would like to avoid adding an extra script to the page.