Templates / Duka — Online Shop with M-Pesa Checkout

E-commerce Dynamic demo · data resets every 24h

Duka — Online Shop with M-Pesa Checkout

A complete online shop — catalogue, search, cart, checkout with delivery zones, M-Pesa Paybill or pay-on-delivery, order tracking, and an admin for orders and products.

Duka — Online Shop with M-Pesa Checkout — live preview
Open full screen Download template

The demo runs sandboxed — it cannot touch the main site or its admin panel. Switch Computer / Laptop / Mobile to preview each viewport.

How to use this template

Duka — online shop template (PHP 8 + MySQL/MariaDB) by Core Mtaalam Technologies · https://mtaalamtech.com Features: catalogue with categories, search and sorting, product pages, cart, checkout with delivery zones, M-Pesa Paybill or pay on delivery, stock checked and reserved at checkout, order tracking page, admin for orders (status, cancel returns stock, WhatsApp the customer) and products (price, stock, images). Install 1. Upload the files to public_html (or a sub-folder). 2. Create a MySQL database and user in cPanel. 3. Edit config.php: database settings, shop name, WhatsApp number, Paybill, delivery zones and fees. 4. Set 'admin_pass' in config.php before going live — admin.php then asks for user "admin" + that password. 5. Open the site. Tables and sample products are created from dump.sql on the first visit. 6. Product photos: upload images (e.g. to images/) and put the path in each product's Image field. Note: the cart is kept in the page address (?cart=…) so it works without cookies. Automatic M-Pesa confirmation (Daraja STK push) is not included — orders are marked Paid by hand in the admin.

Like what you see? We build these to order — branded, connected to your business, deployed and supported.