# Settings

1. **Lock Entire Collection**

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FfYefZMd27OMlwFEQWmLO%2FScreenshot_17.jpg?alt=media&#x26;token=1ea3a707-9a21-4b96-b816-b16b537af910" alt=""><figcaption></figcaption></figure>

* **Lock collection page -** Select this option if you want to lock the entire collection page.
* **Lock all products under collection -** Select this option if you want to lock specific products of a particular collection.

2. **Content Restriction**

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FNOKwWz4fvClF0H3nLVC1%2FScreenshot_18.jpg?alt=media&#x26;token=598d9b84-23a5-4b2f-b176-f23f664be328" alt=""><figcaption></figcaption></figure>

By enabling this feature, your store visitors will not be able to right-click on your website content, copy your website content, drag and save images from your website, or even access the developer tools.

3. **Lock Entire Website**

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2FKO2y6iwrKJsMyG98LiP3%2FScreenshot_19.jpg?alt=media&#x26;token=ea018df9-bfda-465e-b595-cb56278ceb1a" alt=""><figcaption></figcaption></figure>

By enabling this feature, your store visitors will have to log in before accessing the website.

For that, you need to go to **Settings** <mark style="color:blue;">➤</mark> **Checkout** <mark style="color:blue;">➤</mark> **Enable "Require login before checkout."**

### Mail Server Details (SMTP Settings)

To send passcodes to customers via email, **SHOPLOCK Login Required** uses your store’s email server (SMTP). This ensures emails are sent securely and appear to come from your business email address.

You need to enter the SMTP details provided by your email service provider (such as Gmail, Outlook, or SendGrid).

### Where do I get SMTP details?

All SMTP details are provided by **your email service provider**. You can find them in your email account under:

* **Settings**
* **Mail settings**
* **Security**
* **SMTP / Outgoing mail**
* **Email client configuration**

If you already sent emails from your business email, your provider already has these details available.

### How to find SMTP Host, Port, and Encryption

1. Identify the email address you use to contact customers\
   (for example: Gmail, Outlook, Zoho, or a domain email)
2. Log in to your email provider account
3. Open the **SMTP or outgoing mail settings**

You will see:

* SMTP server (host)
* Port number
* Encryption type (TLS or SSL)

### Common SMTP details (for reference)

| Email Provider           | SMTP Host            | Port | Encryption |
| ------------------------ | -------------------- | ---- | ---------- |
| Gmail / Google Workspace | `smtp.gmail.com`     | 587  | TLS        |
| Outlook / Microsoft 365  | `smtp.office365.com` | 587  | TLS        |
| Zoho Mail                | `smtp.zoho.com`      | 587  | TLS        |

These are standard settings officially provided by each email service.

### Field-by-field explanation

#### **SMTP Host**

The outgoing mail server is used to send emails.\
This value is provided by your email service.

**Example:** smtp.gmail.com

#### **Port**

Defines how your email connects to the mail server.\
Most providers recommend **587**.

#### **Encryption**

Secures the email connection to protect data.\
Select **TLS** unless your provider specifies otherwise.

#### **Username**

Your **full email address** is used to send emails.

**Example:** <example@yourdomain.com>

#### **Password**

* If **2-step verification (2FA) is disabled** → Use your email password
* If **2-step verification (2FA) is enabled** → Generate and use an **App Password** from your email provider (recommended for security)

### Popular provider setup locations

* **Gmail / Google Workspace**\
  Google Account → Security → App Passwords
* **Outlook / Microsoft 365**\
  Account Settings → Mail → SMTP / Sync settings
* **Zoho Mail**\
  Mail Accounts → Server settings
* **SendGrid**\
  Dashboard → Settings → SMTP Relay

<figure><img src="https://922942541-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIGRcMuVZCEGNibOl1OmW%2Fuploads%2F0yjCBblHB5NjTNABxhlp%2FScreenshot_21.jpg?alt=media&#x26;token=8ee0cddb-86bb-4a4d-bedd-97d0d340cc77" alt=""><figcaption></figcaption></figure>

If you’re unsure:

* Which email provider do you use
* Where to find SMTP settings
* Or how to generate an App Password

Contact your email provider’s support team or reach out to our support, and we’ll guide you step by step.
