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
5
votes
2 answers

Implementing Django-oscar COD

It has been 1 week now, and I cannot figure out the way to implement COD in django-oscar. I would be really thankful if someone can at least give me a head start to accomplish this task. I've tried to use few Github repositories, but either they are…
Shazia Nusrat
  • 174
  • 1
  • 10
  • 36
5
votes
1 answer

Manage multiple dealers in django oscar

I'm new django-oscar and my need to manage multiple seller that they can add their product and can view ie. they can have their own dashboard, I follow this url https://django-oscar.readthedocs.org/en/releases-0.6/howto/multi_dealer_setup.html and…
Mahendra Garg
  • 516
  • 1
  • 9
  • 27
5
votes
1 answer

Restrict Dashboard Users Django-Oscar (Sandbox Gateway App)

How can I restrict Dashboard users? I have installed the gateway app that ships with the sandbox site, but as far as I can tell, users are just approved automatically for dashboard access. Obviously this is a security concern. I have already blocked…
Tui Popenoe
  • 2,098
  • 2
  • 23
  • 44
5
votes
1 answer

MediaDefiningClass Object is not iterable ?

Trying to use Inlines to get customised view at Admin Dashboard. Below is the code from django.contrib import admin # noqa from oscar.core.loading import get_model from oscar.apps.catalogue.admin import * CategoryAttribute = get_model('catalogue',…
Coderaemon
  • 3,619
  • 6
  • 27
  • 50
5
votes
2 answers

Can't access price of a Product in Django-Oscar?

Trying to access the price of a product, Using Docs. But getting Attribute error. >>> from oscar.apps.partner import strategy, prices >>> from oscar.apps.catalogue.models import * >>> product = Product.objects.get(pk=1) >>> info =…
Coderaemon
  • 3,619
  • 6
  • 27
  • 50
5
votes
2 answers

Django-Oscar override templatetags

I tried to override category_tags by creating a local version of catalogue application with a local templatetags folder which has a category_tags.py file (also init.py). It seems the default category_tags file is used. If I change the name of my…
Traian
  • 2,915
  • 1
  • 24
  • 32
5
votes
4 answers

Django Oscar. How to add product?

I'm a beginner in Python and Django. I have installed django-oscar. Then I Configured it and started the server, it works. Now, I don't understand how to add a product? At the dashboard there is a button Create new product. But in order to add new…
Alex Nechaev
  • 181
  • 1
  • 2
  • 8
4
votes
1 answer

django throws "AppRegistryNotReady: Apps aren't loaded yet." when a view is imported

I get this error when I try to import a view into the apps.py module of a django app. I am using django 2.2.9, python 3.7.6, django-oscar 2.0.4. I have overridden the checkout app but this error prevents me from adding views or changing urls for all…
Aldon Palmer
  • 182
  • 2
  • 12
4
votes
1 answer

How to change sender email name in Django

I need to send an email from Django with 'Team Example' as a sender and by default, no-reply@example.com is used. I have tried this as mentioned in other StackOverflow questions DEFAULT_FROM_EMAIL = 'Team Example ' in…
Abishek
  • 369
  • 4
  • 21
4
votes
1 answer

How to set product attributes to basket line in Oscar

I'm new to Django-oscar and working on Basket now I can add products as lines to the basket easily but what if I want to choose a specific Product attribute to add to basket for example product A has attributes {'size': ['M', 'S'], 'color': ['red',…
Ashraf Emad
  • 183
  • 10
4
votes
2 answers

Django-Oscar Basket customization

I am using Djnago-oscar for Solar energy equipment based eCommerce site. I need to add an option to "Basket" model with "Battery Name", "Notes" and "Manufacturer". There is a reason I don't want to add it in subclass AbstractProduct. Rather I want…
Shazia Nusrat
  • 174
  • 1
  • 10
  • 36
4
votes
1 answer

How to perform stock updation process in Django Oscar

I was going through the code for the stock record model here, and above the num_allocated field it says in the comment, #: The amount of stock allocated to orders but not fed back to the master #: stock system. A typical stock update process will…
Sammy J
  • 1,048
  • 10
  • 28
4
votes
1 answer

Django signals not fired when saving from admin interface

I have configured some django signals on the pre_delete, post_save and pre_delete receivers for some models which are stored in a signals.py file in the same package as the models. Saving from an API call or directly in the terminal triggers the…
4
votes
2 answers

django-oscar and multitenancy

I am researching Django Oscar for the ecommerce part of our business. One of the required features is that we need to host multiple shops on one Oscar instance, i.e. every shop owner should manage his own products, his own partners etc. And should…
kurtgn
  • 8,140
  • 13
  • 55
  • 91
4
votes
1 answer

How to index just those models\rows, where some_field=some_value?

I use django-oscar + Solr + haystack. *===============================================================================================================* | id |…
TitanFighter
  • 4,582
  • 3
  • 45
  • 73
1
2
3
27 28