.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)
Setup Steps (Required Order)
Before creating Product Rules, you must complete the following setup:
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 β


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)


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.


Result

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.

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.

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.

- 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.

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
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: +91 8511963839. Weβre happy to help π
Updated on: 31/01/2026
Thank you!
