Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can we take influence to suggestions order? #5

Open
kkoepke opened this issue Apr 7, 2015 · 2 comments
Open

How can we take influence to suggestions order? #5

kkoepke opened this issue Apr 7, 2015 · 2 comments

Comments

@kkoepke
Copy link

kkoepke commented Apr 7, 2015

Thats a great extension and i really like ist. But i cant find out where the order of the suggested products come from an how to take influence to it.

Problem is, that mostly on top are some accessorories or less important articles and the really important products are shown last or even not. Any idea?

@winkelsdorf
Copy link

Good idea 👍

Should be somewhat easy to implement by adding ->setOrder('propertyxyz', 'DESC'); to the ->getCollection() calls. Probably make the sort field available to the backend admin configuration in another step.

I am going to fork the original repo now, integrate the patches from @jreinke, add a composer.json and start working on this. If it's quickly solvable I'll push a patch later..

@winkelsdorf
Copy link

I implemented a simple ASC sort in my fork:
winkelsdorf@f6b4df8

What suggestions do you have? What is a "really important" product for you? Thinking of getting the best selling this might lead to delays in the db requests as we would need to check the reports tables too.

Probably just prefer the "newly added" products?

Feel free to test my fork, it includes an ajax live search instead of prefetch/remote what has been implemented by @jreinke before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants