0

Thanks in advance for any help you can provide!

I'm importing visibility changes for a bunch of products so they aren't visible in search results (visibility = 2). That changes the product visibility to "Catalog". The CSV is accepted and when I look in the products, the change took place. However, the products still show up in the search. After I go in the product and simply click "Save" (without changing the visibility setting which was changed by the CSV), the update finally works. Any ideas on how to avoid having to go into each product just to simply hit "save"? The CSV changes the setting but they don't take effect until I go in and hit save.

Thanks again!

3
  • where do you import it? is it import tool of magento itself?
    – Nickool
    Commented Dec 16, 2016 at 23:06
  • Hey - thanks for the response. I import it directly into magento with the import/export under system. A simple CSV with heads sku and visibility. Visibility set to "2" so the products don't appear in search but in catalog only.
    – Robert
    Commented Dec 16, 2016 at 23:30
  • Try to reindex data
    – Vlad Patru
    Commented Dec 17, 2016 at 0:51

1 Answer 1

0

2 steps you should do when you change catalog (products) data:

  1. Reindex (backend > system > index management, or with the commandline "php shell/indexer.php"
  2. Clear cache (backend > system > cache management)

The reindex takes the data from the EAV tables and put them in a flat table for speed. (https://en.wikipedia.org/wiki/Entity%E2%80%93attribute%E2%80%93value_model) You can set the index mode on "update on save". But when you import a lot of product i would recommend on putting it on manual mode and reindex afterwards. Else the import will be significantly slower.

Magento stores data it fetches from the database in it's cache so you need to clean the cache afterwards.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.