Skip to content
This repository was archived by the owner on Feb 4, 2022. It is now read-only.

dinoperovic/django-shopit

Repository files navigation

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.

About

Fully featured shop application built on djangoSHOP framework.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages