Skip to content
Loading
All projects

Shombhob: Storefront & Admin Panel

A working rebuild of shombhob.com, a Bangladeshi health and beauty shop: a storefront customers can order from end to end, and an admin panel the shop team runs it with.

Storefront (opens in new tab)Admin panel (opens in new tab)Original site (opens in new tab)

Type
Personal project · unofficial redesign
Role
Design, front end and back end
Apps
Storefront · admin panel
Front end
Next.js · React · TypeScript · Tailwind CSS · shadcn/ui · Radix UI · Motion · Zustand · Zod
Back end
Next.js route handlers · REST API (/api/v1) · Better Auth · Vercel
products
600+
departments
11
districts at checkout
64
admin modules
17
shombhob.vercel.app
Hero of the Shombhob storefront: “Pure Care. Beautiful Skin.” headline and a skincare call to action beside a styled shot of serums, creams and face washes.Open Shombhob (opens in new tab)
Try itlive demo

Context

Shombhob sells feminine care, beauty, baby and health products across Bangladesh, with same-day delivery in Dhaka and cash on delivery as the default way to pay. I rebuilt it on my own time as an unofficial redesign. It isn't affiliated with the shop, and orders placed on it aren't delivered.

It started as a storefront facelift and grew into the whole business: the catalogue, bag and checkout customers use, and the admin panel that runs the catalogue, merchandising, delivery rules, orders and support behind it.

What I built

Two Next.js apps on one REST API. The storefront covers browsing, search, product pages, the bag, a five-step checkout and a customer account with order history. The admin panel covers the catalogue, homepage merchandising, coupons and gift offers, delivery zones and time slots, and the operations queue: orders, prescriptions, form submissions and live chat.

Most of what the storefront shows is set in the admin. Homepage rails come from collections, the hero carousel from banners, checkout's districts, charges and slots from the delivery settings, and the free-gift progress in the bag from the running promotion.

Live chat

Customers can talk to the shop without leaving the page. A chat button sits on every storefront page and opens a conversation for questions about products, orders or prescriptions, with each message time-stamped and the shop's replies signed as Shombhob.

The widget asks the API only for messages newer than the last one it has, and tells it when they've been read. On the admin side, conversations land in a chat inbox split into open and closed, and the dashboard counts new messages and chats waiting for a reply, so the team sees who's waiting as soon as they sign in.

Accounts & access

Sign-in runs on Better Auth with the session in a Secure, HttpOnly cookie. Customers register, sign in and reset their password on the storefront. Staff sign in to the admin, where each role is granted modules one by one. A Viewer can open what their role allows but every control is read-only, with a banner saying so. Staff and roles stay with the Super admin.

Details that matter

Prices show the saving against MRP everywhere, from the product card to the invoice. Time slots stop taking same-day orders once their window starts. Delivery outside the same-day district asks for an advance payment. Public forms carry a hidden honeypot field to catch spam bots. The dashboard's sales chart can switch to a plain table.

What's covered

Storefront

What a customer can do on shombhob.vercel.app. · 7 areas · 30 features

Browse

  • 11 departments with subcategories, brand pages, a brand index and an offers page
  • Filters with live counts for stock, on sale, price band and brand, plus sorting and pagination
  • Homepage hero carousel, department tabs, featured and offer rails
  • Dismissible announcement bar for running offers

Search

  • Instant suggestions for products and brands as you type, with keyboard navigation
  • Full results page with the same filters as the catalogue

Product page

  • Pack-size variants, each with its own price
  • Sale price against MRP, with the saving in taka and percent
  • Stock status, image gallery, highlights and product details
  • Delivery, payment and returns at a glance
  • “You may also like” and “More from this brand” carousels, share and save to wishlist

Bag & checkout

  • Bag with quantities, move to wishlist, coupon codes and cross-sells
  • Progress toward the free gift (“Add ৳300 more for a free purse mirror”)
  • Five steps: contact, delivery address, date and time slot, gift options, payment
  • Saved addresses, or district (all 64) and area for a new one
  • Next seven days of delivery slots, with a same-day charge
  • Send as a gift, and keep the product list off the invoice
  • Cash on delivery; online payment is listed but off in the demo, since it needs a paid gateway

My account

  • Register, sign in and reset password
  • Overview with order count, in-progress orders and default address
  • Order history and order detail: status, cancellation reason, coupon, MRP saving, slot and payment
  • Repeat an order, download the invoice, rate the order
  • Address book, profile, wishlist and uploaded prescriptions with their status

Live chat

  • Chat with the shop from a button on every page
  • Ask about products, orders or prescriptions
  • Time-stamped messages, with replies signed by the shop
  • Only new messages are fetched, and read state is sent back

Service

  • Upload a prescription (photo or PDF, up to 4 MB); the team calls back to confirm
  • Business (B2B) sign-up, careers with CV upload, customer survey and contact form
  • How to order, FAQ, terms, privacy and a refund policy in English and Bangla

Admin panel

What the shop team can do on shombhob-admin.vercel.app. · 5 areas · 19 features

Dashboard

  • Queue of what needs a person: orders to confirm, confirmed but not sent, due today, prescriptions to review, new messages, chats waiting
  • Sales, orders, average order and cancellations over 7, 30 or 90 days, compared with the period before
  • Sales-per-day chart, best sellers and products running low

Catalogue

  • Products: search by name, slug, search words or id; filter by status, department, brand and stock; bulk select; create and edit
  • Categories: departments and subcategories, drag to reorder, show or hide in the menu
  • Brands: the order of the brand wall, drag to reorder
  • Collections: hand-picked product lists that feed the homepage rails and department tabs
  • Banners: hero slides and promo tiles, drag to reorder, show or hide
  • Inventory: edit units on hand inline, lowest stock first

Commerce

  • Coupons: percentage off with a cap, dates and usage count
  • Promotions: gift with purchase above a spend, on Dhaka dates
  • Delivery: districts and their areas and charges, time slots with same-day cut-offs, the same-day charge and district
  • Settings: shop details, contacts, social and app links, the low-stock threshold

Live chat

  • Chat inbox with open and closed conversations
  • New-message and waiting-for-reply counts on the dashboard
  • Reply to customers as the shop

Operations

  • Orders by day, newest first, with a detail view per order
  • Customers, prescriptions to review and form submissions from every public form
  • Staff and roles: permissions per module, read-only Viewer, Super admin