0

I am using magento2.3 and porto theme why the deleted products still show at the dropdown of search box enter image description here

I have cleared all cache ,and clicked the following 5 cache:"Flush Magento Cache,Flush Cache Storage, Flush Catalog Images Cache Flush JavaScript/CSS Cache
Flush Static Files Cache and bin/magento indexer:reindex

and I have also deleted all "search items" and rm -r /var/cache as Product show in search suggestion after delete said.

but not work for me

what should I do ?

Thanks

  • Hi and welcome, have you reindexed successfully after deleting the product also are you using any other 3rd party search extensions which could be causing the issue. if you have done all of these id suggest removing all the files from pub/static/ generation/ var/view_processed/ and redeploying the static content – Dava Gordon Aug 20 at 21:41
  • thanks for reply,by the way,1)I have gone to root directory to execute "bin/magento indexer:reindex" 2) do you mean I also need to go to root directory to execute "rm -r pub/static/ rm -r generation/ rm -r var/view_processed/ php bin/magento setup:static-content:deploy -f" ? – bestshop24h Aug 21 at 6:14
  • If you have reindexed and you still have the issue then go to the magento root and run "rm -r pub/static/ generation/ var/" that should have same action without reperative rm -rf and then once you have done that redeploy your content also rememember to deploy additional languages e.g. en_GB de_DE – Dava Gordon Aug 21 at 6:51

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.