Case Study
Project Case Study
Challenges, solutions, outcomes, technical highlights, architecture, and project scale.
⚡
Challenges
Managing simultaneous orders from different cities, implementing shipping cost calculation based on three vehicle types, calculating cargo capacity for each product, marketing system with commission, SMS authentication, and managing complex access levels (admin, marketer, user).
💡
Solutions
Using Django MVT architecture, three-tier shipping table, smart cargo capacity calculation based on product dimensions, integration with Ghasedak SMS service, using django-jalali for Persian dates, and query optimization with select_related and prefetch_related.
📚
Outcomes
Reduced order registration time to under 2 minutes, 80% increase in online sales compared to phone sales, support for 200+ simultaneous products, and 70% reduction in shipping cost calculation errors.
🔧
Technical Highlights
AJAX for refresh-free loading, smart cargo capacity system, responsive design with Bootstrap 4, marketing system with dedicated link, and automatic three-digit price formatting.
🏗️
Architecture
Django MVT architecture with two main apps: store_account (user management) and store_profile (product, order, and shipping management). Layers include: model layer (SQLite/MySQL), view layer (business logic), template layer (UI). Mobile and SMS-based authentication.
📐
Project Scale
Medium project with 30+ template files, 8 database models, 25+ views, and support for 3 user access levels (admin, marketer, regular user).