I need to add options to sort by bestseller products/top rated in productsDisplay Settings' tab for categories so that we can choose the default sorting option for each category from admin panel. I want to be able to configure this option for individual categories through the backend
I have followed many tutorials to override the getAttributeUsedForSortByArray() menthod in config.php but options are not displaying in drop-down in admin panel.
Is there any way to have the 'bestseller' and 'top rated' options added to the 'Default Product Listing Sort By" dropdown under display settings tab for categories.
Any help would be greatly appreciated!