Online Store Case Study

BioTaj Cosmetic Project

Custom Next.js and Supabase e-commerce store for natural cosmetics

BioTaj needed more than a template shop: a brand-led store that tells the story of Moroccan beauty rituals and still makes buying fast for customers who pay on delivery. I built a custom Next.js storefront backed by Supabase, with a product catalog organized by need, product pages with reviews, a cart and wishlist, customer accounts, and an order flow tuned for the Moroccan market.

BioTaj Cosmetic e-commerce store homepage designed and developed by Abderrahim AEM
4product families: creams, cleansers, sun care, packs
300 DHfree-delivery threshold
4.7/5average rating shown on the store
01

The Challenge

BioTaj sells natural Moroccan cosmetics to customers who mostly shop from their phones and prefer to pay on delivery. A generic template store would not carry the brand story, and a closed platform would limit how products, media, and orders are managed.

02

The Solution

I built a custom storefront on Next.js with Supabase for products, media storage, and customer data. The store combines brand storytelling (rituals, “Notre histoire”, trust badges) with a fast buying path: category tiles, product cards with review counts, product pages, cart, wishlist, accounts, and a cash-on-delivery checkout.

03

The Outcome

BioTaj has a store it fully controls, with a clear offer (first-order -10% code, free delivery from 300 DH, cash on delivery), visible social proof on every product, and WhatsApp support one tap away.

Key Features

Product catalog

Creams, cleansers, sun care, and bundles such as the 4-step “Pack Routine Complète”, with prices in dirhams.

Cart, wishlist & accounts

Header access to account, favourites, and cart, with login for returning customers.

Cash-on-delivery checkout

An order flow built for the Moroccan market, with free delivery from 300 DH.

Reviews & trust

Review counts on product cards, a customer reviews section, and “100% natural, dermatologically tested, cruelty-free” badges.

Supabase back end

Products, images, and customer data stored in Supabase, so the brand owns its data.

Content & retention

Blog, FAQ, newsletter sign-up, Instagram gallery, and a WhatsApp button on every page.

Business Objectives

Sell creams, cleansers, sun care, and bundles online with a clear path from category to checkout.

Fit the Moroccan market with cash on delivery, free delivery from 300 DH, and WhatsApp support.

Build trust with verified reviews, dermatological and cruelty-free badges, and a brand story.

Give the team a store they control, with products and images managed in Supabase instead of a closed platform.

Development Process

Designed the catalog around four families (Crèmes, Nettoyants, Solaires, Packs) and the bundles that raise the average basket.

Built the storefront on Next.js with server rendering, and connected products, media storage, and customer data to Supabase.

Added the cart, wishlist, account, review, newsletter, and order flows, then tested the purchase journey on mobile first.

UX Considerations

Put the first-order code (-10%) and the free-delivery threshold in the promo bar so the offer is clear before browsing.

Showed rating counts directly on product cards so shoppers can compare popular products at a glance.

Kept account, wishlist, and cart icons in the header and a WhatsApp button on every page for questions before ordering.

Responsive Implementation

Hero slides, category tiles, product grids, product pages, and the cart are designed mobile first, because most cosmetics shoppers browse and order from their phones.

SEO Work

SEO work covers product and category pages with their own metadata, JSON-LD structured data, a blog for beauty-advice content, FAQ content, and descriptive product image text.

Optimization

The store uses Next.js rendering for fast first paint, optimized product media served from Supabase storage, and touch-friendly Swiper sliders loaded only where needed.

Accessibility

Product cards, prices, and rating information are readable text, buttons and icons carry labels, and the checkout and account forms use visible field labels.

Deliverables

Custom e-commerce store

Product catalog

Cart & wishlist

Customer accounts

Cash-on-delivery checkout

Blog & FAQ

Technologies & Implementation Notes

Next.jsReactTypeScriptSupabaseSwiperJSON-LDE-commerce UX

Technology notes are based on visible public implementation signals and the work reasonably required by the live experience. The public-facing work emphasizes responsive delivery, structured content, conversion paths, and maintainable implementation.

Need a website with stronger content, SEO, performance, and conversion paths?

Start a Project