Commerce platform rebuild

Rebuilding Zyvlon into a multi-template commerce platform merchants can actually run.

The revamp turns Zyvlon from one storefront into a platform: every merchant picks a template, sells through a checkout the business controls, and runs products, orders, payments, marketing and support from one dashboard, with the original Zyvlon UI carried over so existing merchants are not re-trained.

A ground-up rebuild of Zyvlon's storefront and merchant dashboard: three switchable storefront templates, a real cart-to-checkout flow with cash on delivery and bank-transfer slips, and all 27 dashboard sections running on a multi-tenant PostgreSQL model.

Built by the CrysoLabs team

Clay & Kiln storefront on the POT.lk Editorial Studio template with a featured product rail

Category

Commerce Platform

Collaboration

CrysoLabs Team

Primary stack

Next.js 16, React 19, TypeScript

Business context

Zyvlon started as a single premium storefront. As merchants joined, each needed a different way to sell: a full cart and checkout for electronics, a buy-through-a-link showcase for handmade ceramics, a classic catalog for general retail. Forking the codebase per shop was not an option.

Client fit

Best fit for businesses launching several branded stores, agencies selling storefronts to their own clients, and retailers who need cash on delivery and bank transfers handled properly rather than bolted on.

What this proves

The build demonstrates the ecommerce capabilities a serious brand needs before it can sell confidently online.

Three storefront templates (Premium Commerce, POT.lk Editorial Studio, ComputorShop Hero Spotlight) served from one runtime
Cart drawer, /checkout and a private order-status page, with prices, stock and discount codes re-checked on the server
Cash on delivery and bank transfer, including customer slip upload and a merchant approval queue
A template chooser that explains what a merchant gains and loses before switching designs
One owner account running several stores within plan limits
All 27 dashboard sections working: catalog, orders, customers, analytics, marketing, team, billing, SEO and support

Commerce capabilities

Three templates, one runtime

Premium Commerce is the full catalog store, ComputorShop adds a 3D hero spotlight with cart and checkout, and POT.lk is an editorial showcase that sells through buy links or WhatsApp. Each store loads only its own template code.

Checkout built for local payments

Customers pay by cash on delivery or bank transfer. Transfer orders get a private page for uploading the payment slip, which lands in the merchant's bank-slip queue for approval.

Merchant dashboard at full depth

Pages from the original Zyvlon were ported onto the new data model, including drag-to-order categories, artist commissions, manual orders, review moderation, customer CSV export and store-currency analytics.

Growth controls per store

Percentage, fixed and free-shipping coupons, sale events, popups, a spin wheel, team invites with role changes, a live SEO health score and redirects for old URLs.

Technology

Tools and architecture choices used to build and ship this project.

Next.js 16
React 19
TypeScript
Prisma 7
PostgreSQL
Better Auth
Tailwind CSS
Turborepo

Architecture summary

Template kit and view models

Templates build against a shared kit of view models and cart primitives and never query the database, so adding a template is one package plus two registry lines.

Checkout logic in one core package

Repricing, stock locking, discount validation, shipping, tax, and order and payment records live in a single tested package that every template shares.

Tenant-scoped dashboard

Every dashboard query is scoped by organization and store, with Owner, Manager, Staff and Analyst roles, and the last owner of a store can never be removed.

Strategic thinking

Keep the UI merchants already know; rebuild the data layer underneath it.

Let each template decide how customers buy (cart, buy link or WhatsApp) instead of forcing one flow.

Treat bank transfers and cash on delivery as first-class payment paths, not workarounds.

Show merchants the trade-offs before a template switch, not after it.

Overview

A ground-up rebuild of Zyvlon's storefront and merchant dashboard: three switchable storefront templates, a real cart-to-checkout flow with cash on delivery and bank-transfer slips, and all 27 dashboard sections running on a multi-tenant PostgreSQL model.

Showcase gallery

Key ecommerce surfaces presented as business proof: storefront, product detail, catalog, and operational control.

Clay & Kiln storefront on the POT.lk Editorial Studio template with a featured product rail

POT.lk: a showcase that sells by link

An editorial, image-led template for makers. No cart: each product sends buyers to its own buy link or to WhatsApp.

Volt Computers storefront on the ComputorShop template with a 3D laptop hero

ComputorShop: hero spotlight with checkout

A dark, product-led template for electronics with a 3D spotlight, bestseller carousel, spec comparison and full cart and checkout.

Zyvlon cart drawer with a free-delivery meter and sticky checkout button

A cart drawer that opens itself

Compact line items with quantity controls, a free-delivery progress meter and one sticky checkout button. It fills the screen on phones.

Zyvlon checkout with contact, delivery and payment steps beside a live order summary

Checkout the server double-checks

Prices, stock and discount codes are re-validated when the order is placed. Customers then get a private page to track it.

Zyvlon dashboard template chooser comparing ComputorShop, POT.lk and Premium Commerce

Template chooser with honest trade-offs

Merchants compare templates by how customers buy, and see what they would gain or lose (such as cart and checkout) before switching.

Zyvlon dashboard bank-slip payments queue with approve actions

Bank-slip approvals

Transfer slips uploaded by customers arrive in one queue where staff view the evidence and approve the payment.

Related work

Need a storefront platform, not just a store?

CrysoLabs can build multi-template commerce with local payment flows, merchant dashboards and plan-based growth around the way your business sells.