PyConDE 2018: eCommerce with Django Oscar by Alexander Gaevsky


Can be developed with Django Oscar:
- Single django app
- SPA

3 month to develop app from scratch with React

Basket formsets. Forms customisation

Oscar-based architecture

API supports

  • basket management
  • checkout
  • login
  • shipping management
  • filtering
  • invoices by django-oscar-invoices
  • etc

Note: With Django Oscar you can create a simple project easily!

Multi-vendor marketplace

Need to implement sub-baskets.
Main steps:

  1. Alter models to support nested sub-baskets.
  2. Alter parent basket to add add_product method.
  3. Alter order creator.

For payment integration is better to use Stripe.

Custom payment gateway:

  • facade
  • gateway