Skip to content

Login Redirect

File: sections/login.liquid

Screenshot not yet added.
Save as docs/src/assets/screenshots/section-login.png

Description

Login Redirect

A non-visual section that immediately redirects the user from the Shopify customer login page to the external Monroe Institute login portal at my.monroeinstitute.org/login. Preserves any URL search parameters from the original request during the redirect.

Features:

  • Client-side JavaScript redirect to external login URL
  • Preserves query string parameters across the redirect
  • Renders an empty <div> as a minimal DOM placeholder

Settings: None

Blocks: None

Snippets Used: None

Dependencies:

  • Inline <script> for redirect logic (no external JS or CSS files)

Tailwind Status: Full No CSS classes are used at all; the section is purely JavaScript with an empty div. No legacy CSS dependencies.

Usage

This section is referenced in JSON templates and cannot be added via the theme editor.

{% section 'login' %}