ArtstikersShopify themes

Glasses

The Shopify theme built for eyewear stores — virtual try-on, lens configurator, PD meter, frame measurements, home try-on and more. This guide walks you through every feature and setting.

3 styles: Glasses · Urban · CinematicOnline Store 2.06 languagesVersion 1.0.0

Need help? Contact support

An Online Store 2.0 theme built for optical stores, eyeglasses and sunglasses brands: light, editorial design, landscape product imagery and the tools eyewear customers expect — virtual try-on, a lens configurator with prescriptions, PD measurement, a frame finder quiz, home try-on, contact lenses and store appointments — without extra apps.

Contents

  1. Feature overview
  2. Quick start
  3. Step-by-step setup guides — one per feature
  4. Product data conventions (tags & metafields)
  5. Theme settings reference
  6. Sections & blocks reference
  7. For developers

1. Feature overview#

Feature Where What customers get
Color swatches Product cards, product page, filters, quick add Real frame colors (two-tone, crystal, tortoise); hovering a swatch shows that color's photo
Virtual try-on Product page Frames on their face from a photo or the camera, all colors, save the picture
Lens configurator Product page Lens type → prescription → thickness → coatings → review, one click to cart
PD meter Lens configurator Measures pupillary distance with the camera
Sun lenses Lens configurator (sunglasses) Prescription sunglasses: tint, polarized, mirrored, tint color swatches
Contact lenses Product page Power / BC / DIA (+ CYL / AXIS) per eye, boxes per eye, subscriptions
Frame finder quiz Any page (section) 5 questions → best matching frames
Fit & shape Product page + filters Narrow / Medium / Wide scale and frame shape, Fit and Shape filters
Home try-on Product page + floating box Pick up to 5 frames to try at home for free
Stores & eye exams Any page (section) Store cards, hours, maps, directions, eye exam booking form
Cart drawer Every page Slide-out cart, quantity +/−, free shipping progress bar
Quick add Product cards Choose color & size and add to cart without leaving the page
Sticky add to cart Product page Add-to-cart bar that follows the customer down the page
Badges & stock Cards, product page Sale, New, Bestseller, custom badges, "Only 3 left"
Wishlist Cards, header, wishlist page Save frames with the heart icon
Compare Cards, compare bar, compare page Up to 4 frames side by side (price, shape, fit, sizes, measurements)
Recently viewed Product page (section) The last frames they looked at
Reviews Cards, product page, section Stars from any review app + a customer photo reviews section
Frame measurements Product page Lens / bridge / temple / frame width diagram
Face shape guide, lens features Sections Educational content with icons
Mega menu Header Columns with frame-shape icons
3D / AR Product page Rotate a 3D model, "View in your space" on phones
Search by SKU Header search + search page Finds frames by model number / SKU, variant, brand, tag
Scroll video Home page (section) Frames turn as the visitor scrolls, with text steps
Before / after slider Any page (section) Drag to compare, e.g. standard vs polarized lenses
Countdown Section + product page block Live timer for sales and launches, hides itself when it ends
Volume pricing (B2B) Product page Quantity price breaks and min / max / increment rules
Quick order list (B2B) Any page (section) Every variant in a table, filter by name / SKU, add all at once
Section colors & spacing Most sections Own background, text, accent and top/bottom spacing per section
Your own fonts Theme settings Upload a brand font (.woff2) instead of the Shopify font library
EU / Romania legal footer Footer Company details, ANPC SAL and SOL pictograms
6 languages Storefront + theme editor English, Romanian, German, French, Italian, Spanish
Right-to-left Whole store Arabic, Hebrew, Persian, Urdu mirror automatically
In-store pickup Product page "Pickup available at …" + every store with hours and address
Image zoom Product page Full-screen gallery, tap to zoom, optional hover magnifier
Breadcrumbs Product, collection, blog, page, search Home / Collection / Product (+ search-engine data)
Back to top Every page Floating button after scrolling down
Slideshow Any page (section) Autoplay slides with mobile images, pause button, swipe
Promo popup Every page (footer) Newsletter sign-up, discount code or link; delay, scroll or exit intent
Menu promos Mega menu Image + text promo next to the menu columns
FAQ Section + page.faq template Grouped questions + FAQ data for Google
Trust badges Section + product block Shipping, returns, warranty, secure payment…
Press Section Publication logos with rotating quotes
Complementary products Product page "Pairs well with" (cases, cleaning kits) with one-tap add
Pre-order Product page "Pre-order" button + message when stock is 0 and selling continues
Back-in-stock alert Product page "Notify me" email form on sold-out variants
Gift wrapping & message Cart drawer + cart page Checkbox that adds the wrapping product + gift message
Account menu & Sign in with Shop Header Dropdown with orders / addresses / wishlist, one-tap Shop sign-in
Load more / infinite scroll Collection pages Products load without changing page
Lookbook (image hotspots) Any page (section) Dots on a photo open product cards; "Shop the look" list
Size guide Product page Frame size table (narrow / medium / wide) or your own page
Alternative home layouts Theme editor Glasses, Urban and Cinematic home pages as page templates, plus one-click theme styles
Hero video Home page Background video in the hero banner (muted, looping, pause button, paused for reduced motion)
Try-on model faces Virtual try-on 3 women + 3 men, or 3 girls + 3 boys for kids' frames (tag kids / age:… / age range); block setting Auto / Adults / Kids / Off. Consent is asked only for the customer's own photo or camera
Transparent header Home page Header sits on the first banner (hero, slideshow, scroll video) with white text, turns solid on scroll, hover or open menu; optional light logo
Product tabs Product page Description, frame measurements and collapsible tabs side by side (Product page → Collapsible tabs style → Tabs), keyboard arrows, scrollable on phones
Menu drawer & centered logo Header Menu button left, logo centered, icons right; menu opens a full panel with categories (columns, shape icons, promos) next to the list on computers, drill-down on phones; glass (translucent, blurred) bar with adjustable darkness
Sort dropdown Collection pages Styled "Sort by" list: featured, best selling, A–Z, Z–A, price, date (keyboard accessible)
Age verification Every page or tagged products Yes / No buttons or date of birth, remembered for X days
Collection navigation Collection pages Quick links to related collections (pills or round images, with product counts)
Combined listings & sibling colors Product page + cards One product per color shown as swatches (Shopify Plus combined listings, or a metafield on any plan)
Custom contact form Contact page (section) Build the form from fields: name, email, phone, dropdown, date, checkbox, long text…
Promo tiles Any page (section) Mosaic of promotional tiles in 4 sizes, image or color, whole tile clickable
Quick view Product cards Gallery with thumbnails, options, description, add to cart and "Try on virtually"
Delivery estimate Product page "Estimated dispatch: Monday 12.10", delivery window, cutoff countdown, extra days with lenses
Gender & age Product page "Women · Men" and the age range under the title
Camera privacy notice Try-on, PD meter "We only detect generic points on your face" + agree / don't agree before the camera starts

