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?
Hi @aalpdownie3f94
Please create subcategory under "Default Category" and select yes for "Enable category" & "Include in Menu".
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!
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.
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!
@Bhanu Periwal approved image, please check now.
@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?
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
@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
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.