0

I want to hide the category name on the category page only for the sub category of only one parent category. The category names will be displayed for all other categories and sub categories. For e.g I have Cat A-> Cat B -> Cat C And Cat D-> Cat E-> Cat F

I want to hide all the category names on category page of level Cat B. For rest, it will be displayed.

7
  • Hi so you need to hide second-level category right Mar 18, 2020 at 9:58
  • Yes, i do not want to display names for second level categroy on category page. That too only for one parent category. For other second level category it will be displayed
    – Nafsss
    Mar 18, 2020 at 11:36
  • Can you share your url please Mar 18, 2020 at 11:45
  • i wanna hide for all the categories only under fabrics
    – Nafsss
    Mar 18, 2020 at 12:26

1 Answer 1

0

I think you have over ride following files.

vendor/magento/module-catalog/view/frontend/layout/catalog_category_view.xml

In your theme like below

app/design/frontend/mytheme/theme/Magento_Catalog/layout/catalog_category_view.xml
1
  • Then what to do in that?
    – Nafsss
    Mar 18, 2020 at 11:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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