# PhantomBD — Project Management Walkthrough

Welcome to your new premium eCommerce platform. This guide explains how to manage your website and where the key components are located.

## 🚀 1. Administrative Controls (Admin Panel)

You can manage almost everything from the Admin Dashboard.

### Branding & Logos
- **Path:** `Site Setting > General Setting`
- **Actions:** Click **Edit** to change your Site Name, White Logo, Dark Logo, Favicon, and Meta tags.
- **Tip:** Use a transparent `.png` or `.webp` for logos for the best look.

### Contact Information
- **Path:** `Site Setting > Contact`
- **Actions:** Update your Phone, WhatsApp, Email, and Address. These will automatically update in the footer and contact page.

### Social Media
- **Path:** `Site Setting > Social Media`
- **Actions:** Add your Facebook, Instagram, and WhatsApp links here.

## 🛠️ 2. Key Developer Files

If you need to make code-level changes, here are the important files:

### Layouts & Styling
- **Frontend Main Layout:** `resources/views/frontEnd/layouts/master.blade.php` (Controls the header, footer, and global elements).
- **Backend Main Layout:** `resources/views/backEnd/layouts/master.blade.php`.
- **Premium CSS:** `public/frontEnd/css/premium.css` (Contains all the custom luxury purple styling).

### Logic & Controllers
- **Frontend Logic:** `app/Http/Controllers/Frontend/FrontendController.php` (Controls Home, Category, Product details).
- **Cart & Checkout:** `app/Http/Controllers/Frontend/ShoppingController.php` and `CustomerController.php`.
- **Admin Settings:** `app/Http/Controllers/Admin/GeneralSettingController.php`.

### Configuration
- **Database & App URL:** `.env` (Set your `APP_URL` and database credentials here).
- **Payment Gateways:** `config/shurjopay.php` and `app/Http/Controllers/Frontend/BkashController.php`.

## ⚡ 3. Performance & Caching
The website uses **aggressive caching** to load faster.
- **Cache TTL:** 10 minutes for categories and settings.
- **Clear Cache:** You can clear all cache by visiting your domain `/cc` (e.g., `yourdomain.com/cc`).

## 🛡️ 4. Security & Safety
- **SSL:** Ensure your hosting has an SSL certificate (HTTPS). The system is configured to verify SSL for all external API calls.
- **Database Safety:** All slug-based lookups use `firstOrFail()` to prevent crashes.

---
© 2026 AhsanHabib. Developed with Excellence.
