1The challenge
An online optician needs more than configurable products. Wink & See had requirements no standard Magento feature or third-party configurator could meet:
- Several lens types with different surcharges: single vision, multifocal, reading, sun and photochromic.
- Up to eight prescription fields per order, each with its own rules.
- Pupillary distance per eye, required for some lens types and optional for others.
- A team that needed to change options and prices themselves.
Why no standard configurator?
Magento’s configurable and bundle products combine fixed options. A lens configurator needs rules: which lenses fit which frame, which fields are required for which lens type and which values are valid for an eye. That logic needs its own module.
2Our approach
We built a custom Magento 2 module on Hyvä that guides customers from frame to finished glasses. A dedicated ’Frames’ product type tells Magento which products load the configurator, so other products in the webshop stay simple.
Validation built in
Values are checked against optically sound ranges as they are entered, and fields such as AXIS only appear when they are needed.
Prescription later
Customers can order now and send their prescription later, without being blocked at checkout.
Glasses and sunglasses
The same configurator handles prescription glasses and sunglasses, including bifocal, multifocal and photochromic lenses.
Managed in the admin
Steps, options, help texts, prices and valid combinations are configured by the Wink & See team.
3The result
Customers configure and order prescription glasses on their own, 24/7, without help from an optician or customer service. The step-by-step flow lowers the barrier for customers who hesitate to buy glasses online, upfront validation cuts questions about lens types and values, and transparent pricing helps product pages convert.
The configurator keeps growing with the business: a sunglasses route, bifocal options, help texts per step and a ’send prescription later’ option were added after launch, and it works with the virtual try-on on the product page.
Also read: how prescriptions are saved in the customer account and routed to the lens lab automatically.
?Frequently asked questions about product configurators
Can Magento handle prescription glasses out of the box?
No. Configurable and bundle products can’t handle per-eye prescription values, validation or lens rules. That requires a custom module like this one.
Can we change options and prices ourselves?
Yes. Steps, options, prices, help texts and valid combinations are managed in the Magento admin.
Does the configurator work on mobile?
Yes. It was built on Hyvä with Alpine.js and refined for mobile, where options are shown vertically and the summary stays easy to check.
What happens with the prescription after the order?
It is stored with the order, visible and editable for the team, and sent to the lens lab through an automated export.


