A modern e-commerce platform for buying and selling low-poly 3D assets, specifically designed for game developers and 3D artists.
- Browse Products: View and search through available 3D assets
- Shopping Cart: Add products to cart and checkout
- Multiple Payment Methods: Support for various payment options (QRIS, Bank Transfer, E-Wallet)
- Order Management: Track orders and download purchased assets
- Custom Requests: Request custom 3D models with ticket system
- Profile Management: Update profile information and profile picture
- Notifications: Real-time notifications for order updates
- Product Management: Add, edit, and soft-delete products
- Order Management: View and manage customer orders
- Payment Verification: Verify payment proofs from customers
- Custom Request Handling: Manage custom model requests with chat system
- User Management: View and manage customer accounts
- Ticket System: Handle customer support tickets with file attachments
- Backend: PHP 7.4+
- Database: MySQL/MariaDB
- Frontend: HTML5, CSS3, JavaScript (Vanilla)
- Design: Custom design system with flat UI
- File Upload: Support for images, archives, and 3D file formats
- PHP 7.4 or higher
- MySQL 5.7+ or MariaDB 10.2+
- Apache/Nginx web server
- mod_rewrite enabled (for Apache)
-
Clone the repository
git clone https://github.com/yourusername/lowpolycemetery.git cd lowpolycemetery -
Import the database
- Create a new MySQL database
- Import the SQL schema (if provided)
- Or let the application create tables automatically
-
Configure the application
- Copy
includes/config.php.exampletoincludes/config.php(if exists) - Update database credentials in
includes/config.php:define('DB_HOST', 'localhost'); define('DB_NAME', 'your_database_name'); define('DB_USER', 'your_username'); define('DB_PASS', 'your_password');
- Copy
-
Set up file permissions
chmod 755 uploads/ chmod 755 uploads/products/ chmod 755 uploads/payment_proofs/ chmod 755 uploads/profile_pictures/
-
Create admin account
- Access the application
- Register a new account
- Manually set
is_admin = 1in the database for that user
lowpolycemetery/
โโโ admin/ # Admin panel
โ โโโ ajax/ # Admin AJAX handlers
โ โโโ css/ # Admin styles
โ โโโ js/ # Admin scripts
โ โโโ *.php # Admin pages
โโโ ajax/ # Customer AJAX handlers
โโโ assets/ # Static assets
โ โโโ css/ # Stylesheets
โ โโโ images/ # Images and hero banners
โ โโโ icons/ # SVG icons
โ โโโ js/ # JavaScript files
โโโ includes/ # Core PHP files
โ โโโ config.php # Configuration
โ โโโ db.php # Database connection
โ โโโ functions.php # Helper functions
โ โโโ header.php # Header template
โ โโโ footer.php # Footer template
โโโ uploads/ # User uploaded files
โ โโโ products/ # Product files
โ โโโ payment_proofs/ # Payment proofs
โ โโโ profile_pictures/ # User avatars
โโโ *.php # Customer-facing pages
Products use soft delete mechanism - when admin deletes a product, it's marked as deleted but customers who purchased it can still download it.
- Customer uploads payment proof
- Admin reviews and verifies/rejects
- Upon verification, order status updates and product becomes downloadable
- Customer submits custom request with details and reference images
- Customer uploads payment proof (Rp 25,000)
- Admin verifies payment
- Chat unlocks for discussion
- Admin uploads result file
- Admin marks as completed
Real-time notifications for:
- Order status updates
- Payment verification
- Custom request updates
- Ticket messages
The application uses a custom flat design system with:
- Consistent color palette
- Reusable components
- Responsive layout
- SVG icons
- Custom modal dialogs
- Password hashing with
password_hash() - SQL injection prevention with prepared statements
- XSS protection with input sanitization
- CSRF protection (session-based)
- File upload validation
- Admin-only access control
users- User accounts (customers and admins)products- 3D asset productsorders- Customer ordersorder_items- Order line itemsrequests- Custom model requestsrequest_messages- Chat messages for requestsnotifications- User notifications
Access clean-database.php as admin to:
- Remove all customer data
- Clear orders and products
- Reset system to fresh state
- Keep admin account intact
This project is open source and available under the MIT License.
Developed with โค๏ธ for the 3D asset community
Contributions, issues, and feature requests are welcome!
For support, please use the ticket system within the application or open an issue on GitHub.
Note: This is a complete e-commerce system. Make sure to properly configure security settings before deploying to production.