out of stock products show in frontend search results

  • Bodav
    Participant
    2 years, 6 months ago #27933

    hi again:)
    the front end search (with suggestions on), shows out of stock products, how can they be excluded from results? (only front end)

    wpsolr
    Keymaster
    2 years, 6 months ago #27938

    Do you mean exclude from results in suggestions?

    wpsolr
    Keymaster
    2 years, 6 months ago #27942

    Can you give me an example? (keywords and product out of stock appearing in suggestions)

    Bodav
    Participant
    2 years, 6 months ago #27953

    https://snipboard.io/DGEz8u.jpg
    those 2 not in stock
    keyword “גזר” (carrot)

    Bodav
    Participant
    2 years, 6 months ago #27954

    https://snipboard.io/5Kql01.jpg
    also those
    it actually shows all out of stock products in the search

    wpsolr
    Keymaster
    2 years, 6 months ago #27957

    Please replace your current WPSOLR version with this release:
    https://www.dropbox.com/s/vnvh23ux11l460u/wpsolr-pro-fix-suggestion-show-product-out-of-stock.zip?dl=0

    The release includes the following fixes/improvements:
    – Fix suggestions showing out of stock products on frontend

    Bodav
    Participant
    2 years, 5 months ago #27964

    Hi. Out of stock products now dont show on suggestions, but the products are not clickable from the live search results. Tested on mobile for now, dont have a desktop nearby to check how it is on desk

    mit686@gmail.com
    Participant
    6 months, 1 week ago #35685

    Out-of-stock products don’t show on search results. How can I fix it?

    Théo
    Moderator
    6 months, 1 week ago #35690

    Have you unchecked “Out of stock visibility” in Woocommerce>Settings>Products>Inventory?
    If not, do it, and reindex all your products.

    mit686@gmail.com
    Participant
    6 months, 1 week ago #35692

    “Hide out of stock items from the catalog” is unchecked

    wpsolr
    Keymaster
    6 months, 1 week ago #35694

    Reindex your products with this option unchecked.

Viewing 11 posts - 1 through 11 (of 11 total)

You must be logged in to reply to this topic.