Hello there, since one of the last update of salient, we can now configure the header search form to limit search by post type.
I've set in to Products because it's a WooCommerce website :
That is working, that display only products from ajax display.
BUT, as you can see on this example, there is product to 0€, it's normal it's my hidden products. i've configure these product to NOT SHOWING on shop and search results :
But this new feature show the hidden product on ajax search (search preview results). I know it's a new feature so it's normal to have some issues like that, a fix can be possible ? :)
Hello there, since one of the last update of salient, we can now configure the header search form to limit search by post type.
I've set in to Products because it's a WooCommerce website :
That is working, that display only products from ajax display.
BUT, as you can see on this example, there is product to 0€, it's normal it's my hidden products. i've configure these product to NOT SHOWING on shop and search results :
But this new feature show the hidden product on ajax search (search preview results). I know it's a new feature so it's normal to have some issues like that, a fix can be possible ? :)
have a great day, from france 🌞
Hi There,
Thanks for keeping in touch,
Please allow me to escalate this to the developer to respond further.
Thanks.
Hey benoitfouc33
Thanks for mentioning this - I'll be including the fix in the upcoming minor release.
If you'd like to make the change on your end now, you can add the following snippet to your child theme functions.php file:
Kind regards,
Hello there, thanks for reply.
If the next minor release come soon, i will wait 😊
Thanks for the fix,
regards