Skip to content

๐ŸŽฎ Modern e-commerce platform for buying and selling low-poly 3D assets. Built with PHP & MySQL. Features: product marketplace, custom requests, payment verification, ticket system, and admin dashboard.

License

Notifications You must be signed in to change notification settings

ahwine/lowpolycemetery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

1 Commit
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Low Poly Cemetery - 3D Asset Marketplace

A modern e-commerce platform for buying and selling low-poly 3D assets, specifically designed for game developers and 3D artists.

๐ŸŽฎ Features

For Customers

  • 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

For Admins

  • 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

๐Ÿ› ๏ธ Technology Stack

  • 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

๐Ÿ“‹ Requirements

  • PHP 7.4 or higher
  • MySQL 5.7+ or MariaDB 10.2+
  • Apache/Nginx web server
  • mod_rewrite enabled (for Apache)

๐Ÿš€ Installation

  1. Clone the repository

    git clone https://github.com/yourusername/lowpolycemetery.git
    cd lowpolycemetery
  2. Import the database

    • Create a new MySQL database
    • Import the SQL schema (if provided)
    • Or let the application create tables automatically
  3. Configure the application

    • Copy includes/config.php.example to includes/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');
  4. Set up file permissions

    chmod 755 uploads/
    chmod 755 uploads/products/
    chmod 755 uploads/payment_proofs/
    chmod 755 uploads/profile_pictures/
  5. Create admin account

    • Access the application
    • Register a new account
    • Manually set is_admin = 1 in the database for that user

๐Ÿ“ Project Structure

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

๐Ÿ”‘ Key Features Explained

Soft Delete System

Products use soft delete mechanism - when admin deletes a product, it's marked as deleted but customers who purchased it can still download it.

Payment Verification Flow

  1. Customer uploads payment proof
  2. Admin reviews and verifies/rejects
  3. Upon verification, order status updates and product becomes downloadable

Custom Request System

  1. Customer submits custom request with details and reference images
  2. Customer uploads payment proof (Rp 25,000)
  3. Admin verifies payment
  4. Chat unlocks for discussion
  5. Admin uploads result file
  6. Admin marks as completed

Notification System

Real-time notifications for:

  • Order status updates
  • Payment verification
  • Custom request updates
  • Ticket messages

๐ŸŽจ Design System

The application uses a custom flat design system with:

  • Consistent color palette
  • Reusable components
  • Responsive layout
  • SVG icons
  • Custom modal dialogs

๐Ÿ”’ Security Features

  • 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

๐Ÿ“ Database Tables

  • users - User accounts (customers and admins)
  • products - 3D asset products
  • orders - Customer orders
  • order_items - Order line items
  • requests - Custom model requests
  • request_messages - Chat messages for requests
  • notifications - User notifications

๐Ÿ› ๏ธ Maintenance

Clean Database

Access clean-database.php as admin to:

  • Remove all customer data
  • Clear orders and products
  • Reset system to fresh state
  • Keep admin account intact

๐Ÿ“„ License

This project is open source and available under the MIT License.

๐Ÿ‘จโ€๐Ÿ’ป Author

Developed with โค๏ธ for the 3D asset community

๐Ÿค Contributing

Contributions, issues, and feature requests are welcome!

๐Ÿ“ž Support

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.

About

๐ŸŽฎ Modern e-commerce platform for buying and selling low-poly 3D assets. Built with PHP & MySQL. Features: product marketplace, custom requests, payment verification, ticket system, and admin dashboard.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published