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 Commented 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
    Commented Mar 18, 2020 at 11:36
  • Can you share your url please Commented Mar 18, 2020 at 11:45
  • wazoodle01.wsisites.net/index.php/fabrics/zorb.html
    – Nafsss
    Commented Mar 18, 2020 at 12:16
  • i wanna hide for all the categories only under fabrics
    – Nafsss
    Commented 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
    Commented Mar 18, 2020 at 11:37

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.