Giter Site home page Giter Site logo

dinoperovic / django-shopit Goto Github PK

View Code? Open in Web Editor NEW
22.0 9.0 7.0 619 KB

Fully featured shop application built on djangoSHOP framework.

License: BSD 3-Clause "New" or "Revised" License

Makefile 0.06% Python 90.09% CSS 0.29% JavaScript 0.42% HTML 9.01% Shell 0.13%
shop webshop e-commerce store django django-shop django-cms

django-shopit's Introduction

Shopit

Travis branch Codecov PyPI PyPI - Python Version PyPI - Django Version PyPI - License

A fully featured shop application built on djangoSHOP framework.

This project aims to provide a quick & easy way to set up a fully featured shop without much hassle.


Features

Shopit comes with the most useful features that a classic shops needs, out of the box.

Here's what you can expect:

  • Easily manage Products and their variations with custom Attributes.
  • Attach images, videos & files on products.
  • Set Up-sell, Cross-sell and other customized Relations between products.
  • Create custom checkbox Flags for products and categorization.
  • Group products in Category, Brand and Manufacturer groups.
  • Create discounts and promotional codes with Modifiers.
  • Add custom Taxes for categories and products.
  • Enable customer Reviews on products.

Requirements

Installation

Install using pip:

pip install django-shopit

You should follow django-cms & django-shop installation guide first, and then add the following to your settings:

INSTALLED_APPS = [
    ...
    'adminsortable2',
    'mptt',
    'parler',
    'shopit',
]

SHOP_APP_LABEL = 'shopit'
SHOP_PRODUCT_SUMMARY_SERIALIZER = 'shopit.serializers.ProductSummarySerializer'
SHOP_CART_MODIFIERS = (
    'shop.modifiers.DefaultCartModifier',
    'shopit.modifiers.ShopitCartModifier',
    ...
)

Urls

There are two ways to configure the urls. First would be to add to your urls.py:

urlpatterns = [
    url(r'^shop/', include('shopit.urls')),
    ...
]

The second option is to use django-cms apphooks. Shopit comes with a couple of those for different application parts. ShopitApphook is the main one, and one that should always be attached to a page (if the urls are not already added). Then there are other optional apphooks for account, categorization & products. If you want to keep it simple, and not have to set every application part individually. You can add to your settings:

SHOPIT_SINGLE_APPHOOK = True

This will load all the neccesary urls under the ShopitApphook.

Documentation

Full documentation is availiable on ReadTheDocs.

django-shopit's People

Contributors

dinoperovic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

django-shopit's Issues

Unhashable value, when rendering products in example project

I got the error

Request Method: | GET
-- | --
http://localhost:8000/en/products/
1.11.14
TypeError
unhashable type: 'MoneyInEUR'
/home/mohi/djangoshop-shopit/shopit/templatetags/shopit_tags.py in get_price_steps, line 232
/home/mohi/.virtualenvs/shopit/bin/python
3.5.2
['/home/mohi/djangoshop-shopit',  '/home/mohi/djangoshop-shopit/example',  '/home/mohi/.virtualenvs/shopit/lib/python35.zip',  '/home/mohi/.virtualenvs/shopit/lib/python3.5',  '/home/mohi/.virtualenvs/shopit/lib/python3.5/plat-x86_64-linux-gnu',  '/home/mohi/.virtualenvs/shopit/lib/python3.5/lib-dynload',  '/usr/lib/python3.5',  '/usr/lib/python3.5/plat-x86_64-linux-gnu',  '/home/mohi/.virtualenvs/shopit/local/lib/python3.5/site-packages',  '/home/mohi/.virtualenvs/shopit/lib/python3.5/site-packages']
Thu, 5 Jul 2018 07:51:29 +0000

It results out of using set(...) on a not hashable object, in our case "Money".

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.