Skip to content
Configurable discounts for django-shop
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
discount fixed missing import Apr 23, 2014
docs Add changelog in docs Nov 29, 2012
example Fixed typo in template Jul 18, 2013
.gitignore Update .gitignore. Mar 27, 2012
CHANGELOG.rst Add CHANGELOG.rst Nov 29, 2012
CONTRIBUTORS.rst Update CONTRIBUTORS.rst Apr 24, 2014
README.rst
setup.py Revert deleted version number Mar 27, 2012

README.rst

django-shop-discounts

django-shop-discounts let's you say:

  • 5% percents discount for all products when code "Summer2011" is used
  • 10% percent discount if client buy 5 or more books in fiction
  • 35% percent discount on all fiction books during holidays
  • or whatever you want

This repository hosts django-shop-discounts application which aims to bring configurable and extendible discount app for Django-shop.

Current features:

  • multiple discount types
  • define date ranges when discount is valid
  • discount codes (that need to be entered by user for discount to be valid)
  • defining filters to allow selecting products to which discounts may apply (by product category, color, whatever)

The source code for django-shop-discounts can be found and contributed to on `github.com/bmihelac/django-shop-discounts`_. There you can also file tickets.

django-shop-discounts is currently considered alpha version.

Example application

To test django-shop-discounts application and get a feeling how it works:

  1. Make sure you have django-shop installed

  2. Change directory to django-shop-discounts/example

  3. Run:

    ./manage.py syncdb --all --noinput && ./manage.py migrate --fake && ./manage.py loaddata sample_data.json
    ./manage.py runserver
    
  4. Username and password for admin are: admin:password

You can’t perform that action at this time.