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.
