Git Product home page Git Product logo

django-shop-discounts's Introduction

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

django-shop-discounts's People

Contributors

bbirand avatar bmihelac avatar sasoriolkof avatar yakky avatar

Watchers

 avatar

Forkers

damien-dd

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.