All shopping features (wishlist, compare, recently viewed, home try-on box) are stored in the visitor's browser — no account and no app needed.


2. Quick start#

  1. Install the theme (Online Store → Themes → Add theme).
  2. Products: give frames a Color option (or Colour / Frame) and, optionally, a Size option.
  3. Tags (optional but recommended): shape:round, fit:medium, bestseller … — see section 4.
  4. Lenses: create the Prescription lenses product and pick it in the product page's Lens configurator block (guide 3.3).
  5. Pages: create Wishlist and Compare pages with the templates page.wishlist and page.compare and pick them in Theme settings → Wishlist & compare.
  6. Customize the home page in the theme editor. Suggested main menu: Eyewear (mega menu), Sunglasses, Try on (Find your frame page.frame-finder, Home try-on page.home-try-on, Virtual try-on → eyeglasses collection), Eye exams (page.stores), Help (FAQ page.faq, Contact, Wishlist, Compare).
  7. EU stores: fill Footer → Legal (guide 3.25) and add your languages (guide 3.26).

3. Step-by-step setup guides#

3.1 Color swatches#

Swatches appear automatically for options named Color, Colour, Frame or Tint.

  1. Theme settings → Color swatches: the list Name: value maps color names to colors (e.g. Navy: #1f2a5a). A swatch is matched when the option value contains the name, so "Navy & orange" shows a navy/orange split, "Blue mirror" shows blue, "Pink crystal" shows a see-through pink. Special values: transparent (clear frames, checkerboard) and tortoise (pattern).
  2. Add your own colors at the end of the list (e.g. Champagne: #e8d3a8).
  3. Using Shopify's native swatches instead? Link the option to the Color category metafield (Products → option → Connect to category metafield). Native swatch colors and images win.
  4. Theme settings → Product cards: Show color swatches, Swatches per card (extra colors show "+3"). Hovering a swatch shows the photo of that color (the variant's image) — set a variant image for every color.
  5. Product page: Variant picker block → Show colors as swatches.
  6. Filters: color filters from Search & Discovery and color:… tags show swatches too.

3.2 Virtual try-on#

  1. Make a transparent PNG of every frame: front view, cropped tightly to the frame, ~1200 px wide, lenses transparent (sun lenses can stay opaque).
  2. Add it in one of these ways (the first one found is used):
  3. variant metafield custom.try_on_image (type File) — one per color,
  4. product metafield custom.try_on_image (type File),
  5. Content → Files: try-on-<product-handle>-<color>.png, e.g. try-on-aviator-classic-gold.png (color in lowercase, spaces → -, & removed: Navy & orange → navy-orange),
  6. Content → Files: try-on-<product-handle>.png.
  7. Product page → add the Virtual try-on block (included by default under the variant picker).
  8. The button only appears for variants with an image. Lens centers are detected automatically.

Privacy: face tracking (MediaPipe, loaded from jsDelivr / Google on first use) runs in the browser; photos and camera images never leave the device.

Making a try-on image that looks right

Do Avoid
Transparent PNG, front view, frame level Angled or ¾ shots, white backgrounds
Temples folded behind the frame or erased Temples sticking out to the sides
Crop tight to the frame, about 1200 px wide Big empty margins around the frame
Lenses semi-transparent (clear lenses 0–10 %, sun lenses 60–85 % opacity) Fully opaque lenses (the eyes disappear)
One image per color (try-on-mia-coral.png) One image for every color

The theme finds the lens centres automatically and scales the frame to the pupil distance, so customers can fine-tune with Size and Height. Customers get their own photo tips in the try-on window ("Tips for a great photo": look straight at the camera, soft front light, own glasses off, hair away from the eyes, face filling about half of the photo).

Uploading try-on images — step by step

The try-on button appears on a product (and in Quick view) as soon as it has an image for the selected color. Pick one of the three ways below; you can mix them.

A. One image for the whole product (all colors look the same, or you only have one)

  1. Admin → Products → open the frame.
  2. Scroll to Metafields → Try-on image → Select file → upload the PNG → Save.

B. One image per color, from the variant (best when you edit products one by one)

  1. Admin → Products → open the frame → click a variant in the Variants list (e.g. Coral / 44 mm).
  2. Metafields → Try-on image → upload the PNG of that color → Save.
  3. Repeat for the other colors. Each variant (each color and size) needs its own image, so for frames with several sizes option C is quicker: one file per color covers every size.

C. Many products at once, by file name (no product editing at all)

  1. Name each PNG try-on-<product handle>-<color>.png (or try-on-<product handle>.png for all colors): - product handle = the end of the product address, e.g. /products/mia → mia (Admin → product → Search engine listing → URL handle); - color = the color option value in lowercase, spaces and symbols replaced by -: Coral → coral, Navy & orange → navy-orange, Tortoise blue → tortoise-blue. - Examples: try-on-mia-coral.png, try-on-mia-navy-orange.png, try-on-atlas.png.
  2. Admin → Content → Files → Upload files → select all PNGs at once. Shopify keeps the file name (without .png) as the file's name, which is what the theme looks for.
  3. Open a product, pick a color — the try-on button is there.

If you need to fix a name after uploading: Content → Files → click the image → Name → Save.

Renaming many files without programming

  • Windows Explorer: select a file, press F2, type the new name, press Tab to jump to the next file and keep typing.
  • Microsoft PowerToys → PowerRename (free, from the Microsoft Store): select the files → right-click → Rename with PowerRename → search - replace -, tick Make lowercase, then search ^ with Use regular expressions and replace with try-on-. A live preview shows every new name before you apply it.
  • Mac Finder: select the files → right-click → Rename… → Format or Replace text.
  • PowerShell (Windows), copy & paste — a few lines that run on your own computer (built into Windows, no AI, no internet, no install): name your files Product - Color.png (e.g. Mia - Navy & orange.png), open the folder, right-click an empty area → Open in Terminal, paste this and press Enter:

powershell Get-ChildItem *.png | ForEach-Object { $name = $_.BaseName.ToLower() -replace '&', '' -replace '[^a-z0-9]+', '-' -replace '^-|-$', '' Rename-Item $_.FullName ("try-on-$name.png") }

Mia - Coral.png → try-on-mia-coral.png, Mia - Navy & orange.png → try-on-mia-navy-orange.png, Sunny Tortoise Blue.png → try-on-sunny-tortoise-blue.png. Work on a copy of the folder the first time. The product part must match the product handle (if your product is Mia Kids with handle mia, name the file Mia - Coral.png, not Mia Kids - Coral.png).

3.3 Lens configurator#

  1. Create the lens product (Products → Add product), e.g. Prescription lenses: - Options become steps. Example: Lens type = Non-prescription / Single vision / Reading / Progressive, Thickness = Standard 1.5 / Thin 1.6 / Ultra-thin 1.67. - Each variant price is the price of the lenses (e.g. Progressive + Thin 1.6 = 159). - Don't track inventory. Add the tag no-lenses.
  2. (Optional) Create the extras product, e.g. Lens extras, one variant per add-on: Anti-reflective coating, Blue light filter, Photochromic, Hard coat — each with its price.
  3. Theme editor → product page → Lens configurator block: - pick the Lens product and Extras product, - Show for product types: e.g. Eyeglasses (empty = all products), - Let customers measure their PD with the camera (see 3.4).
  4. How it works for customers: Select lenses → lens type → prescription → thickness → extras → review → Add frame & lenses to cart. The cart gets the frame, the lenses (with the prescription as line item properties) and the extras. Removing the frame removes its lenses and extras.
  5. Prescription options: - Enter it now: SPH / CYL / AXIS for each eye, ADD for progressive, reading power for reading lenses, PD. AXIS is required when CYL is not 0. - Upload a photo: image or PDF, saved with the order (link in the order details). - Send it later: the customer emails it after ordering.
  6. Lens types named Non-prescription, Plano or Frame only skip the prescription step.
  7. Card descriptions (e.g. under Progressive) come from locales/*.json → products.lenses.values. Add a line for your own values: the key is the value name in lowercase with - instead of spaces.
  8. Tip: keep the lens products out of your collections, or hide them with the seo.hidden metafield.

3.4 PD meter (pupillary distance)#

  1. Lens configurator block → Let customers measure their PD with the camera (on by default).
  2. In the prescription step customers click Measure my PD with the camera, remove their glasses, look at the camera for 2 seconds and click Use this PD.
  3. How: the iris is ~11.7 mm wide for almost everyone, so it is used as a ruler. Accuracy is about ±1–2 mm; the value can always be edited, and a PD on the prescription should be preferred.

3.5 Prescription sunglasses (sun lenses)#

  1. Create a Sun lenses product, e.g. options Lens type (Non-prescription 0 / Single vision 49), Lens (Tinted 0 / Polarized +30 / Mirrored +40), Tint (Grey / Brown / Green).
  2. Lens configurator block → Sun lens product (+ optional Sun extras product) and Sunglasses product types (default Sunglasses).
  3. Options named Tint or Color show color swatches in the configurator.
  4. Any product can use its own lens product: product metafield custom.lens_product (type Product reference).

3.6 Contact lenses#

  1. Create the product with a type that contains Contact (e.g. Contact lenses). Use variants for the pack size (e.g. Pack: 30 lenses / 90 lenses).
  2. Product page → Contact lens prescription block (included by default). Settings: base curve values (e.g. 8.4, 8.6, 8.8), diameters (14.0, 14.2), Ask for CYL and AXIS (toric lenses), Max boxes per eye.
  3. On contact lens products the block replaces the buy buttons: power (PWR), BC, DIA (+ CYL / AXIS) and number of boxes for each eye, Same prescription for both eyes. Each eye becomes a cart line.
  4. Subscriptions: install Shopify Subscriptions (or another subscription app) and add a plan to the product — the options (e.g. "Deliver every 3 months −10%") appear automatically.

3.7 Frame finder quiz#

  1. Theme editor → Add section → Frame finder quiz (home page or a page with the page.frame-finder template).
  2. Settings: Frames to recommend (a collection, empty = all), product types for eyeglasses and sunglasses, number of results.
  3. Questions: what for (eyeglasses / sunglasses / both), face shape, favorite shape, face width, colors.
  4. Matching uses shape: and fit: tags and the Color option (see section 4). Frames without tags still appear, just lower in the list.

3.8 Fit, frame shape & filters#

  1. Tag frames with fit:narrow, fit:medium or fit:wide and shape:round, shape:rectangle, shape:square, shape:cat-eye, shape:aviator, shape:browline, shape:oval… (or use the metafields custom.fit / custom.frame_shape).
  2. Product page → Frame fit block shows a Narrow — Medium — Wide scale and the shape icon.
  3. Filters: install Shopify's free Search & Discovery app → Filters → Add filter → Tag. The theme splits tags written as group:value into their own filter groups — Frame shape, Fit, Color, Material… (any group: works; its title comes from collections.filters.groups in the locale file, otherwise the group name). Other tags stay hidden unless List tags without a group is on in the Product grid section.
  4. Other filters (availability, price, product type, vendor, metafields) work as usual.

3.9 Home try-on#

  1. Create a free product, e.g. Home try-on kit (price 0, tag no-lenses).
  2. Theme settings → Home try-on: turn it on, pick the kit product, set Frames per box (default 5).
  3. Product page → Home try-on block (included by default): Try at home for free adds the selected color to the box.
  4. A floating Home try-on box (bottom left) lists the frames; Order free home try-on adds the kit to the cart with the chosen frames in the line item property Frames.
  5. Explain the program with the How it works section (template page.home-try-on).

3.10 Stores & eye exams#

  1. Create a page (e.g. Stores) with the template page.stores, or add the Stores & eye exams section to any page.
  2. Add a Store block per location: name, address (used for the map and Directions), opening hours, phone, image, and optionally a Booking link to an external booking tool.
  3. Show appointment request form: requests (name, email, phone, store, date, time, reason) arrive at your store email like the contact form. The form says it is a request — confirm by email.
  4. Maps are Google Maps embeds — no API key needed.

3.11 Cart drawer & free shipping bar#

  1. Theme settings → Cart → After adding to cart: Open cart drawer (default), Show a notification or Go to the cart page.
  2. Free shipping from: a whole amount in your store currency (e.g. 75). The bar shows "You're €20 away from free shipping" and turns green when reached. With several currencies it is converted automatically. Match it with your real shipping rates.
  3. The cart icon opens the drawer; quantities and removals update instantly.

3.12 Quick add#

Theme settings → Product cards → Show quick add. Products with one variant are added directly; others open a small window with swatches and sizes.

3.13 Sticky add to cart#

Product page → Buy buttons block → Show sticky add to cart bar. It appears once the main button scrolls out of view and follows variant changes.

3.14 Badges & stock status#

  • Sale — automatic when the compare-at price is higher.
  • New — products added in the last N days (Theme settings → Product cards → Badges), or tag new.
  • Bestseller — tag bestseller.
  • Custom — tag badge:Your text (e.g. badge:Limited edition).
  • Stock status block (product page): In stock, Only 3 left (threshold setting), Sold out, Ships when back in stock. Uses Shopify inventory tracking.

3.15 Wishlist, compare & recently viewed#

  1. Create two pages: Wishlist (template page.wishlist) and Compare (template page.compare).
  2. Theme settings → Wishlist & compare: enable them and pick the two pages.
  3. The heart and compare icons appear on every product card; the header shows a heart with the count; a compare bar appears at the bottom with the selected frames (max 2–4, setting).
  4. The compare page shows price, rating, type, shape, fit, colors, sizes and frame measurements.
  5. Recently viewed section (on the product template by default) shows the last viewed frames.

3.16 Reviews#

  1. Install any review app that fills Shopify's standard rating metafields (Judge.me, Okendo, Yotpo, Loox, Stamped…). Stars then appear on product cards (Theme settings → Product cards → Show product rating) and in the Product rating block.
  2. Add the app's review widget as an app block on the product page (give it the ID reviews so the stars scroll to it).
  3. Customer reviews section: hand-picked reviews with a customer photo, stars, verified badge and the reviewed product.

3.17 Frame measurements#

Variant picker → Show frame measurements next to sizes (on by default) shows the measurements of the selected size next to the size buttons — lens, bridge, temple and lens height, with small drawings — and the size code in the label, e.g. Size: 52 mm (52-21-142). Products without a size option show Size: One size. Values for each size, first match wins:

  1. variant metafields custom.lens_width, custom.bridge_width, custom.temple_length, custom.lens_height;
  2. the same product metafields;
  3. the numbers in the size name: 52-21-142, 52□21-142 or 52 mm;
  4. the fallback values in the Frame measurements block.

Variant picker → Colors: Frame photos with names (default) shows each color as a photo of the frame in that color (the variant's image) with its name, in a row with arrows; Color swatches shows round swatches instead.

The diagram block:

Create product metafields (Settings → Custom data → Products) of type Integer or Decimal: custom.lens_width, custom.bridge_width, custom.temple_length, custom.frame_width (mm). The Frame measurements block shows a diagram with the filled values; the compare page uses them too.

3.18 Other sections#

Hero (separate mobile image), Collection list (Image fit: Show whole image for product photos), Featured collection, Face shape guide, Lens features, Image with text, Rich text, Newsletter, Product recommendations, Apps, Contact form, Blog, Mega menu with frame-shape icons (a menu column titled Shape shows icons next to shape names).

3.19 Your own fonts (custom font upload)#

The theme uses the Shopify font library by default (free, hosted and licensed by Shopify). To use your brand's own font instead:

  1. Get the font as .woff2 (best) or .woff. If you only have .ttf / .otf, convert it with a webfont generator — and make sure your license allows web use.
  2. Go to Content → Files → Upload files and upload it, e.g. BrandSerif-Regular.woff2.
  3. Online Store → Themes → Customize → Theme settings → Typography → Your own fonts: - Heading font file: type the exact file name (BrandSerif-Regular.woff2) and pick its weight; - Body font file: the regular body font; Body bold font file (optional) for bold text and buttons.
  4. Save. Headings / body switch to your font; the font chosen in the library above stays as the fallback while the file loads (font-display: swap) and if the file is missing.

Leave the fields empty to go back to the library fonts. Upload only the weights you use — every file is an extra download.

3.20 Search by model number (SKU)#

Nothing to set up. The header search (live suggestions) and the search page also look in variant SKUs, variant titles, brand (vendor), product type and tags, so customers can type a model number like NB01-48 or a color name. Give every variant a SKU in the product editor (or with a CSV import). In the Header section you can set Popular searches (comma-separated) and the Popular products collection shown when the search opens.

3.21 Color schemes, section colors & layout#

Theme settings → Colors → Color schemes: each style ships with four schemes — 1 page (the whole store), 2 alternate (a softer band), 3 inverse (dark on light styles, light on Cinematic) and 4 accent (the brand color). Edit them or add more; every scheme has background, cards & panels, text, secondary text, buttons, text on buttons and borders. Hover colors and soft tints are recalculated, so any scheme stays readable.

Every section (plus header, footer and announcement bar) has a Color scheme picker. Most sections also have a Section style group:

  • Background / Text / Buttons and accents — optional custom colors that override the scheme.
  • Top / Bottom spacing (Theme default, None, Small … Extra large) and Spacing on phones (same as computers, compact, none).
  • Content width — theme default, narrow or the full page width.
  • Heading and text alignment — theme default, left or center (sections with their own alignment setting keep it).
  • Hide on phones / Hide on computers — e.g. a short mobile banner and a wide desktop one.

3.22 Before / after slider#

  1. Prepare two photos of the same scene, same size and framing (e.g. a lake through a standard tinted lens and through a polarized lens).
  2. Add the section Before / after (home page or any page) and pick both images.
  3. Set the labels (Standard / Polarized), the starting position and the shape (16:9, 3:2, square).

Customers drag the handle, click anywhere on the picture or use the arrow keys.

3.23 Countdown#

  • Section Countdown: a banner with heading, text, timer and button. Set Ends on as YYYY-MM-DD HH:MM in your store's time zone (e.g. 2026-12-31 23:59). After the end it shows Text after the end, or hides itself if that is empty.
  • Product page block Countdown: the same timer under the price. Fill Only on products tagged (e.g. sale) to show it only on those products.

3.24 B2B: volume pricing & quick order#

Works with Shopify B2B (companies + catalogs) and Markets price rules — no app needed.

  1. In a B2B catalog set quantity price breaks (e.g. 10+ at €39, 50+ at €35) and quantity rules (minimum, maximum, increment).
  2. Product page: add the block Volume pricing (B2B). Logged-in B2B customers see a price table and the rules ("Minimum 10 · In steps of 5"); the quantity field follows the rules. Retail customers see nothing — the block hides itself when there is no data.
  3. Wholesale order page: create a page, add the section Quick order list and pick a collection. Buyers type quantities for every frame / color, filter by name or SKU and click Add all to cart — one request for the whole order.

Footer → Legal (EU / Romania):

  • Company details: company name, registration number, VAT ID, address (required in many EU countries, e.g. Romania, or the German Impressum).
  • ANPC SAL (Romania, required for online stores selling to Romanian consumers): turn it on; the theme has a built-in badge linking to https://anpc.ro/ce-este-sal/. You can upload the official pictogram (250 × 50 px) from anpc.ro instead.
  • SOL / ODR (EU): the EU Online Dispute Resolution platform closed on 20 July 2025, so the link is no longer required by EU law. Keep it off unless your local authority still asks for the pictogram — check ANPC's current guidance.

This is not legal advice: always confirm the current requirements for your country.

3.26 Languages#

The theme ships with English, Romanian, German, French, Italian and Spanish for both the storefront (locales/*.json) and the theme editor (locales/*.schema.json).

  1. Settings → Languages → Add language, then publish it.
  2. Theme texts (buttons, cart, lens configurator, quiz…) switch automatically.
  3. Your own content (products, section headings you typed) is translated with the free Translate & Adapt app.
  4. To change a theme text: Online Store → Themes → … → Edit default theme content.

3.27 In-store pickup#

  1. Settings → Shipping and delivery → Local pickup: turn it on for each store location and set the pickup time (e.g. "Usually ready in 2 hours").
  2. Product page: the block Pickup availability (already in the default template) shows the closest store; Check availability at other stores opens every location with address and phone. It updates when the customer picks another color.

3.28 Image zoom#

Product page → Product information section → Image zoom: Open full screen (tap the image or the magnifier button; tap again to zoom 2.4×, move to pan, swipe / arrows for the next photo), Magnify on hover + full screen (desktop magnifier), or None.

3.29 Breadcrumbs & back to top#

Theme settings → Layout → Navigation: Show breadcrumbs (Home / Collection / Product, also on blog, article, page and search pages, with BreadcrumbList data for Google) and Show back-to-top button. The product breadcrumb includes the collection when the customer came from one.

3.30 Slideshow#

Add the section Slideshow, then one block per slide: image (2000 × 1100 px) and optional portrait mobile image, eyebrow, heading, text, two buttons, text position and light / dark text. Settings: height, overlay, autoplay + speed, arrows. Visitors can pause it; autoplay is off for reduced motion. Put it first on the page to make the first slide's heading the page's main heading.

3.31 Promo popup#

Footer → Promo popup is added but hidden: click the eye icon to show it. Choose Newsletter sign-up (subscribers get the tags newsletter, popup; the discount code appears after signing up), Discount code (with a Copy button) or Button. When to show: after a delay, halfway down the page, or when the mouse leaves the page (desktop; phones use the delay). It doesn't come back for Show again after days. Create the discount code in Discounts first.

3.32 Mega menu promos#

Header section → Add block → Menu promo. In Menu item type the exact title of the top menu link (e.g. Eyewear); the promo (image, eyebrow, heading, link) appears as an extra column in that mega menu. Add up to 6 promos, for different menus or several in one.

3.33 FAQ page#

  1. Online Store → Pages → Add page "FAQ", template page.faq (pre-filled with eyewear questions).
  2. Edit the questions in the theme editor: Category heading blocks group them, Question blocks hold the answers. Google gets FAQ data automatically (keep it to one FAQ section per page).

3.34 Trust badges & press#

  • Section Trust badges: up to 6 icon + title + text items (row or cards). Upload your own icon (e.g. a payment or certification logo) to replace the built-in one.
  • Product block Trust badges: 4 short promises under the buy buttons.
  • Section Press: publication logos (transparent PNG / SVG, shown in grey); with quotes, the quotes rotate and customers can pick a logo.

3.35 Complementary products#

In the Search & Discovery app → Product recommendations → pick a product → Complementary products (e.g. case, cleaning kit, lens cloth). The product block Complementary products shows them as "Pairs well with" with a one-tap add button. Hidden when a product has none.

3.36 Pre-order & back-in-stock#

  • Pre-order (Buy buttons block, on by default): when a variant is at 0 with Continue selling when out of stock ticked — or the product has the tag pre-order — the button reads Pre-order, your pre-order message is shown, and the line gets the property Pre-order: Yes (visible in the order). For deposits / later charging use the Shopify pre-order app: its purchase options show in the same block.
  • Back in stock (Buy buttons block → Show "Notify me when it's back"): sold-out variants show an email form. Requests arrive at your store email (Settings → Notifications sender) with the product, color and SKU; the customer is saved with the tag back-in-stock. Back-in-stock apps still work too.

3.37 Gift wrapping & gift message#

  1. Create a product Gift wrapping (price 0 or e.g. €4.90, no shipping weight, keep it out of your collections) and pick it in Theme settings → Cart → Gift wrapping product.
  2. A Add gift wrapping checkbox appears in the cart drawer and on the cart page; ticking it adds the product, unticking removes it. With Let customers add a gift message the message is saved on the order as the attribute Gift message.
  3. Show order note in the cart drawer adds the order note field to the drawer too.

3.38 Account menu & Sign in with Shop#

Header section → Customer account: Show account menu turns the account icon into a dropdown (signed in: orders, addresses, wishlist, log out; signed out: sign in / create account). Show "Sign in with Shop" adds the one-tap Shop button (needs Shop Pay and customer accounts on).

3.39 Load more & infinite scroll#

Collection page → Product grid → Pagination: Page numbers, "Load more" button (default) or Infinite scroll. Page links stay in the page for search engines.

3.40 Lookbook (shop the look)#

Add the section Lookbook, pick a photo, then add Hotspot blocks: choose a product and move it with the Horizontal / Vertical position sliders (you see it move in the editor). Customers tap the dots to see the product with Quick add; List the products next to the image adds a "Shop the look" list.

3.41 Size guide#

Product page block Size guide: opens a guide with the bank card method (3 steps with drawings: card on the middle of the nose → S / M / L by where the card ends against the eye corner), the numbers on the temple explained and a size table (narrow / medium / wide with frame, lens and bridge widths); with measurement metafields it adds "This frame: 52□18-140". Pick a page to show your own guide instead. The size picker shows What's my size? next to the size label when this block is on the page; untick Show a separate "Size guide" link to keep only that one. Size buttons show the total frame width of each size (variant metafield custom.frame_width), e.g. S 126 mm, and the measurement strip starts with the total width.

3.50 Delivery estimate#

Product page block Delivery estimate: Ships after (business days), Order cutoff time (orders after it start the next business day, with an optional "Order within 2 h 15 min to ship today"), delivery time from / up to (days), Extra days with prescription lenses (shown on frames with the lens configurator), Saturday shipping and Days off (holidays, YYYY-MM-DD). Dates use your store's time zone and the visitor's language, e.g. "Estimated dispatch: Monday 12.10".

3.51 Gender & age#

Product page block Gender & age under the title: "Women · Men" from tags gender:women, gender:men, gender:unisex, gender:kids, gender:girls, gender:boys (each links to the filter) or the metafield custom.gender, plus the age range from custom.age_range (e.g. 8-12 years) or a tag age:8-12.

3.52 Camera privacy notice#

Theme settings → Virtual try-on → Ask for consent before the try-on and PD meter (on by default): the first time a customer opens the try-on or the PD meter they see "We only detect generic points on your face — nothing more" (no facial recognition, the image never leaves the device) with a link to your privacy policy (or a page you pick) and I agree / I don't agree. It is asked every time the camera or the customer's own photo is used (model faces don't need it). Recommended for EU stores (GDPR).

3.42 Right-to-left languages#

Nothing to set up: add Arabic, Hebrew, Persian or Urdu in Settings → Languages and the whole store mirrors (menus, drawers, arrows, cards). Theme texts for those languages can be added in Edit default theme content.

3.44 Age verification#

Theme settings → Age verification: Enable, then choose Ask on Every page or Age-restricted products only (products tagged age-restricted, or collections with age-restricted in their handle), Verification Yes / No buttons or Date of birth, the Minimum age (13–25), logo, texts, the page visitors who answer "No" are sent to, and how many days the answer is remembered. The page behind is blurred and the window can't be closed with Escape. Tick Show in the theme editor to preview it.

3.45 Collection navigation#

  1. Content → Menus → Add menu "Collection navigation" and add your collections (pick them from the Collections list, not as web addresses, so the theme gets their image and product count).
  2. Collection page → Product grid → Collection navigation → Menu: pick the menu. Style: Pills or Round images (collection images); Show product counts adds the number of products.

The current collection is highlighted. On phones the links scroll sideways. Alternative: give a collection the metafield custom.subcollections (list of collections) to show its own sub-collections.

3.46 Combined listings & sibling colors#

Two ways to sell each color of a frame as its own product (own photos, SKU, reviews and URL) but show them as one with color swatches:

  • Shopify Plus — combined listings (Combined Listings app): nothing to set up. In the variant picker, choosing a color that belongs to another product loads that product in place (no page reload, URL updated); the swatches on product cards link to the right product.
  • Any plan — sibling products: Settings → Custom data → Products → add the metafield custom.siblings (Product, list). On each frame, pick its other colors. Optional custom.color_name (single line text, e.g. Navy) sets the swatch color; otherwise the Color option value or the part of the title after " - " is used. Add the product page block Sibling colors; product cards show the sibling swatches automatically.

3.47 Custom contact form#

The Contact form section is built from blocks. Each Form field has a type (Name, Email, Phone, Message, Short text, Long text, Number, Date, Dropdown, Checkbox), a label, an optional placeholder, Required field and Width (half or full). Dropdown options go one per line. Add Paragraph blocks for text between fields. Every field arrives in the store email with its label; Form name tells forms apart (e.g. "Wholesale enquiry"). An email field is added automatically if you remove it, because Shopify needs it. Shopify's contact form can't receive files — customers upload prescriptions in the lens configurator.

3.48 Promo tiles#

Section Promo tiles: up to 8 tiles in a mosaic. Each tile: Tile size (small, wide, tall, large), image or background color, overlay, badge (e.g. -20%), eyebrow, heading, text, link and link label, content position and light / dark text. Section settings: columns (2–4), tile height and spacing. On phones wide and large tiles take the full width.

3.49 Quick view#

With Theme settings → Product cards → Show quick add on, the card button opens a quick view: photo gallery with thumbnails (the photo follows the selected color), options, price, add to cart, the start of the description and View full details. When the frame has a try-on image, Try on virtually opens the product page with the try-on already started for the chosen color.

3.53 Glasses, Urban and Cinematic styles#

Three more presets (Theme settings → Change theme style), each with its own colors, fonts and buttons:

  • Glasses — warm paper and olive, Times New Roman headings with DM Sans, soft corners.
  • Urban — white and electric blue, bold DM Sans, uppercase buttons, sharp corners.
  • Cinematic — black with yellow accents, serif headings, pill buttons.

Their home pages are in listings/<style>/templates/index.json and as page templates page.home-glasses, page.home-urban, page.home-cinematic (preview one with any page and ?view=home-glasses). Their photos are in Content → Files as editorial-*.jpg.

Theme settings → Typography → Display headings chooses the font of the big banner and editorial headings: Body font, bold (Urban) or Heading font (Glasses, Cinematic).

3.54 Editorial sections#

  • Text ribbon — big scrolling phrases (one block each) with an arrow, glasses or sun icon between them. Speed, size and dividers are adjustable; the pause button and reduced-motion support are built in.
  • Scroll statement — a large centered or left-aligned statement whose words light up one by one as the visitor scrolls (needs Theme settings → Animations on). Optional text and link.
  • Editorial details — a photo next to numbered points (01, 02, 03… one block each), with intro and link; the photo can sit left or right.
  • Look carousel — lifestyle photos that scroll sideways with arrows. Each look links to a product (title and price shown under the photo) or to any link; without a photo the product photo is used.

The comparison slider is the Before / after section (any two photos, your own labels); the two big category cards are Promo tiles with 2 columns (they stack on phones).

3.55 Custom Liquid, app blocks and general content sections#

  • Custom Liquid — a section (Add section → Custom Liquid), a product page block and a footer block. Paste app snippets, embeds or your own Liquid / HTML; it renders exactly where you put it.
  • App blocks — most content sections (banner, collections, text, image with text, FAQ, before / after, editorial sections, newsletter, product recommendations…) accept Add block → Apps, so reviews, Instagram feeds or upsell widgets can sit inside your own sections. Sections whose blocks form a fixed layout (slideshow, press logos, trust badges, scroll video) keep using the separate Apps section.
  • Video — upload a video or paste a YouTube / Vimeo link. YouTube and Vimeo only load when the visitor presses play (faster pages, no third-party cookies before that); add a cover image. Uploaded videos can autoplay muted in a loop, with a pause button. Ratio 16:9, 21:9, 4:3, 1:1 or 9:16, contained or full width.
  • Multicolumn — 1–5 columns, each with an image or an icon, heading, text and link; plain or card style, image shape (original, square, portrait, landscape, circle), and on phones: one under another, two per row or swipe sideways. Optional button under the columns.
  • Featured product — sell one product anywhere: gallery with thumbnails, colors and sizes, quantity, add to cart (opens the cart drawer), short description and a link to the full page.
  • Blog posts — the latest articles of a blog, 2–9 posts in 2–4 columns, with image, date, author and excerpt on or off.

3.56 Custom section & theme blocks (build any layout)#

Add section → Custom section (or one of its ready-made versions: Image with text, Columns, Call to action, Banner) is built only from theme blocks, which you can add, reorder, hide and nest freely:

Block What it does
Group A container: vertical or horizontal, alignment, spacing, width (fill, fit, custom %), its own color scheme, background image with overlay, inner spacing, make the whole group a link. Put groups inside groups for columns and cards; horizontal groups stack on phones. Ready-made: Two columns, Card.
Heading Rich text heading: size (extra large → small caps label), HTML tag (H1–H4 or paragraph, for SEO), alignment, secondary color.
Text Rich text with size, alignment, color and maximum line length.
Button Primary, secondary or text link; new tab; full width on phones.
Image Shape (original, square, portrait, landscape, 16:9, circle), width, rounded corners, link.
Icon Any theme icon, optional text, size, round background.
Spacer / Divider Space (separate heights for computers and phones) or a line.
Video YouTube / Vimeo (loads on play) or an uploaded video, with cover.
Product / Collection A product card (with quick add) or a collection card.
Accordion Questions and answers (open by default optional).
Email signup Newsletter form. Custom Liquid — your own code.

The section itself is a group too (layout, alignment, spacing), with a minimum height, background image (+ separate phone image, overlay, light or dark text) and all the Section style settings. App blocks can go into the section and into groups.


3.57 Page background image & see-through panels#

Show a photo or pattern behind the whole store (the Cinematic style uses gold leaves on dark teal), with the header, menu, cards and panels turning to frosted glass on top of it.

Add or change the background

  1. Online Store → Themes → Customize → Theme settings (gear icon) → Colors → Page background.
  2. Background image — pick or upload the image. Use a large, calm image (at least 2000 px wide, JPG or WebP under ~500 KB): patterns, textures or soft photos work best behind text. Remove the image to go back to the plain background color.
  3. Keep the image still while scrolling — on: the page scrolls over a fixed image (works on phones too). Off: the image scrolls with the page.
  4. Darken the image (0–90 %) — mixes the background color of your first color scheme over the image so text stays readable. Raise it if text is hard to read, lower it to show more of the image.
  5. Save.

What turns see-through when a background image is set

Element How see-through Where to change it
Header and the open menu Glass darkness % Header → Background: Glass, then Glass darkness (lower = more see-through)
Footer Background opacity % Footer → Background opacity
Product cards (collections, home, search, recommendations) 20 % automatic
Collection filters sidebar 20 % automatic
Product page: gallery card / details card 20 % / 40 % automatic
FAQ questions 50 % automatic
Store cards, booking form, cart summary, pop-ups (try-on, lens configurator, quick add) about 35–40 % automatic
Sections with the Surface background (e.g. newsletter) 35 % the section's Background setting

All panels keep a soft blur, so the background is visible but text stays readable.

Tips

  • The background image is used on every page. For a single page with a different look, use a section with its own background image (e.g. Image banner, Custom section) instead.
  • Light backgrounds: use a light first color scheme (dark text). Dark backgrounds: a dark scheme (light text) — the theme switches the overlay and contrast automatically.
  • Product photos on white keep their own card color (Theme settings → Colors → Product image background), so frames stay easy to see on any background.

4. Product data conventions#

What How Used by
Color Option named Color / Colour / Frame Swatches, try-on files, quiz, compare
Size Option named Size / Width Compare
Frame shape Tag shape:round (or metafield custom.frame_shape) Fit block, Shape filter, quiz, compare
Fit Tag fit:narrow / fit:medium / fit:wide (or custom.fit) Fit block, Fit filter, quiz, compare
Other filter groups Tag material:acetate, gender:women, rim:full… Filters
Badges Tags new, bestseller, badge:Text Product cards
Hide lens configurator Tag no-lenses Lens configurator
Try-on image Metafield custom.try_on_image (File) or Files try-on-…png Virtual try-on, quick view
Sibling colors Metafields custom.siblings (list of products), custom.color_name Sibling swatches (product page, cards)
Sub-collections Collection metafield custom.subcollections (list of collections) Collection navigation
Own lens product Metafield custom.lens_product (Product reference) Lens configurator
Measurements Metafields custom.lens_width, bridge_width, temple_length, frame_width, lens_height (product or variant) Size strip, measurements, compare
Rating Metafields reviews.rating, reviews.rating_count (filled by review apps) Stars
Product type Eyeglasses, Sunglasses, Contact lenses… Lens configurator, quiz, contact lens form

Tags can be added in bulk: Products → select → More actions → Add tags, or with a CSV import.


5. Theme settings reference#

Group Settings
Colors Color schemes (page, alternate, inverse, accent — editable, add your own), sale badge, product image background (+ blend white photo backgrounds), alternate section background, highlight (stars, bestseller badge)
Typography Heading and body fonts (default Playfair Display + Instrument Sans), sizes, your own font files (.woff2)
Layout Page width, corner radius, button radius, button text (normal / uppercase), breadcrumbs, back to top
Product cards Image ratio, second image on hover, brand, swatches (+ max), quick add, rating, New badge days, hide product types (lenses, services, contact lenses stay out of collections, search and recommendations but can still be added to the cart)
Color swatches Color list, swatch shape (circle / square)
Cart Drawer / notification / page, free shipping bar and amount, drawer order note, gift wrapping product + message
Wishlist & compare Enable, pages, max frames to compare, recently viewed
Home try-on Enable, kit product, frames per box
Age verification On/off, every page or tagged products, buttons or date of birth, minimum age, texts, redirect, days remembered
Animations Reveal on scroll (off for reduced-motion visitors)
Social media, Favicon Links and icon

Presets (theme styles)#

Preset For Look Home page
Glasses (default) Premium opticians, timeless brands Warm paper & olive, Times New Roman + DM Sans, soft corners Hero, text ribbon, two category tiles, frames, comparison slider, scroll statement, story, details, look carousel, FAQ
Urban Contemporary & city brands White & electric blue, bold DM Sans, uppercase buttons, sharp corners Same building blocks with bestsellers and street photography
Cinematic Sunglasses & lifestyle brands Black & yellow, serif headings, pill buttons Golden-hour hero, sunglasses, light text on photos

Presets live in config/settings_data.json; each preset's home page and header/footer groups are in listings/<preset>/templates/ and listings/<preset>/sections/ (Theme Store preset install). All colors meet WCAG AA.

Alternative home layouts#

Every store gets the home pages of all three styles, whichever style it was installed with:

  • Theme settings → Theme style switches colors, fonts, corners, buttons and card shapes at any time. Your home page content stays as it is.
  • The Glasses, Urban and Cinematic home pages ship as page templates home-glasses, home-urban and home-cinematic. Open them from the template picker at the top of the theme editor (Pages) to preview them, assign one to a page (Online Store → Pages → Theme template) for a landing page, or copy their sections into your home page.
  • To start over with another style's complete home page, header and footer, add the theme again from the Theme Store with that style selected (no extra charge).

Design system#

Everything visual derives from the theme settings, so a merchant can re-brand the store by changing a few colors and fonts:

  • Colors: 8 settings; hover, soft tints, strong borders and overlays are computed with color-mix() (--color-accent-hover, --color-accent-soft, --color-border-strong…). The default palette meets WCAG AA: body text 16.9:1, secondary text 4.9:1, buttons 11.5:1, sale price 5.1:1, field borders 3.7:1.
  • Typography: Playfair Display (headings) + Instrument Sans (body, 400/500/600/700 — clear digits for model numbers like NB01). Fluid heading sizes with clamp(), balanced heading wrapping. One type scale for everything else: --text-2xs 12 · --text-xs 13 · --text-sm 14 · --text-base 16 · --text-md 18 · --text-lg 20 · --text-xl 26 px — no raw font sizes in the CSS, nothing under 12px.
  • Product photos: studio photos on white sit on Product image background with mix-blend-mode: multiply, so the white disappears and frames look placed on the card (cards, gallery, color tiles, quick add, cart, search). Turn Blend white photo backgrounds off for lifestyle photography.
  • Banners: slideshow and hero darken only the side with the text (Overlay → Gradient behind the text), use the image focal point set in the editor, and show a white main button on photos.
  • Buttons: primary, --secondary (outline), --tertiary (quiet), sizes --small / --large, --full; hover, pressed, focus ring and a built-in loading spinner (aria-busy="true"). The product page keeps one primary action: with the lens configurator, Add to cart (frame only) and Buy it now become secondary. Buy it now uses the theme colors instead of Shopify's default blue.
  • Tokens (snippets/css-variables.liquid): 4px spacing scale (--space-1…9), radius scale (--radius-sm / -lg / -input / -pill), elevation (--shadow-sm / -md / -lg), motion (--ease, --duration-fast / / -slow), focus ring (--focus-ring). Corners always use the radius tokens, so a style with square corners (Cinematic) is square everywhere.
  • Accessibility: visible focus on every control, 44px touch targets, reduced-motion support, semantic dialogs, color is never the only signal (labels next to swatches and states).

6. Sections & blocks reference#

Product page blocks: Brand, Title, Product rating, Price, Variant picker (swatches), Stock status, Size guide, Pickup availability, Trust badges, Complementary products, Frame fit, Virtual try-on, Lens configurator, Contact lens prescription, Buy buttons (sticky bar), Home try-on, Countdown, Volume pricing (B2B), Description, Frame measurements, Collapsible tab, Share, App blocks.

Sections: Announcement bar, Header (mega menu), Hero, Collection list, Featured collection, Frame finder quiz, Lens features, Face shape guide, Customer reviews, Image with text, Rich text, Newsletter, How it works, Stores & eye exams, Scroll video, Before / after, Countdown, Quick order list, Slideshow, Promo popup, FAQ, Trust badges, Press, Lookbook, Recently viewed, Product recommendations, Apps, Contact form, Footer (legal block), Cart drawer, and the main sections for every page type. Most sections have the Section style settings (colors, spacing).

Templates: index, product, collection, list-collections, search, cart, page, page.contact, page.wishlist, page.compare, page.stores, page.frame-finder, page.home-try-on, page.faq, blog, article, 404, password, gift card, customer account pages.


7. For developers#

npm install -g @shopify/cli@latest
cd glasses
shopify theme dev --store your-dev-store.myshopify.com   # live preview
shopify theme check                                       # linter
Folder Contents
layout/ theme.liquid (settings for JS in window.themeSettings), password.liquid
sections/ All sections; cart-drawer and product-card-ajax are rendered via the Section Rendering API
snippets/ Product card, swatch style, price, rating, try-on, lens configurator, PD meter, contact lens form…
assets/ base.css, features.css, global.js, features.js (cart drawer, swatches, wishlist, compare, quick add, home try-on, sticky bar, stock), product.js, try-on.js, face-landmarker.js, pd-meter.js, lens-configurator.js, contact-lens.js, frame-quiz.js
locales/ Storefront text (en.default.json + ro, de, fr, it, es) and theme editor text (*.schema.json, keys t:s.*)
snippets/section-style.liquid Per-section colors / spacing (<style> scoped to #shopify-section-…)
assets/extras.js / extras.css Modals, image zoom, back to top, slideshow, promo popup, account menu, load more, hotspots, press, gift wrap
  • No framework or bundler: plain JS custom elements, loaded with defer (ES modules for face tracking).
  • variant:change event (document, detail: { variant, section }) is fired by the variant picker.
  • window.theme.afterAdd() handles drawer / notification / redirect after any add to cart.
  • Product cards for JS features come from /products/<handle>?section_id=product-card-ajax.
  • Lines added together by the lens configurator share the hidden property _lens_bundle.