Developer forum

Forum » Feature requests » Use customfields for sorting?

Use customfields for sorting?

Morten Fink Eriksen
Reply

Hi

 

I've been trying to look for at way to use customfields for sorting on the productlist, but i've been unable to find any way of doing this. I can see you can use standard product fields, but here again there aren't that many to choose from.

 

Can it be true that there is no option for sorting on customfields in any way?

 

I was told by Mikkel from DW that i could use a notification subscriber called "beforepaging" and that way might be able to do some sorting, but it would really be preferable to be able to sort by customfields as standard.


Replies

 
Mikkel Ricky
Reply

Please see the post "How to sort products by custom product field" [http://goo.gl/d2NxN] for an actual example of how to implement the workaround using the "BeforePaging" notification.