Skip to content

Add, generate and import passcodes

Passcodes are added in Step 2 (Access & Message) of a lock, with the condition Passcode - Must enter the correct passcode.

Storefront page locked with a passcode: Enter passcode to view the page, with Submit

What your customers see on the storefront.

  1. Type a passcode in the field Enter a passcode (multiple allowed) and click Add passcode.
  2. Repeat to add more. Every passcode in the list unlocks the content.
  1. Under the passcode field, click the generate multiple random passcodes at once link. The Generate random passcodes window opens.
  2. Enter the Number of passcodes (at least 1).
  3. Click Generate. The new passcodes are added to the list.

Every generated passcode is unique and does not repeat a passcode already in the list. Save the lock to apply them.

Passcode condition: passcode field with Add passcode, Clear and Import, a sample passcode, Passcode case-sensitive and the Extra setting options

The Passcode condition. The preview on the right shows what visitors see.

The list shows the first 10 passcodes, then +N more. Clear removes all passcodes in this condition after a confirmation; this cannot be undone.

Setting Options Default
Passcode case sensitivity Checkbox Distinguish uppercase from lowercase. Tick it to make passcodes case-sensitive. Ticked
When to ask for passcode? Once for all pages, Once per page, Everytime Once for all pages

The option wording follows your Step 1 target (for example pages or prices). Everytime is not available when the lock target is Price and add to cart or Variants.

Tag or note a customer on correct passcode

Section titled “Tag or note a customer on correct passcode”

Below the case-sensitivity setting, two optional fields let you act on the customer record itself when someone enters a correct passcode:

Field What It Does
Customer tag when passcode is correct Adds this tag to the customer in Shopify as soon as they enter any passcode from the list.
Customer note when passcode is correct Adds this text to the customer’s note in Shopify under the same condition.

Both fields accept the placeholder {passcode}: it is replaced with whichever passcode the customer actually entered. For example, a tag of unlocked-{passcode} becomes unlocked-VIP2026 for a customer who entered VIP2026.

Leave either field empty to skip that action — passcodes work the same with or without a tag or note attached.

  1. Click Import. The Import passcodes by CSV window opens.
  2. Download the sample CSV template if you need the format: one passcode per line.
  3. Choose your .csv file and click Upload and preview.
  4. Check the Passcode upload summary, then click Import passcode.
Rule Behavior
File type .csv only
File size Up to 2 MB (larger files show File too large)
Passcode length Passcodes longer than 255 characters are skipped as invalid
Duplicates Skipped, and counted under Duplicates skipped
Existing passcodes Kept. Imported passcodes are added to the list.

Visitors can ask you for a passcode from the lock message. Requests appear in Access Management > Passcode Requests, where you pick a passcode and click Send email. See Access Management (Passcode Request).