cancel
Showing results for 
Search instead for 
Did you mean: 

New Subcategory not showing live

New Subcategory not showing live

Hi, 

I am having an issue with my new subcategories not showing on my frontend? (I am currently in my staging environment). Everything looks fine on setup but I just can't work out how to make these new subscategories live? The root is obviously fine and showing like normal. Have I missed something?Origins_ID_1687_Categories_Inventory_Catalog_Magento_Admin.png

8 REPLIES 8

Re: New Subcategory not showing live

Hi @aalpdownie3f94 

Please create subcategory under "Default Category" and select yes for  "Enable category" & "Include in Menu".
sub_category.png

 

If issue not resolve, kindly follow below link :
https://belvg.com/blog/how-to-add-new-category-in-magento-2.html

It may help you to create subcategory properly.
If issue resolve, please click on 'Kudos' & Accept as Solution!

Re: New Subcategory not showing live

Thank you @Bhanu Periwal

All these areas are enabled, I have attached an image below. Hopefully this helps. I want to be able to test prior to putting on my live environment.

Origins_ID_1687_Categories_Inventory_Catalog_Magento_Admin (1).png

 

 

Re: New Subcategory not showing live

Hi @aalpdownie3f94 

Sorry can't see your attached image with message.
But if you enabled all required fields, then check flat tables are enabled or not ?
Run commands :

php bin/magento indexer:reindex
php bin/magento setup:static-content:deploy

and verify .

If issue resolve, please click on 'Kudos' & Accept as Solution!

Re: New Subcategory not showing live

@Bhanu Periwal approved image, please check now.

Manish Mittal
https://www.manishmittal.com/

Re: New Subcategory not showing live

@Bhanu Periwal thank you so much for your help.

 

I do not have Flat Tables enabled however I am on v 2.2.6 and my understanding was that enabling flat tables is not recommended?

Re: New Subcategory not showing live

Hello @aalpdownie3f94 

 

Try to flush cache and check it

 

php bin/magento c:f

php bin/magento c:c

 

if you are using any third-party module then maybe need to flush the cache of that

 

 

 


Problem solved? Click Kudos & Accept as Solution!
Sunil Patel
Magento 2 Certified Professional Developer & Frontend Developer

Re: New Subcategory not showing live

@aalpdownie3f94 have you done re-indexing as suggested by @Bhanu Periwal 

 

After re-indexing use the below command and then test in incognito mode.

 

sudo rm -rf var/cache/*

Thanks

Re: New Subcategory not showing live

Hi @Sunil Patel & @Rahul Gupta ,

 

Yes I have flushed the cache multiple times and it doesn't appear to be making a difference. Please note I am not a dev, I might speak to my dev agency. Thank you for your help though.