# Introducing: django-oscar-wagtail

**Author:** Pim Vernooij  
**Date:** 2018-02-01T12:09:00.533Z  
**Tags:** django, open-source, ecommerce, software-development

Introducing: django-oscar-wagtail -- One module we have created some time ago, django-oscar-wagtail , deserves some attention. The module is an integration app...

# Introducing: django-oscar-wagtail

--

One module we have created some time ago, [django-oscar-wagtail](https://github.com/LabD/django-oscar-wagtail), deserves some attention. The module is an integration app that allows [Oscar Commerce](http://oscarcommerce.com/) developers to add a mature CMS system to their applications, and [Wagtail CMS](https://wagtail.io/) developers to add a powerful e-commerce engine to their platforms.

We have been using [Oscar Commerce](https://github.com/django-oscar/django-oscar) and [Wagtail CMS](https://github.com/torchbox/wagtail) for several years. Usually for different types of projects; Oscar for complex e-commerce cases and Wagtail for content-heavy sites.

Whenever an e-commerce site required CMS pages, we either used Oscar’s built-in CMS features, or built some custom models to facilitate simple CMS features. This was a solution to some extent, but we felt we were not delivering the CMS features that we would like to, plus we were creating stuff that already exists in Wagtail.

## Enter Oscar vs. Wagtail

Therefore, after some experience with Wagtail for non-ecommerce sites, we started investigating wether it was possible to combine these two powerful Django projects and leverage both of them for a single application.

It turns out this was pretty straightforward to achieve, because both projects use [django-treebeard](https://github.com/django-treebeard/django-treebeard) for building either the catalogue tree, or the page tree. So what we basically did was exchange Oscars built-in catalogue-tree, with the Wagtail page-tree!

In short, this made it possible to manage any Oscar category as a Wagtail page, and add Oscar products to any Wagtail page as well, via a neat product selector.

# Getting started

Please have a look at the [README in the git repository](https://github.com/LabD/django-oscar-wagtail)! And PR’s welcome of course!