> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://setubridge.crisp.help/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# How to Create Product Rules and Set Up Eyeglass Prescriptions | SB Prescription Eye Lens




**Overview**
Product Rules decide **which products use which Prescription Flows**, helping you control which prescription options customers see on specific products.

🎥 **Video: Complete Setup Walkthrough (Lens Flow → Prescription Flow → Product Rules)**

${frame}[How to Create Product Rules and Set Up Eyeglass Prescriptions | SB Prescription Eye Lens](https://www.youtube.com/embed/cuwevcjxjfw?si=iHqYRrmdI2vbs8ob)


# **Setup Steps (Required Order)**
Before creating Product Rules, you must complete the following setup:

| Note : Before creating Product Rules, you must first create Lens Flows and Prescription Flows

## **Step 1 — Create Lens Flows**
Lens Flows allow you to create reusable option groups such as:
* Lens Type
* Coatings
* Materials
* Tints
### **How to Create**
Go to:
**Lens Flows → Add Lens Flow**
→ Enter Name (Internal use — e.g., Materials / Coatings)
→ Add Description
→ Select Display Style (Recommended: Cards – Auto Advance)
→ Enable Required (If selection is mandatory)
→ Add Options using:
 • Add-on Products (With Price)
 • Lens Options (No Price)
 • Create New Product
→ Click Browse Products
→ Click **Save Lens Flow** ✅



![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_1gh7v2e.png)

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_i8uv2r.png)


## **Step 2 — Create Prescription Flows**
Prescription Flows control how customers enter prescription details on the product page.
### **How to Create**
Go to:
**Prescription Flows → Add Prescription Flow**
→ Select Prescription Type (Single Vision / Progressive / Bifocal / etc.)
→ Enter Flow Name (Internal identification)
→ Add Description (Customer-facing text)
→ Upload Flow Image (Optional)
→ Click **Save Flow**
→ Go to **Configure Steps**
→ Attach Lens Flows
→ Set RX Fields
→ Add Tooltip (Optional)



![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_ddwti6.png)

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_1rbv22c.png)
## **Step 3 — Create Product Rule**
Go to **Product Rules** → **Add Product Rule**
**Basic Information Tab**
→ Enter **Rule Name** (e.g. Premium Collection, Budget Line)
**Assign Flows Tab**
→ Select required **Prescription Flows** customers can choose from
**Assign Products Tab**
→ Click **Add / Edit Products**
→ Select products where this rule should apply
→ Click **Save Product Rule**
Product Rules allow you to control which prescription options are available for specific products or collections.

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_przuyi.png)


![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_qe18ay.png)






# Result

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_178555f.png)


**Prescription Flow:**
After clicking the **Select Lens** button, the Prescription Flow that you have created in the backend will appear first. This allows customers to choose their prescription type and enter prescription details before selecting lens options.


![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_1usj4c5.png)



**Lens Flow:**
After clicking on any Lens Flow option (for example: **Single Vision**), the customer will be taken to the Lens Flow selection screen. On this screen, customers can select lens options such as **Materials, Coatings, Tints**, and other lens-related configurations.


![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_dxbs3n.png)



**Prescription Entry (Before or After Lens Selection):**
Customers can add prescription details either before selecting the lens flow or after selecting lens options.
After entering the prescription details and completing the lens selection, customers can proceed to **Add to Cart**.


![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_1iixbao.png)



* **Review Selection and Add to Cart:**
Before adding the product to the cart, customers can review all their selections in the **Review Your Selection** section. This includes prescription type, selected lens options, uploaded prescription file, and additional notes (if added).
After confirming the details and agreeing to the terms and conditions, customers can click **Add to Cart** to proceed with the purchase.

![](https://storage.crisp.chat/users/helpdesk/website/-/e/c/8/2/ec822f1cb1c6a000/image_15m8slw.png)

# **Result**
After setup:
✔ Lens options become reusable
✔ Prescription flows control customer prescription journey
✔ Product rules control where flows appear
✔ Customers see correct prescription options automatically

# **Best Practice Tips**
✅ Create Lens Flows first
✅ Then create Prescription Flows
✅ Then create Product Rules
✅ Test rule on product page after saving


|| Found this helpful? ✅ [Leave a Review](ttps://apps.shopify.com/prescription-eye-contact-lens#modal-show=ReviewListingModal) 

If you need help setting up translations or want assistance tailoring them for your store, feel free to contact our support team at **support@setubridgeapps.com** or on **WhatsApp:&#32;+91 8511963839**. We’re happy to help 😊
