How do I set up OTP (One-time passcodes) on my website?

The OTP Login plugin provides a seamless and secure passwordless login experience for users on your Shopblocks website.

With this plugin, users no longer need to remember passwords; instead, they receive a unique one-time passcode (OTP) via email for a secure login process.

Key Features

  • Passwordless Login: Users can log in without the need for a traditional password, eliminating the hassle of forgotten passwords and enhancing security.
  • One-Time Passcodes: Users receive a unique OTP via email, ensuring each login session is secure and unique.
  • Easy Integration: The OTP Login plugin seamlessly integrates into your existing Shopblocks website, requiring minimal setup and configuration.

How it works

  • Users enter their registered email.
  • The plugin generates a unique OTP and sends it to the user via email.
  • Users enter the received OTP on the login page.
  • Upon successful verification, users gain access to their accounts.

Enjoy a passwordless and hassle-free login experience with the OTP Login plugin for Shopblocks.

Getting started 

Installing the Plugin

  1. Go to Plugins.




  2. Click on See All Plugins at the top right of the page.




  3. Find Business Customers.




  4. Configure Settings.

Global Settings

  •  Force login if customer is not authenticated: When enabled this will force customers to login before they can see your shop.
  • Allow users to bypass verification using code 111111: When enabled any customer will be able to log in or register to a company by entering the above code. No verification emails will be sent.
  • Customers Require Company: When enabled this will require customers to be registered to a company in the Business Customers plugin to log in.
  • Customers can register: Whether a customer can see the option of registering for an account.
  • MANAGE OTP EMAIL: This button will direct you to a separate page where you can personalise your OTP email template to suit your preferences.

General Settings


  • Login Heading: This is the main heading which will show on the OTP Login page.
  • Verify Heading: This is the main heading which will show on the OTP Verify Code page.
  • Setup Heading: This is the main heading shown on the setup page to new customers.
  • Login Form Location: The preferred position on the page for displaying the login form.
  • Background Image: Image shows on the opposite side of the login page to login form when viewing via a tablet or desktop device. When not provided it will default to your button background colour.
  • Error Messages: This section will allow you to amend the warnings when an error occurs. For example, if the customer is not registered or inputs an invalid email address.

Email Input Settings

This section allows you to choose whether to display a label and/or a placeholder within the email input field.


Setup Input Settings

This section allows you to choose whether to display a label and/or a placeholder within the input fields for the customer's information.


Button Settings

This section allows you to customise the text on the buttons across this feature.


Footer Settings

This area allows you to show/display a customisable footer text during the OTP journey.