Django oscar and djangocms

I am interested in combining django-cms for content management and django oscar for e-commerce.

Can someone give me some direction, preferably someone who has already successfully combined the two:

[A] If the structure is the base site of oscar, with oscar templates modified to insert the necessary placeholders to allow cms, etc.,

OR

[B] If the structure is the django-cms base site, oscar is processed by plugins, etc.

It seems to me that this should be [A], but please correct me if I am wrong.

Any other suggestions would be appreciated since there are few on the Internet, and I wrote to the author of the Oscar without an answer. I know the IT link, which does not affect the implementation, comparing only compatibility.

+9
source share
2 answers

This combination is what I was looking for some time and actually had a working prototype. Not knowing that your full use case was at a loss with advice.

What I need is very similar to you, a site where editable CMS pages in the same subdomain (for example, www.myshop.uk/shop www.myshop.uk/cms-pages) can be accessed as pages provided by oscar. I wanted the homepage to be managed by CMS and a separate site area for e-commerce pages.

If your requirements match mine, the best way to achieve integration is with an application using Jango CMS, which means that CMS is the management package: http://docs.django-cms.org/en/release-3.3.x/how_to/ apphooks.html

I used the following documentation, the code did not work on later versions of Oscar and CMS, but was a good guide for what should be possible, and a push in the right direction: https://pypi.python.org/pypi/djangocms-oscar/ 0.1

I will do it again very soon, since I have a new site where the CMS and E-commerce sites are separate and need to be merged under the same subdomain.

Is this still a problem for you?

I am considering contacting the author about updating the previous djangocms-oscar project or creating a new one with document support for others.

+2
source

I worked on a very similar configuration that you set here. Pure mix of django-cms with django-oscar .

Here is what I did and it works great.

First set up a new project with cookiecutter-django-cms

Then install django-oscar inside it. Set up your store.

As long as I know, it works great.

+1
source

All Articles