Skip to main content

E-Commerce & Online Retail

Topper Eyewear — Online Eyewear Store with Prescription Lens Options

A Next.js online store for Topper Eyewear, selling optical frames and sunglasses with prescription lens options, Stripe checkout, SEO foundations and a full admin panel.

Client
Topper Eyewear
Industry
E-Commerce & Online Retail
Services
Web Development, Admin Dashboard Development, E-Commerce Development, Third-Party System Integration
Topper Eyewear homepage hero on desktop showing a model wearing tinted sunglasses beside a product close-up, with a Shop Now call to action

01Overview

About the project

Topper Eyewear is an online eyewear brand selling optical glasses and sunglasses, with free shipping across Australia. Its store needs to present a growing range of frames clearly, help shoppers choose the right size and lens type, and take payment online without friction.

Square Tech IT rebuilt the store as a single Next.js application with React, TypeScript, Tailwind CSS and a PostgreSQL database accessed through Prisma. The rebuild replaced an earlier Django-based platform while keeping its data model intact, so existing products, orders, content and admin accounts carried across without re-entry.

On the public side, shoppers can browse the full collection with keyword search and filters for category, gender, price, colour, availability and new arrivals. Each product page shows an image gallery, live stock status, frame measurements and a choice of prescription lens options priced on the page, with Buy Now and Add to Bag actions leading into a Stripe-powered checkout. A dedicated size guide explains lens width, bridge width and temple length so customers can buy with confidence.

Behind the scenes, the store team manages everything from a custom admin panel: products with galleries, lens option groups and rich text descriptions, product categories, orders and checkout sessions, blog posts, contact messages, newsletter subscribers and the homepage hero. Role-based permission groups control who can do what, and in-panel notifications flag new orders, enquiries and sign-ups.

The build also includes search engine foundations from day one: structured data on key pages, per-product SEO titles and descriptions, and XML sitemaps for pages, products and blog posts.

02Challenge

The challenge

Selling eyewear online asks more of a store than a standard product grid. Every frame comes in specific measurements, many styles are stocked in very small quantities, and optical frames need a clear way to add prescription lenses at a known price. Shoppers need to find a style quickly, understand whether it will fit, and see straight away whether it is available.

The store also needed to move off its earlier Django-based platform without losing the products, orders, content and admin accounts already in place. The team running the shop needed one place to manage stock, lens options, orders, enquiries and homepage content, with control over which staff could access each area.

03Solution

The solution

Square Tech IT rebuilt the store as one Next.js application backed by PostgreSQL through Prisma, mapping the new code directly onto the existing data model so migrated records lined up one to one and existing admin passwords kept working. The public storefront pairs a filterable, searchable shop with detailed product pages that show frame measurements, stock levels and selectable prescription lens options, and checkout sessions are validated against live stock before payment is taken through Stripe.

A custom admin panel covers the day-to-day running of the store, from product galleries and lens option groups to orders, checkout sessions, blog content, newsletter sign-ups and the homepage hero, with permission groups and in-panel notifications for the team. Uploaded images are automatically resized and converted to WebP, rich text content is sanitised before it reaches the page, and the site ships with structured data and XML sitemaps to support search visibility.

04Features

Key features & deliverables

  1. Filterable Shop: Keyword search plus filters for category, gender, price range, colour, availability and new arrivals across the full frame collection.
  2. Detailed Product Pages: Image gallery, live stock status and frame specs including material, lens width, bridge and temple length for every style.
  3. Prescription Lens Options: Selectable lens choices such as No Prescription, Single Vision and Multifocal, each priced clearly on the product page.
  4. Bag and Stripe Checkout: Shopping bag, Buy Now option and Stripe payment, with checkout sessions validated against available stock before payment.
  5. Frame Size Guide: A dedicated guide with a measurement diagram and fit tips explaining lens width, bridge width and temple length.
  6. Content and Engagement: About page, contact form, newsletter sign-up and a blog engine with categories, all managed from the admin panel.
  7. Custom Admin Panel: Manage products, galleries, lens options, categories, orders, checkout sessions, blog posts, enquiries, subscribers and the homepage hero.
  8. Roles and Notifications: Permission groups control staff access, and in-panel notifications flag new orders, contact messages and newsletter sign-ups.
  9. Platform Rebuild and Data Carry-Over: Replaced an earlier Django-based platform while keeping its data model, so existing records and admin logins carried across.
  10. SEO Foundations: Structured data for products, the shop and the business, per-product SEO fields, and XML sitemaps for pages, products and blog posts.
  11. Optimised Media: Uploaded product and content images are automatically resized and converted to WebP before they appear on the site.

05Outcome

Project Outcome

Topper Eyewear now runs on a single Next.js store that presents its optical frames and sunglasses with the detail eyewear buyers look for: measurements, stock levels, prescription lens options and a sizing guide, followed by a Stripe checkout that checks availability before payment.

The move from the earlier Django-based platform preserved the existing data, so the team kept working with the same products, orders and accounts. Day-to-day management now happens in one custom admin panel, from adding a new frame with its gallery and lens options to reviewing orders, answering enquiries and updating the homepage, with role-based access and notifications keeping the team informed.

With structured data, product-level SEO fields and XML sitemaps in place, and a blog engine ready for content, the store has the foundations to grow its range and its search presence.

Let's work together

Have a Similar Project in Mind?

Tell us what you're building and let's explore how we can bring it to life.