Skip to content

Prescription capture

If you come from Shopify rather than from optics, start with the glossary. Setting this step up is far easier once you know what you are asking the customer for.

A spectacle prescription is a list of numbers, one set per eye. Here is what they mean:

Abbreviation Name What it does
OD Right eye From the Latin oculus dexter. It is the right eye in every country
OS / OI Left eye OS in English (oculus sinister); Spanish prescriptions write OI
SPH Sphere The main correction. Negative for short-sightedness (poor distance vision), positive for long-sightedness (poor near vision)
CYL Cylinder Corrects astigmatism: the cornea isn’t perfectly round, so the image comes out distorted. Usually negative, and can be 0
AX Axis The angle that cylinder sits at, from 0 to 180 degrees. Only meaningful when there is a cylinder
ADD Addition Extra power for close-up vision. Appears on progressive and bifocal lenses, from the mid-forties onwards. Always positive
PD Pupillary distance The millimetres between the centre of one pupil and the other. Used to centre the lenses in front of the eyes. Adults are typically between 54 and 74 mm

Dioptres are measured in steps of 0.25. That is why the dropdowns jump like this: -1.00, -1.25, -1.50

  • Graduation (Rx) — a full prescription, with every value above. For genuine prescription eyewear.
  • Reading Rx (grid) — just a magnification (+1.00, +1.50…). For pre-made reading glasses, the ready-to-wear kind that carry no prescription.

Captures the values for each eye: OD (right) and OS (left).

Every field has a configurable Min, Max and Step. Set them to what your lab can actually make: if you don’t work below -8, set that as the minimum and customers can’t order it.

  • Show ADD field — turn it on only if you sell progressives or bifocals. On ordinary glasses it is noise.
  • Show PD — adds pupillary distance capture.
  • Single or per-eye PD — one number (the usual case), or one per eye. The customer switches with a toggle.
  • Validation messages — what they are told if they leave it blank.

Every text in the step can be rewritten without touching code. Before you do, read Languages & wording — the boxes come pre-filled in English and there is a catch.

Shows the customer the prescription they just entered, laid out per eye, before adding to cart.

Add it whenever you capture full prescriptions. It is the last chance for the customer to spot their own mistake, and it saves you returns.

For pre-made reading glasses, where the customer only picks a magnification.

  • Minimum, maximum, step and columns of the grid.
  • Value prefix — usually +, so it reads +1.50.
  • Live preview of how many values it generates.

When the customer adds to cart, the prescription travels inside the Shopify order, alongside the product. You see it on the order detail in your usual admin, and it carries through to whatever you send your lab.

It is written compactly, one line per eye, in the notation any optician reads:

Frame type: Prescription glasses
Lens type: Standard thin lenses
OD: -2.50, -1.25, 90°, +1.50
OS: -3.00, -0.75, 180°, +2.00
PD: 63

The order within each line is always sphere, cylinder, axis, addition.

If the customer uploads a photo of their prescription instead of typing it, the order shows the file name. See Uploading the prescription.