This project integrates the Wagtail CMS with Django Oscar for eCommerce. It adds the following features:
- each Oscar category page can now be managed by the Wagtail CMS
- it is possible to add product lists to wagtail pages
Presuming you have installed Django-Oscar and Wagtail into your Django project.
First install django-oscar-wagtail via PIP:
And add oscar_wagtail
to your settings as follows:
Add the URLs to urls.py
:
Fork the catalogue app as described in the oscar documentation. Then instead of using the AbstractCategory from Oscar use the one from this project as follows:
If you want to have a CMS button in the Oscar dashboard, add the following to your settings: