Articles on: 👁️Prescription Eye Lens

How to Create Conditional RX Fields


Some eye-lens products require RX details like SPH, CYL, AX, BC, or DIA. Using conditional RX fields keeps the form simple and accurate, with certain values dependent on others—for example, Cylinder options changing based on Sphere. These dependencies should update dynamically on the frontend, showing only valid choices for each lens type or variant.

Some

This guideline helps you set up these fields correctly.



Follow the steps below to create conditional RX fields using the app:


  1. Create a Prescription Rule: After creating the rule, click on the Manage button to add your conditional RX values.




  1. Conditionl Options: Click on “Conditional Options” to Set RX Rules for Each Eye.



  1. Options:- Now select the option(s) on which the other value depends, and configure your conditional RX rules accordingly.



  1. Another Parent Condition:- You can add another parent condition by clicking the button, and based on the parent values, the dependent option’s values will be displayed on the front end.



  1. Backend Setup : Make sure all RX options and dependencies are properly mapped in the backend based on how your lens products work.Click to apply to save Changes.




  1. Result / Storefront Check: Go to your storefront → open the relevant product → navigate to the rule you created → check if the correct options appear based on customer selection


Examples

Sphere → Cylinder

The Cylinder values shown on the storefront will depend on the Sphere value selected by the customer.




Cylinder → Axis

Similarly, the Axis values will depend on the Cylinder value chosen by the customer.



Found this helpful? ✅ Leave a Review


Need more help? 💬 Contact Support: Email: support@setubridgeapps.com | WhatsApp: +91 8511963839require


Updated on: 09/12/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!