-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Search Navigation not visible if default category has "Display Mode" other than "page" #39555
base: 2.4-develop
Are you sure you want to change the base?
Search Navigation not visible if default category has "Display Mode" other than "page" #39555
Conversation
…ault category has "Display Mode" with value other than "page"
Hi @lucafuser. Thank you for your contribution!
Allowed build names are:
You can find more information about the builds here For more details, review the Code Contributions documentation. |
@magento run all tests |
@magento create issue |
@magento run all tests |
…logsearch-result' into navigation-block-visibility-catalogsearch-result
@magento run all tests |
Resolve search result navigation block visibility even if website default category has "Display Mode" with value other than "page"
Description (*)
In catalogsearch result page, the current category is the Default Category, see
\Magento\Catalog\Model\Layer::getCurrentCategory()
In case the default category has Display mode value "Static block only" or "Static block and products", canShowBlock method condition is false and the navigation block is not visible.
Added a or condition to check also the routeName in canShowBlock method to avoid current behavior.
Related Pull Requests
Fixed Issues (if relevant)
Manual testing scenarios (*)
Questions or comments
Contribution checklist (*)
Resolved issues: