cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Magento 2.2.5 categories

Issue with Magento 2.2.5 categories

Just recently I changed my Magento 2.2.5 to production mode. After the change, I tried to add new products and as result I needed to add few new categories to my store. 

 

After completed adding new categories and new products to these categories, none of these items showing up in the storefront!

I am new to production mode and I like to know what this is happening? Do I need to recompile or reload the static files for my changes to work?

I appreciate your comments and recommendation. 

2 REPLIES

Re: Issue with Magento 2.2.5 categories

You need to run below command to see your product and category on store front,

Run below command from root of your Magento instance,

php bin/magento indexer:reindex
php bin/magento cache:flush
If Issue Solved, Click Kudos/Accept As solutions.
More info visit Blogs

Re: Issue with Magento 2.2.5 categories

Hi @NailsPlus

 

You don't required to do, compile and static-content:deploy command , its not necessary right now !

 

But you need to do reindexing as your products is not showing on the frontend so 

 

Run below command in a sequence :

 

php bin/magento indexer:reindex
php bin/magento cache:clean
php bin/magento cahce:flush

Also as you are in production mode , so make sure you set indexing settings on product Save - not on schedule.

 

So if you save any product automatically indexing is done for that specific product !

 

so it will works !

if issue solved,Click Kudos & Accept as Solution