Disabling the Category:
- Go to Catalog > Categories in the Magento Admin Panel.
- Select the category you want to hide.
- Set “Is Active” to “No” in the category settings.
- Click Save to apply the changes.
Setting Display Mode to “Static Block Only”:
- Navigate to Catalog > Categories in the Magento Admin Panel.
- Select the category you want to hide.
- In the “Display Settings” section, set “Display Mode” to “Static block only”.
- Go to Content > Elements > Blocks and create a new CMS Block with empty content.
- Assign this empty CMS block to the category under “Add CMS Block” in the category settings.
- Click Save to apply the changes.