skio
Help CenterAdmin API Docs
  • 👋Getting Started
  • 💻App Block Setup
    • What are app blocks?
    • Plan Picker
  • ✏️Manual Theme Setup
    • Manual install process
    • Auto-login to Skio from Shopify Account
  • 📏Rules
    • Rules API
    • Apply Volume Discounts
  • 📦Build-a-Box
    • Static
    • Dynamic
    • Sectioned
  • 🛍️Selling Plan
    • Getting Selling Plan Information
  • 👾Extras
    • Subscription Tags
    • One-click Checkout / Buy Now
    • Redirect Old Customer Portals
  • ❓Troubleshooting
    • Selling Plan Cannot Be Applied to Variant
  • 🛒Shopify API References
    • Liquid Docs
    • AJAX API Docs
    • Storefront GraphQL API Docs
Powered by GitBook
On this page
  • ReCharge
  • Bold V2
  • Smartrr
  1. Extras

Redirect Old Customer Portals

Add the appropriate block of code inside a <script> tag at the top of the <head> tag in the theme.liquid file

ReCharge

if (window.location.pathname.startsWith('/tools/recurring')) {
  window.location.href = '/a/account/login';
}

Bold V2

if (window.location.pathname.startsWith('/pages/my-subscriptions')) {
  window.location.href = '/a/account/login';
}

Smartrr

if (window.location.pathname.startsWith('/account')) {
  window.location.href = '/a/account/login';
}
PreviousOne-click Checkout / Buy NowNextSelling Plan Cannot Be Applied to Variant

Last updated 2 years ago

👾