On windows with xampp installed on c . Did try all others answers didnt work for me.please answer step by step as im not too computer savy !thx !
- Open Command Prompt:
- Change your directory to Magento root directory
- For example cd magento_2.0
Run below Command:
C:\xampp\php\php.exe C:\xampp\htdocs\magento_2.0\bin\magento indexer:reindex
Note: IF PHP path is alredy added to your windows system's environment variable you can directly run below command:
php bin/magento indexer:reindex
Else you can add with How to set the env variable for PHP?