How kirilkirkov/ecommerce-codeigniter-bootstrap works
This repository is a CodeIgniter-based multilingual, multi-vendor shopping platform. The main customer journey is browsing products, managing a cart, and checking out; the platform also provides vendor and administrator workflows, content management, and a REST API. The graph preserves those documented capabilities, but many application internals were not sampled, so uncertain controller-to-model and payment links are shown as unverified rather than asserted. The framework runtime is included as the internal request-routing layer.
Main entry points: database.php Configured database · Checkout.php Checkout and payments · Orders.php Order administration · Products.php Products API
Components 19
Storefront
- Browse and search
application/controllers/Home.php - Product pages
application/controllers/Page.php - Catalog and content data
application/models/Public_model.php
Commerce and vendors
- Shopping cart page
application/controllers/ShoppingCartPage.php - Cart operations
application/libraries/ShoppingCart.php - Checkout and payments
application/controllers/Checkout.php - Vendor portal
application/controllers/Vendor.php
Administration and content
- Order administration
application/modules/admin/controllers/ecommerce/Orders.php - Product publishing
application/modules/admin/controllers/ecommerce/Publish.php - Pages and blog
application/modules/admin/controllers/textual_pages/TextualPages.php - Blog publishing
application/modules/admin/controllers/blog/BlogPublish.php
API and framework
- Configured database
application/config/database.php - Products API
application/controllers/Api/Products.php - REST controller layer
application/libraries/REST_Controller.php - Response formatting
application/libraries/Format.php - Framework routing
system/core/CodeIgniter.php - Application routes
application/config/routes.php
Other components
- Shopper
- HTTP request
Connections 23
- Shopper → Browse and search: browses
README.md - Shopper → Product pages: views products
- Shopper → Shopping cart page: opens cart
- Shopping cart page → Cart operations: uses cart
- Shopper → Checkout and payments: checks out
README.md - Browse and search → Catalog and content data: loads catalog
- Product pages → Catalog and content data: loads content
- Checkout and payments → Configured database: records orders
- Checkout and payments → Order administration: creates orders
- Order administration → Configured database: updates stock
- Order administration → Shopper: sends notification
- Vendor portal → Configured database: manages vendor data
- Product publishing → Configured database: manages products
- Pages and blog → Configured database: manages pages
- Blog publishing → Configured database: publishes posts
- HTTP request → Framework routing: enters
- Framework routing → Application routes: loads routes
system/core/CodeIgniter.php - Application routes → Shopping cart page: routes cart
application/config/routes.php - Application routes → Checkout and payments: routes payment
application/config/routes.php - HTTP request → Products API: calls API
- Products API → REST controller layer: uses REST layer
- REST controller layer → Response formatting: formats responses
application/libraries/REST_Controller.php - Products API → Catalog and content data: reads product data