Articles on: πŸ‘οΈPrescription Eye Lens

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


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 βœ…







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



Found this helpful? βœ… Leave a Review


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

Was this article helpful?

Share your feedback

Cancel

Thank you!