Support » Plugin: WP Search with Algolia » Remove out of stock products in autocomplete

  • Hello! Plugin is working great

    How to remove out of stock products in autocomplete?

    Search page is ok. I use it as “Use Algolia in the backend”. Out of stock products don’t show results

    But i can’t find a way to do it in autocomplete

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hey @leonardorodriguez

    Sorry for the delay in response here. I’m not quite sure personally, for this, so I’m checking with a coworker who works with Algolia more than I do, to see what they suggest.

    As note, in algolia web, i’ve noticed that product feed (what we feed to algolia db) don’t include stock quantity

    So i believe it would be impossible to algolia to know when not to send a product, since it doesn’t have stock info to calculate

    Plugin Author Michael Beckwith

    (@tw2113)

    The BenchPresser

    I wonder if that content could be fed in with an existing hook/filter and just isn’t done out of box.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.