Hi,
I’m trying to use the theme (with AJAX search) with the plugin “Product Visibility by User Role for WooCommerce” ( https://wordpress.org/plugins/product-visibility-by-user-role-for-woocommerce/ ) wich allow us to hide certain products based on the role of the client.
If I do a normal search (and hit ‘enter’) in WordPress products are filtered well so normal users doesn’t see the products that are hidden for them, but when I wait a little for the AJAX search to drop down in the search bar, the product are seen. (I don’t now how to explain this very well, but the screenshot is in the attachment.)
Can you guide me on how the AJAX search and the plugin can work together?
Thanks!
Kind regards,
Marieke
Attachments:
You must be
logged in to view attached files.