Installation & Configuration Guide

Installation & Configuration Guide

  • Docs
  • Help

›Login

Intro

  • Installing Web Integrations

Account

  • My Account Integration
  • My Classes Integration
  • My Purchases Integration
  • Create Account Integration

Login

  • Login Integration
  • Password Reset Integration
  • Authentication Integration
  • Logout Button Integration

Location

  • Schedule Integration
  • Buy Page Integration
  • Checkout Integration

Styling

  • Theming
  • Authentication
  • Pick a Spot Map
  • Can I Style ___?

Additional Functionality

  • Installing iOS Smart Banner

Authentication Integration

This code snippet renders a link that directs the customer to either their account page or the login page. The account-redirect-url or the login-redirect-url attributes determine the link url depending on the login state of the customer.

This integration will either display the text "Login" or "My Account" depending upon state. We recommend putting it into the <nav>.

Example Snippet

<!-- change the href attributes of the anchor tags to match your pages -->
<div class="mariana-auth-link-binding"
  data-mariana-account-redirect-url="/my-account/"
  data-mariana-login-redirect-url="/login/"
></div>

Live Example

If you would like to check out a live example, head over to https://mariana-integrations-demo.herokuapp.com/default/

Parameters

  • data-mariana-account-redirect-url: The location of the user account page.
  • data-mariana-login-redirect-url: The location of the user login page.
← Password Reset IntegrationLogout Button Integration →
  • Example Snippet
  • Live Example
  • Parameters
Installation & Configuration Guide
Docs
Installation
Theming
Copyright © 2021 Mariana Tek