Timeline for How can I add a sort by rating?
Current License: CC BY-SA 3.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 27, 2016 at 14:33 | comment | added | loeffel | While this works, the last line which changes sort order to descending, will result in nonworking sort order arrows. | |
Oct 19, 2015 at 10:11 | review | Suggested edits | |||
Oct 19, 2015 at 10:36 | |||||
Aug 18, 2015 at 14:59 | vote | accept | Fox | ||
Feb 23, 2015 at 11:20 | comment | added | Fox | changing the alias not working for me and there is no other join too :( ... I added a stacktrace above, maybe someone can help me | |
Jan 12, 2015 at 15:56 | comment | added | Amasty |
Try to use different alias, or, if the field has been already joined, just use $collection->getSelect()->order('rating_summary desc');
|
|
Jan 11, 2015 at 20:45 | comment | added | Fox | any suggestions how to fix this error? | |
Jan 9, 2015 at 18:04 | comment | added | Fox | UPDATE: the error "Joined field with this alias is already declared" is only displayed on homepage. | |
Jan 9, 2015 at 16:51 | comment | added | Fox | hi amasty, thanks for your reply I have tried something similar from fontis.com.au/blog/magento/sort-products-rating, but I always get the following error: "Joined field with this alias is already declared" :( ... p.s. I know that working with local is bad practice, but it was just a try | |
Jan 9, 2015 at 15:01 | history | answered | Amasty | CC BY-SA 3.0 |