Skip to main content

Timeline for addAttributeToSort with MySQL "IN"

Current License: CC BY-SA 3.0

3 events
when toggle format what by license comment
Feb 25, 2016 at 14:35 comment added Phoenix128_RiccardoT Try with catalog_product_collection_load_after instead of catalog_product_collection_load_before? Since you are adding a sort it should work.
Feb 25, 2016 at 14:33 comment added paskl Looks like it doesnt matter, because its added to the SELECT nontheless. However, some attributes seem to be not SELECTED and therefore the query fails. What event would you hook up to when working with catalog product collections? catalog_block_product_list_collection doesnt not seem to be triggered for me. And "load_before" also dont have the needed attributes.
Feb 25, 2016 at 14:26 history answered Phoenix128_RiccardoT CC BY-SA 3.0