Questions tagged [django-oscar]

Oscar is an e-commerce framework for Django designed for building domain-driven applications. It is structured so that the core business objects can be customised to suit the domain at hand. In this way, your application can accurately model its domain, making feature development and maintenance much easier

Oscar is an e-commerce framework for Django designed for building domain-driven sites. It is structured such that any part of the core functionality can be customised to suit the needs of your project. This allows a wide range of e-commerce requirements to be handled, from large-scale B2C sites to complex B2B sites rich in domain-specific business logic.

416 questions
3
votes
2 answers

How can I use django-haystack search facets with custom attributes?

I have a Django-oscar shop and I successfully installed Solr 4.7.2 as search engine. It works great with the predefined attributes, e.g. upc, title, product_class... But filtering for additional attributes did not work. Thats my…
alexrogo
  • 522
  • 3
  • 17
3
votes
3 answers

Django Oscar change URL pattern

I have setup a django-oscar project and I'm trying to configure the URLs. My goal is to change /catalogue to /catalog. As per the documentation I've added app.py in myproject/app.py myproject/app.py from django.conf.urls import url, include from…
Abishek
  • 369
  • 4
  • 21
3
votes
1 answer

Dynamic ordering of django-treebeard materialized path nodes

I have a project based on django-oscar (and django-cms), which runs on multiple domains with different SITE_IDs using the django.contrib.sites module. The project is already productive and i can't change the category slugs anymore - Also switching…
wiesion
  • 2,349
  • 12
  • 21
3
votes
1 answer

Django-Oscar sends users alternately to 'payment-details' and 'preview' or 'thank-you' page

I'm trying to truncate Django-Oscar's checkout flow. Assuming we start in basket/cart, the default flow looks like this: User clicks on "Proceed to checkout" button PaymentMethodView is called 'payment-details' page loads User clicks on…
nusantara
  • 1,109
  • 1
  • 15
  • 38
3
votes
1 answer

How to add few payment methods to django-oscar

I already add cash_on_delivery payment method to my project. But i want to add one more method. How i can do it. At this moment i have code of checkout views like this: class PaymentDetailsView(PaymentDetailsView): template_name =…
Artem Goh
  • 31
  • 1
  • 3
3
votes
1 answer

Django templates {% regroup %} : handle the case when grouper value is None

Currently working on a e-commerce project (with django-oscar), I have an issue regarding products display on the basket template. I use the {% regroup %} tag because I have several types of products : standalone, parent or children. Each basket line…
gamabounta
  • 70
  • 8
3
votes
0 answers

Django Jet dashboard not showing correctly after upgrade

I have a site running on Django, and I'm trying to install Oscar on it to add an e-commerce app onto it. I'm using Jet as the admin dashboard, and due to a problem with app naming conflicts (both Oscar and Jet have an app named "dashboard", which…
Ash Earia
  • 31
  • 3
3
votes
1 answer

django-oscar categories and products translations

I want to use django-oscar for building an web shop and this shop will provide two main languages. Oscar's translations do very well with regular fields like View chart or Add to chart, but does not support custom elements e.g. Categories or…
3
votes
0 answers

Cannot create form field for 'country' yet, because its related model 'address.Country' has not been loaded yet (when upgrading Django 1.8 to 1.9)

I'm developing a subscription site which includes a 'signup' app. I'm also using a django-oscar shop for one-off purchases and using its UserAddress classes across the whole site. However, as my address and username/email forms are on the same page…
birophilo
  • 912
  • 10
  • 20
3
votes
1 answer

Register users using django oscar API

I'm using Django oscar to build an eCommerce site. I have exposed every modules as an API using Oscar API. But I cant find an API for registering users by default in Oscar API.
3
votes
1 answer

Set OSCAR_MISSING_IMAGE_URL with django-storages S3 Boto

How do I set the django-oscar setting OSCAR_MISSING_IMAGE_URL when using S3BotoStorage as my backend? I am also using django compressor. I have created a media folder in my S3 bucket, and manually uploaded the image to the bucket subdirectory. My…
Tui Popenoe
  • 2,098
  • 2
  • 23
  • 44
3
votes
1 answer

Conflicting 'order' models in application 'order'

I have a problem with overwitten model from Django oscar. I want add a new field to model but when i do it i have RuntimeError: Conflicting 'order' models in application 'order': and . Thats my code myapp.oscar_apps.order.models.py from…
Przemysław Zamorski
  • 741
  • 2
  • 14
  • 31
3
votes
2 answers

Django no module named setting

I am trying to host a basic Django-Oscar app on a subdomain on an Amazon EC2 instance. It is working file on the local server but on hosting it is giving the following error as per Apache error log mod_wsgi (pid=13645): Target WSGI script…
ofnowhere
  • 1,114
  • 2
  • 16
  • 40
3
votes
1 answer

Django and django oscar

Location of django: /usr/lib/python2.7/dist-packages/django/__init__.pyc Location of django oscar: /usr/local/lib/python2.7/dist-packages/oscar/__init__.pyc My static files are not getting served properly. Above is my production setting. On my…
toothie
  • 1,019
  • 4
  • 20
  • 47
3
votes
3 answers

Type geometry does not exist after CREATE EXTENSION postgis

After creating new postgres db and loading necessary postgis extension $ createdb demodb $ psql demodb > CREATE EXTENSION postgis; > CREATE EXTENSION postgis_topology; I get django.db.utils.ProgrammingError: type "geometry" does not exist…
Kristaps Taube
  • 2,363
  • 1
  • 17
  • 17