Customizing sortBySelector widget

Hi

I’m currently using the Magento 1.9 with v1 of instantsearch.js.
Is there any way to change the template for the sortBySelector widget to be a list and not a select dropdown? The select limits how much you can customize it.

Hi @syoffe,

Thanks for your question!

To change the template for the sortBySelector widget to be a list and not a select dropdown you use a front-end customization “beforeWidgetInitialization” on Magento 1.9.

You’ll need to customize the ‘sortBySelector’ widget to create a list instead of a select.

This should allow you to change the drop down into a list on your UI.

Let us know how this works for you!