When I am in the listening product when I mark order alphabet by name I want to use two attributes. First my attribute, later name.
This is my structure name product: my_attribute name_product
I want to sort first by my_attribute when value my_attriute is the same I want to filter by name product.
I try to modify setCollection method in Mage_Catalog_Block_Product_List_Toolbar(later I create custom module) but this is no work. I tried $collection->setOrder('my_attribute, name', asc) not work. When in this function I dump ids product sort is ok, but somewhere this sort is overridden. Do you have any hints?