Skip to main content

Shop System

Full e-commerce functionality with product management, cart, and PayPal checkout.

Features

  • Product catalog with categories
  • Sale prices and featured products
  • Image galleries per product
  • Shopping cart (persistent)
  • PayPal checkout integration
  • Order tracking with status updates
  • Secure file delivery for digital products
  • Coupon system

Admin URLs

Adding Products

1

Create Category

Go to /admin/shop-categories and add product categories.
2

Add Product

Go to /admin/productsAdd Product
3

Basic Info

  • Name: Product name
  • Price: Regular price
  • Category: Select category
  • Tags: Add searchable tags
4

Sale Settings

  • Toggle On Sale
  • Enter Discounted Price
5

Images

  • Upload main product image
  • Add gallery images (shown as thumbnails)
6

Description

Use rich text editor for:
  • Description: Main product details
  • Additional Info: Specs, sizing, etc.
7

Save

Toggle Featured for homepage display, then save.

Order Management

Order Statuses

Managing Orders

  1. Go to /admin/orders
  2. Click on an order to view details
  3. Update status from dropdown
  4. Add notes for each step (visible to customer)
  5. Upload delivery files for digital products

Secure File Delivery

For digital products:
  1. Upload files to the order
  2. Customer receives secure, time-limited download links
  3. Links expire after 15 minutes
  4. Only the order owner can download

Customer Experience

Shopping Flow

  1. Browse products on /shop
  2. Click product to view details
  3. Add to cart
  4. View cart and adjust quantities
  5. Proceed to checkout
  6. Pay with PayPal
  7. View order status on dashboard

Customer Dashboard

Customers can view their orders at /dashboard:
  • Order history
  • Status tracking with visual stepper
  • Download links for digital products
  • Admin notes for each step

PayPal Integration

Setup

Add to your .env:
Get your Client ID from PayPal Developer Dashboard.

Test Mode

Use PayPal Sandbox for testing:
  1. Create sandbox accounts in PayPal Developer
  2. Use sandbox Client ID
  3. Test purchases with sandbox buyer account

Database Schema

products Collection

orders Collection

Coupon System

Create discount coupons at /admin/coupons: