Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

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.

    1. Tax dictionary should be like this :
        * {'amount': 10.00, 'type': 'percentage'} OR
        * {'amount': 10.00, 'type': 'fixed'}
    2. Option dictionary or list of Option Value should be like this :
        2.1 To pass dictionary in attribute `options` of `add_item` method of `Cart` object should be like this :
            * {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.2 To pass list in attribute `option_values` of `add_item`, `update_item` and `remove_item` methods of `Cart` object should be like this :
            * [2] OR
            * ['red'] OR
            * [option_value_object]
    3. if cart item is object then it should have `id` field(Unique KeyField) like this:
    For Example:
            class Product(object):
                def __init__(self):
           = None
            product = Product()
            from shoppingCart import Cart
            cart = Cart()
            cart.add_item(product=product, price=10.00, quantity=1)
    1. Currancy Conversation:
    Used to know currancy value.
    For Example:

Recent activity

Dharmesh Patel

Commits by Dharmesh Patel were pushed to dharmeshpatel/shoppingCart

94581ec - H:o Enter codd product's option and calculation based on it. - replaced paramater `options` with `option_values` in update_item, remove_item and find_item methods of `Cart` object ...
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.