if (typeof window.Shopify !== 'undefined' && typeof window.Shopify.Checkout !== 'undefined') { var checkout = window.Shopify.Checkout; if (typeof checkout.hasSellingPlan !== 'undefined' && checkout.hasSellingPlan === true) { var subscriptionBoxHtml = '' + '
You can view, edit or cancel your subscriptions by logging into your account.
' + '