Forum Replies Created
-
AuthorPosts
-
opusuno_qeTz
ParticipantHi Ernest,
I found this hinting for something else. And wanted to share it as see it might be something on your road map…
https://woocommerce.com/products/ajax-instant-search/
They have the short code for the menu.
Here’s an example of it in use
https://adasignfactory.com/product/lab-sign/
Still am curious about the “facets” in your screen shot but want to show you this because I feel like I don’t clearly describe what it is I’m talking about 🙂
opusuno_qeTz
ParticipantHi,
It’s me again.. Got delayed by many things and finally circling back to the magnifying icon in the MainMenu
Since it’s been a few weeks I went back to the docs … and I have a 2 questions
1. Would it be possible to use the short code in the main menu and collapse the search field until the user clicks on the icon?
Or will must I go the path of using CSS to positioning it relative to the menu like you do here:
https://documentation.ajaxsearchpro.com/layout-settings/compact-search-box-layout
2. In this doc: https://documentation.ajaxsearchpro.com/getting-started/shortcode-generator
There is a screen shot and under the 40% in the graphic you have a “facet” type menu.. How are you achieving this?
I attached a screen shot and put a box around it if I’m being unclear…
Thanks again for all your support.
opusuno_qeTz
ParticipantHi Ernest,
I just watched it.. It’s too bad it’s not as easy as adding a short code to the main menu and inherit the style. Still, far superior to the build in search. I’ll work on it this weekend. Thanks!
opusuno_qeTz
ParticipantThank you! Sorry. There’s so many nested options I get lost in the layout! : )
opusuno_qeTz
ParticipantThanks Ernest. Can it be styled to show only the magnifying icon prior to search? Like the attachment.
opusuno_qeTz
ParticipantIt’d be cool to have a MainNav option.
opusuno_qeTz
ParticipantThanks. GP can easily turn the magnifier on and off. The customer wants a search there..
opusuno_qeTz
ParticipantHi Ernest,
Back to this.. customer is complaining. I don’t think it’s your plugin, but I was wondering if there might be a way to remove the generatepress magnifying glass / search and add your search to the main nav? Thanks.
Here’s a link again so you can see the behavior https://capriolas.com
I reached out to GP and they told me to add this snippet.. but same results
add_action( ‘pre_get_posts’, function( $query ) {
if ( ! is_admin() && $query->is_main_query() && $query->is_search() ) {
// Only show WooCommerce products
$query->set( ‘post_type’, array( ‘product’ ) );
}});
opusuno_qeTz
ParticipantAre you suggesting a function in the child theme? Thanks for the help.
opusuno_qeTz
ParticipantI don’t think it’s that.. GeneratePress is either on or off
It’s a little frustrating. Mainly since my client is whining about it..
It works perfectly embedded in the home page. Just not in the primary navigation. Modal.
Is there someway to make the embedded on still work and just use the Navigation default?
I notice when this is returned No Results Found == https://capriolas.com/?s=sweater
But when I simply reload the same page it works?
opusuno_qeTz
ParticipantThat might be the case.. I don’t know why since it selected to use WC
opusuno_qeTz
ParticipantYes. It displays the product images and descriptions when AjaxSearch is disabled. See screenshot
opusuno_qeTz
ParticipantSame settings. Weird. At least it’s populating with something..
opusuno_qeTz
ParticipantYeah. That’s how it is. Same result.. weird. In the GP customizer it shows use image in archive too.
opusuno_qeTz
ParticipantThank you Ernest. Progress… That gives me a result.
But how do I now get the products/images to display?
It shows only the text of the category or the tag.
Sorry to be a pest.. I must be missing this in the settings.
-
AuthorPosts