Mahdiyar Watch — A custom e-commerce platform
A full storefront and admin panel built from scratch: dual payment gateways (ZarinPal and TorobPay buy-now-pay-later), a discount-code engine with Jalali-calendar validity windows, guest checkout, back-in-stock reservations, and a sales reporting dashboard.
About this project
Mahdiyar Watch is a specialist online watch store, built from the ground up for this one business — no off-the-shelf e-commerce template or plugins.
The challenge
Watches are expensive and their buyers are careful. They don't want a long sign-up form standing between them and a purchase, many prefer to pay in instalments, and the popular models sell out fast. Wherever a store falls short in one of those moments, the customer leaves. Discount codes had to be exact as well: never used beyond their limits, and never wasted on a cart that was abandoned.
The solution
- Checkout without registering — customers simply buy; an account is created for them at checkout.
- Two ways to pay — the ZarinPal gateway and TorobPay instalments. If a payment is left unfinished, the customer can come back to the same order later and complete it.
- Reservations for sold-out items — instead of a dead end, customers request the item and the owner follows up from the panel.
- A complete discount system — percentage or fixed-amount codes with a maximum discount, a minimum order value, overall and per-customer usage limits, and a validity window set on the Persian calendar. A code's quota is only used up when a payment succeeds.
- Accurate stock — stock is only reduced after a successful payment, and nothing is deducted twice even if the gateway confirms the same payment twice.
- A Persian admin panel — products and image galleries, categories, brands, colours, orders, payments, customers, reservations and discount codes in one place, with daily, weekly and monthly sales reports, and control over which products appear as “Best Sellers” and “Special Offers” on the homepage.
The result
A store that doesn't lose customers at the critical moments of a purchase: shoppers buy without registering and even in instalments, a sold-out item becomes a reservation instead of a lost sale, and an unfinished payment can be picked up again. The owner runs everything — stock, discounts and sales reports — from a single panel, with no technical knowledge needed.
Built with Laravel 12, Livewire 3 and MySQL, with 111 automated tests covering orders, payments and discounts.
Other projects
Other
100 Questions — A Party Quiz Tournament
A general-knowledge quiz tournament for parties: an automatic bracket with a chess-style clock, a TV display, the game on every player’s phone — and it keeps running even without internet.
A whole tournament run from one laptop, even offline
View project
Personal
Friday Imam of Takestan — News Portal
A custom-built news and content platform for the office of the Friday Imam of Takestan, Iran. It publishes Friday sermons, news, official statements and answers to religious questions from the public. Built from scratch — no off-the-shelf theme — with a fully Persian, right-to-left admin panel that
A searchable sermon archive, run entirely without a developer
View project
Service
CafeCode — A Coworking Cafe Website That Actually Books Tables
A website for a coworking cafe built for developers. Visitors can pick their exact table on a live floor plan, choose a time slot, and get a booking code — all without the page ever feeling slow. The whole homepage loads in 62 KB.
A 62 KB page, ready in 0.28 s, that books real tables
View project