1

I need to apply condition based on the category filters applied to the layered navigation. Let me know which event name will help us to fetch the values to the observer file

1 Answer 1

1

You can use the observer catalog_product_collection_load_before. You can see the example code inside the link. The example shows how to apply additional filter after a filter is applied.

Ref: Magento Community Forum

3
  • I need to trigger this event when the initial load of the category page using megamenu..which event is suitable for that?I am not able to achieve this using above.
    – sahana
    Commented Aug 10, 2018 at 10:33
  • Your question should be updated. The answer is totally different.
    – PY Yick
    Commented Aug 13, 2018 at 4:16
  • catalog_product_collection_load_before is removed in Magento v2.4.4 Commented Aug 11, 2022 at 10:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.