A complete PHP/MySQL e-commerce website for Annyzbeauty
annyzbeauty/
โโโ index.php โ Homepage
โโโ products.php โ Product catalog with filters
โโโ product.php โ Single product detail
โโโ cart.php โ Shopping cart
โโโ checkout.php โ Checkout & order placement
โโโ orders.php โ Customer order history
โโโ profile.php โ Customer profile management
โโโ register.php โ Customer registration
โโโ login.php โ Customer login
โโโ logout.php โ Session logout
โโโ .htaccess โ Apache security config
โ
โโโ ajax/
โ โโโ cart_add.php โ AJAX: Add to cart
โ โโโ cart_update.php โ AJAX: Update cart quantity
โ
โโโ admin/
โ โโโ login.php โ Admin login
โ โโโ logout.php โ Admin logout
โ โโโ dashboard.php โ Admin dashboard + stats
โ โโโ products.php โ Product list & delete
โ โโโ product_add.php โ Add new product
โ โโโ product_edit.php โ Edit existing product
โ โโโ categories.php โ Category CRUD
โ โโโ orders.php โ Order management
โ โโโ customers.php โ Customer management
โ โโโ includes/
โ โโโ admin_header.php
โ โโโ admin_footer.php
โ
โโโ includes/
โ โโโ config.php โ DB config + utility functions
โ โโโ header.php โ Site header + navbar
โ โโโ footer.php โ Site footer
โ โโโ product_card.php โ Reusable product card
โ
โโโ assets/
โ โโโ css/
โ โ โโโ style.css โ Main stylesheet (pink/white/black)
โ โโโ js/
โ โ โโโ main.js โ Main JavaScript
โ โโโ images/
โ โโโ products/ โ Product image uploads go here
โ โโโ hero-beauty.jpg โ Hero background image
โ
โโโ database/
โโโ annyzbeauty.sql โ Complete MySQL schema + sample data
annyzbeauty.rf.gd) or connect a custom domainepiz_12345678_annyzbeauty)database/annyzbeauty.sql โ click GoOpen includes/config.php and update:
define('DB_HOST', 'sql200.infinityfree.com'); // check your VistaPanel for exact host
define('DB_USER', 'epiz_12345678'); // your DB username
define('DB_PASS', 'your_db_password');
define('DB_NAME', 'epiz_12345678_annyzbeauty');
define('SITE_URL', 'https://annyzbeauty.rf.gd'); // your InfinityFree domain
annyzbeauty/ contents to /htdocs/ on the server
/htdocs/ (not inside a subdirectory)After uploading, ensure /htdocs/assets/images/products/ exists and is writable.
In FileZilla: right-click the folder โ File Permissions โ set to 755.
https://your-domain.comhttps://your-domain.com/admin/login.php| Role | Password | |
|---|---|---|
| Admin | admin@annyzbeauty.com | Admin@1234 |
| Customer | jane@example.com | Admin@1234 |
โ ๏ธ Change all passwords immediately after first login!
| Name | Hex |
|---|---|
| Primary Pink | #E91E8C |
| Dark Pink | #C2176F |
| Soft Pink | #FFF0F7 |
| Black | #1A1A1A |
| White | #FFFFFF |
The site uses a manual payment confirmation system:
/admin/orders.php)+254 758 556 523 (Paybill/Till)masilavincent32@gmail.compassword_hash() with BCRYPT for all passwordshtmlspecialchars() on all output (XSS prevention).htaccess blocks direct access to /includes/ and /database/Upload your product images to:
/assets/images/products/
Image names should match the image column in the products table.
Supported formats: JPG, PNG, WebP, GIF (max 2MB each).
You can also upload images directly through the admin panel:
/admin/product_add.php or /admin/product_edit.php
SITE_NAME in includes/config.phpCURRENCY_SYMBOL in includes/config.phpSHIPPING_FEE in includes/config.phpFREE_SHIPPING_THRESHOLD+254758556523 in includes/footer.phpassets/css/style.css (:root block)Built for Annyzbeauty ยท Nairobi, Kenya
WhatsApp: +254 758 556 523
Email: hello@annyzbeauty.com