• Resolved Johnstoneman

    (@johnstoneman)


    When doing a search on “sssa” the website has 3 draft products that are shown in the search auto-complete results. Draft products should not be seen in search results as they don’t have an actual page to link to.

    The website uses the WooCommerce AJAX Products Filter by BeRocket which is listed as a compatible plugin.

    The products were once published, but have been unpublished for now with a view to republish in the future, so it is possible that the search results retains the products in its list rather than re-checking publish status.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support Kris

    (@c0nst)

    Hi @johnstoneman

    Probably one of your plugins or theme function is modifying the query to include posts with a status other than publish.

    The best way to find out what is causing this is to switch to a different theme for a while and then check the search. If everything returns to normal, it will mean that the code modifying the query is in the theme files. It’s very possible that in the functions.php file

    Do the same with plugins, disabling them one by one. When you find the cause, check the settings of this plugin for the option that causes the problem you describe.

    Regards,
    Kris

Viewing 1 replies (of 1 total)
  • The topic ‘Products set as a draft visible’ is closed to new replies.