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
0
votes
1 answer

ImportError: No module named 'oscar'

1.first: Install Oscar and its dependencies within a virtualenv: git clone https://github.com/django-oscar/django-oscar.git cd django-oscar ll virtualenv oscar . ./oscar/bin/activate sandbox/manage.py runserver python -m pip install…
J.tao
  • 1
  • 1
  • 3
0
votes
1 answer

django rest frame work : oscarapi authentication is not working

I am facing a weired issue when I call oscarapi calls through ios. It is working fine with POSTMAN. But when I call through xcode, it shows the following error. HTTP/1.1 401 Authorization Required Connection: Keep-Alive Content-Type:…
0
votes
1 answer

django rest framework: filter many to many models

I have a product model, category model and a product_category model for storing the product id to multiple categories. models.py class Product(models.Model): title = models.CharField(max_length=255, blank=True) slug =…
0
votes
2 answers

How to add custom benefit in django-oscar?

Django-oscar provides multibuy benefit type. class MultibuyDiscountBenefit(Benefit): _description = _("Cheapest product from %(range)s is free") Now, I can add Buy 1 get 1 free offer with this benefit. I have a little custom requirement here. I…
Jay Modi
  • 3,161
  • 4
  • 35
  • 52
0
votes
1 answer

Django Oscar doesn't see products

I was added a new category, then I was added product type, then I was added a product. *screenshoot I can see my new category, but there is no products at all *screenshoot But, I can view it on my site follow link…
0
votes
0 answers

django oscar wrong order while loading models of forked apps

I have a strange problem where one of the forked apps model is loaded after the one from oscar instead other forked apps are loaded in the correct order; this is causing a RuntimeError because our app tries to register a model that is already…
fpischedda
  • 1
  • 1
  • 3
0
votes
0 answers

Python Django view to return POST-request to client

I have built a web shop with Django and during payment i build-up a POST-request in the view consisting of necessary payment parameters, which then are sent to the payment gateway, and the payment gateway are happy with the POST-request in…
saol
  • 1
  • 1
0
votes
2 answers

Linking Django-oscar to native IOS app for shopping

Currently i am using django-oscar as my self hosted ecommerce solution to allow for merchants to have standard abilities such as uploading products, inventory management, etc.. on the backend. The marketplace however will be on our native IOS app…
Amechi
  • 742
  • 3
  • 11
  • 32
0
votes
0 answers

How to get order/transaction id in django-oscar?

I have written my own payment gateway integration module for django-oscar. When user clicks on checkout, he is redirected to my payment gateway page. Here i need unique order id or transaction id from the django-oscar. I have basket details like…
ajm
  • 12,863
  • 58
  • 163
  • 234
0
votes
0 answers

Django Axes doesn't get failed login attemps in django Oscar

I'm working in a e-shop using django-oscar and i'm using django-axes for login attemps capture. All is work fine when i get the django admin login: if i failed three times, axes lock out me. But when i failed many times in Oscar login i haven't…
SalahAdDin
  • 2,023
  • 25
  • 51
0
votes
0 answers

django Cache only gets set on page reload

I am trying my hands around using memcache with django on per-view cache. The trouble is cache only gets set if i refresh a page,clicking on same link does not sets the cache.(that is if i set cache_view on dispatch and reload page, i see the number…
vijay shanker
  • 2,517
  • 1
  • 24
  • 37
0
votes
1 answer

How to disable Solr from reordering data

Is it possible to disable Solr from moving selected feacets(in filter), on first index ? As for now if i select an element (product class) in my menu filter image (that is being returned from solr search engine) It return that element on first…
Dolvai
  • 13
  • 3
0
votes
1 answer

django oscar AppNotFoundError

Im following this tutorial step by step: http://django-oscar.readthedocs.org/en/releases-1.1/internals/getting_started.html#install-oscar-and-its-dependencies the thing is when I run the server locally and connect to localhost:8000, I just get this…
Enuff
  • 457
  • 5
  • 21
0
votes
2 answers

django oscar ImportError raised when trying to load 'treebeard.templatetags.admin_tree': No module named util

When installing the django-oscar on MAC. The make oscar complains Django Version: 1.9 Exception Type: InvalidTemplateLibrary Exception Value: Invalid template library specified. ImportError raised when trying to load…
0
votes
0 answers

Django: Cannot update static file

I have two image files for favicon.ico . Let me assume they are 'apple.ico' (image of an apple) and 'orange.ico' (image of an orange) If i change the name of 'apple.ico' to 'favicon.ico' and put it into the static file static/favicon.ico. Then, in…
ctchanac
  • 17
  • 2