1

enter image description here

Currently this shopping options displays only on main category page. How to display this shopping options under sub category page navigation?

2 Answers 2

3

Set Anchor to Yes under Catalog -> Categories -> <category_name> -> Display Settings

  • Check other Design and Display settings are correct.
  • Check if there are products in the category.
7
  • By default its enabled in all categories
    – Rathna
    Commented Jan 31, 2018 at 11:42
  • 1
    Check if display and design settings are correct for categories. Because if it is enabled then it should appear. Commented Jan 31, 2018 at 11:46
  • I have added the answer.Is that correct method.
    – Rathna
    Commented Jan 31, 2018 at 11:55
  • 1
    This means that there are no items to display. Add few items in the category and check again. Make sure attributes that are included in layered navigation has some values for products. Commented Jan 31, 2018 at 12:11
  • 1
    Kindly upvote and accept, if the answer is useful. Commented Jan 31, 2018 at 12:21
0

I have fixed this by

\Magento_LayeredNavigation\templates\layer\view.phtml

add else section for ($block->canShowBlock()) copy the same code under else section and remove the condition ?php if ($filter->getItemsCount()): ?>

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.