Overview

shoppingCart

shoppingCart is a open source cart developed using Python language to manage cart in E-Commerce applications.

Majour Feature(s):

  1. Product options support.
  2. Multi discount support.
  3. Multi tax support(specific to product as well as general taxes).
  4. Multi currency support.
  5. Tax Exclude and Include total.
  6. Shipping method and charge.

Important(s):

  • {'amount': 10.00, 'type': 'percentage'} OR
  • {'amount': 10.00, 'type': 'fixed'}
  • {1: {2: {'price': 10.00}}} OR
  • {'color': {'red': {'price': 10.00}}} OR
  • {option_object: {option_value_object:{'price': 10.00}}} OR
  • {option_object: option_value_object}
  • [2] OR
  • ['red'] OR
  • [option_value_object]
For Example:
class Product(object):
def __init__(self):
self.id = None

product = Product()

from shoppingCart import Cart cart = Cart() cart.add_item(product=product, price=10.00, quantity=1)