Skip to main content

Shop for Wagtail

Project description

Wagtail Shop
=====

Simple shop based on [django-oscar](https://github.com/django-oscar/django-oscar).

**NB: This is currently in beta**

Quick start
-----------

1. `pip install wagtail-shop`

2. Add `from oscar.defaults import *` to your settings.py file.

3. Import and append `get_core_apps()` to your INSTALLED_APPS, and add required packages like this:
```
from wagtail_shop import get_core_apps

INSTALLED_APPS = [
...
'django.contrib.sites',
'django.contrib.flatpages',
'wagtail.contrib.routable_page',
'wagtail.contrib.modeladmin',
'widget_tweaks',
] + get_core_apps()
```
4. Add `oscar.apps.basket.middleware.BasketMiddleware` to your MIDDLEWARE

5. Run migrations `./manage.py migrate`

6. Before you can add any products you must create at least one `Product Type` and add one `Partner` in the Wagtail admin interface.

What's next?
------------

You should now be able to follow the [django-oscar documentation](https://django-oscar.readthedocs.io) for further details.
There are a few exceptions:

1. Instead of using `./manage.py oscar_fork_app` when forking an app, use `./manage.py wagtail_shop_fork_app`.

2. If setting up with the default templates provided with django-oscar, the images won't work, and you would have to update the image tags in the template to use [Wagtails image tags](https://docs.wagtail.io/en/latest/topics/images.html)

Screenshots
-----------
![Product detail](/screenshots/product-list.png?raw=true "Product list")

![Product detail](/screenshots/product-detail.png?raw=true "Product detail")


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wagtail-shop-0.1.0b2.tar.gz (32.8 kB view details)

Uploaded Source

Built Distribution

wagtail_shop-0.1.0b2-py3-none-any.whl (54.2 kB view details)

Uploaded Python 3

File details

Details for the file wagtail-shop-0.1.0b2.tar.gz.

File metadata

  • Download URL: wagtail-shop-0.1.0b2.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for wagtail-shop-0.1.0b2.tar.gz
Algorithm Hash digest
SHA256 90733f1c30d701e89e29b6ca639862c43e84ae18663c8d2a54718a56580436f7
MD5 610347415e8b3883375e4679f8fde94f
BLAKE2b-256 b8438271c78475a58ff5bdd1645639c5de20e648184ffaef335cbcf3e6deef18

See more details on using hashes here.

File details

Details for the file wagtail_shop-0.1.0b2-py3-none-any.whl.

File metadata

  • Download URL: wagtail_shop-0.1.0b2-py3-none-any.whl
  • Upload date:
  • Size: 54.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1

File hashes

Hashes for wagtail_shop-0.1.0b2-py3-none-any.whl
Algorithm Hash digest
SHA256 55441000951b73550c86af0aa00b87e5f2e0a2a40c4a93a827f6fc21f6843b2b
MD5 4342e1586fcb8bdd0d32110d8f1642ef
BLAKE2b-256 0fa2176525a1ab27daa59cdafd8a2e867fd812fa49cbc2229dd3fd6eee77d44a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page