I am stuck in a situation here, In Magento 2 Category settings and I wants approaches from you guys.

In Magento 2 I have created a category with Static blocks with products to show settings on the landing page. The category landing page is coming with static block and products with pagination.There is also layered navigation section on the left sidebar.

What I want?

When the user clicks on any filter attribute or pagination link then It should show only filter product list. But it is showing filter product list with the static block.

So, What approach should I follow?

1 Answer 1


You can override category view page and add condition there like if filter or pagination parameter is set, don't print static block.

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.