• Resolved bird_k_97

    (@katia97)


    I have excluded out of stock products from the woocommerce catalogue, but when I do a search, they appear in the results. How can I exclude out of stock products from the results?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author wpdreams

    (@wpdreams)

    Hi,

    I will do my best to help you, but I may need a bit more information. Do these items appear in the live search results or when you hit enter/click the magnifier icon and get redirected to the results page?

    All the best,
    Ernest

    Thread Starter bird_k_97

    (@katia97)

    Thank you so much for your quick reply!

    Out of stock products appear in both situations. In the live search and then on the results page.

    Thank you very much

    Plugin Author wpdreams

    (@wpdreams)

    Okay.

    Just to be 100% sure, can you please double check if this option is indeed enabled?

    If yes, then let’s try a test. Navigate to the Advanced -> Content & Fields menu. To the advanced title field please enter this:

    {_stock_status} - {titlefield}

    After saving the settings, on the front-end, when doing a search query, the stock status should be displayed on the live search results list, just before the title – they all should read “instock” like so: https://i.imgur.com/NrK2nQB.png

    Can you please let me know what do you see before the title in out-of-stock products that are displayed?

    All the best,
    Ernest

    Thread Starter bird_k_97

    (@katia97)

    Hello! of course, no problem

    I followed the steps you told me about and these are the results

    Best regards

    Plugin Author wpdreams

    (@wpdreams)

    Thank you! That is very strange, those values look okay, they should be excluded.

    Can you please go to the Help & Support sub-menu, and copy the debug data it to paste.ee, and share the link here? I will try to replicate with your configuration to see what I can find.

    All the best,
    Ernest

    Thread Starter bird_k_97

    (@katia97)

    Sure!

    https://paste.ee/p/WrVJr

    Thanks!

    Plugin Author wpdreams

    (@wpdreams)

    Thank you!

    The data says that this option is not turned on. Can you please make sure it’s enabled? That should solve the issue ??

    Thread Starter bird_k_97

    (@katia97)

    That’s right! I missed the last box, I must not have saved it correctly! ??

    Thank you very much for all the help and sorry for the inconvenience.

    Best regards ??

    Plugin Author wpdreams

    (@wpdreams)

    No problem, I am more than happy to help ??

    If you like the plugin, feel free to rate it, it’s greatly appreciated.

    All the best,
    Ernest

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