Skip to content

Add-ons, colors, accessories & external actions

Optical Form has four mechanisms to monetize and route beyond a plain selection. Don’t mix them up.

An add-on is a Shopify product linked to one specific option. When the customer picks that option, the add-on is added to the cart as a separate line item and adds its price to the live total.

  • Configured in the Add-ons section of each option.
  • Each add-on has a quantity — set 2 for items billed in pairs (e.g. lenses).
  • Its price is the surcharge, not the total: the frame already has its own. See Pricing and charging.
  • Typical examples: the lens type, a treatment (anti-reflective, blue filter), a fitting service.

An option can carry a row of color swatches underneath: perfect for polarized, tinted or photochromic lenses that come in several colors. The customer taps a color and only that color is charged — unlike add-ons, which all apply, colors are alternatives. Tapping the card without picking a color only opens it (dashed border and the “Choose a color to continue” line): the option counts as chosen once the customer taps a color.

  • Configured in the Selectable colors section of each option, with the same product picker as add-ons: each color is a Shopify variant, with its own SKU and price. That way Shopify bills it, includes it on the order and your lab receives the exact reference of the chosen color.
  • Each color has a name (what the customer reads, translatable like any other text) and a swatch, which is the variant’s own image: give each color variant its swatch photo in Shopify and there is nothing else to set up. Only when a variant has no image is the CSS color field used — #8b5a2b, or a gradient like linear-gradient(#555, #ddd).
  • If the colors have different prices, the card shows the cheapest until the customer picks — it never advertises less than what they may end up paying.
  • Hovering a dot shows its name (and the surcharge, if you leave that on under Design › Options); if the colors cost different amounts, the card says “From” until the customer picks.
  • The customer cannot continue without picking a color: an option with colors and no color is half a choice, and the order would leave without the reference your lab needs.
  • Every option — and every color group — accepts a help text: a “?” appears next to the title that the customer opens to read a longer explanation. See Build a form.

An Accessories (cross-sell) step offers optional extra products in its own step: cases, cleaners, cords, etc.

  • Select products — choose what’s offered as cross-sell.
  • Show skip option — shows a “Continue without accessories” card. When on, the step is optional even if marked Required.
  • Editable labels: skip label and description, selection error and summary chip.

Key difference: an add-on depends on picking an option; an accessory is a standalone cross-sell step.

A sold-out accessory shows disabled with “Sold out” (or hidden, per Design › Options), just like add-ons and colours: see the note above.

Instead of adding an option to the cart, you can turn it into an external action: it shows a custom message and button.

  • Message — e.g. “In-store only”.
  • Button text — e.g. “Book an appointment”.
  • Button URL — supports https://, plus tel:, mailto:, sms: and https://wa.me/.

Useful for products only available in a physical store, appointment bookings or direct contact links (WhatsApp, phone, email).