Comments (5)
For anyone reading this, I ended up using elastic's "more like this" functionality to dynamically generate recommended products. The overall fidelity of recommendations might be less than manually specified products, but the dramatic reduction in data entry burden was considered a reasonable trade off for my application.
from django-oscar.
Is pre-populating the data necessary? The database queries involved don't seem especially complicated or slow, but then I haven't tried this before on large datasets (ie millions of order line rows).
On the flip-side, keeping the ProductRecommendation model will work for more advanced recommendation algorithms too.
from django-oscar.
I think it is worth doing this in a batch job as we have some projects lined up with millions of products, and I'd like to keep this fast. We also have projects where these recommendations come from another source, and so it makes sense to store the relationships in a standard structure.
Having said that, it would still be useful to write a simple extension to the basket page that does the queries at runtime. The same query logic would be needed for the batch job, so it's a valuable exercise. It's worth starting with that and then extending it to populate the recommendation tables.
from django-oscar.
I will be implementing this feature in an upcoming project, does anyone have a partially working implementation?
from django-oscar.
I believe within just simple lookup in the order history we can't get relevant products, because customers often buy unrelated products in the same order.
To get list of similar products, we'll have to design quite more complex algorithm, which is potential topic for the new issue we'd create once we get to implement this.
from django-oscar.
Related Issues (20)
- Code too complex; So much unlogical HOT 1
- Logging-in with basket products may cause order lines to have incorrect partner / stock record HOT 3
- Question: Best/proper way to install and use HOT 2
- js, css 404 not found HOT 1
- Missing migrations for core modules HOT 1
- test
- server error with django-phonenumber-field 4.0.0
- variant: how to inherit some of the parent fields HOT 6
- Required Rich Text Product Attribute issue when validating
- Forking Checkout and Shipping Apps for Shipping Method. HOT 1
- migration creates performance issue in case of huge records in LineAttribute table
- Nuances in overriding model's method HOT 2
- 3.2(.2) Release βΒ is it officially out and stable or not? Documentation is misleading or possibly erroneous HOT 4
- TypeError in OrderSearchForm HOT 1
- ordering for attribute option groups HOT 1
- Sandbox site is down HOT 1
- Bug when forking offer.benefits
- ValueError: There is already an order with number 100551 HOT 2
- Update to bootstrap 5 ? HOT 2
- There is no link from the dashboard to Attribute Option Group list page HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-oscar.