0

I'd like to know if it's possible to re-index not all product data, but just a group of them, based on their id. Something like this:

foreach($collection as $product){
     reindexSingleProduct($product->getID());
}
  • Which particular re-indexing you are trying to achieve here ? Price, Stock, Attributes or any other ? – Prateek May 1 '18 at 18:35
  • I'll try to re-index Stock for a start, but maybe I'll need to re-index all index types – zekia May 2 '18 at 9:44

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.