πŸŽ™ Free live masterclass Β· Sun, 29 Nov, 7:00 pm IST Β· Java Full Stack roadmap Register free β†’
Skills101

E-commerce site with Django

A working online shop: catalogue, cart in the session, checkout, orders and an admin dashboard.

Advanced⏱ 24–32 hoursπŸͺœ 7 stepsDjangoPostgreSQLPayment test mode

What you'll learn

  • β—†Session-based cart
  • β—†Transactions and stock
  • β—†Payment gateway test mode and webhooks

What you'll build

  • βœ“Categories, product search and filters
  • βœ“Cart without login (session)
  • βœ“Checkout with address and test payment
  • βœ“Order emails and admin order management

Step-by-step guide

  1. 1

    Catalogue

    Product(name, slug, price, stock, image, category, available) with list/detail views and search by name.

  2. 2

    Cart

    Store {product_id: qty} in request.session; a Cart helper class to add, remove, total.

  3. 3

    Checkout

    OrderForm for name and address; create Order and OrderItems inside transaction.atomic(), reduce stock with select_for_update().

  4. 4

    Payment

    Use your gateway's test mode and test keys (Razorpay or Stripe); never mark an order paid from the browser alone; confirm via the server-side signature check or webhook.

  5. 5

    Emails

    Send an order confirmation with Django's send_mail (console backend while developing).

  6. 6

    Admin

    Order admin with inline items, filters by status and date, and an action to mark shipped.

  7. 7

    Deploy

    Static and media files, environment variables for keys, HTTPS.

πŸš€ Make it stand out

  • +Coupons
  • +Product reviews
  • +Invoice PDF