Different quantity product columns

  • rvs
    Participant
    # 2 months ago

    Hi,

    When i do a search, and click a suggestion. My template product grid is changed from 4 to 1 column.
    When i do a search for the same keyword and confirm with an enter from my keyboard, i have the same items and my grid keeps the 4 columns.

    How to keep the 4 columns when clicked with the mouse on a suggestion?

    Thanks

    wpsolr
    Keymaster
    # 2 months ago

    Can you send me a screenshot?

    rvs
    Participant
    # 2 months ago

    how?

    rvs
    Participant
    # 2 months ago

    prnt.sc not woking (not allowed?)

    wpsolr
    Keymaster
    # 2 months ago

    Copy here the url from a sharing url service.

    wpsolr
    Keymaster
    # 2 months ago

    Thanks.

    In the first case, clicking on suggestions did not add the &post_type=product parameter to the url. Hence, the default WordPress search is shown, rather than the default WooCommerce search.

    rvs
    Participant
    # 2 months ago

    Thank you, how to fix this?

    Please can you delete my printscreens.

    wpsolr
    Keymaster
    # 2 months ago

    You cannot, unless you find a way to redirect WP search to WooCommerce search.

    I suggest that you use content suggestions, instead of keyword suggestions.

    rvs
    Participant
    # 2 months ago

    Ok thanx

    rvs
    Participant
    # 1 month, 3 weeks ago

    Sorry but i need some more info about how to fix this.

    We are running our config with the wpsolr/woocommerce extension.
    Why is it not possible to show the product search result page when clicked on a suggestion.

    Or is the plugin missing this needed option?

    wpsolr
    Keymaster
    # 1 month, 3 weeks ago

    Suggestions can be shown and configured on any search box, on any page. With plain WordPress search, WooCommerce search, bbPress search, or whatever.

    So, by default, suggestions redirect to the standard search page ?s=

    I cannot really see how an option can define where the redirection should go.

    rvs
    Participant
    # 1 month, 3 weeks ago

    Well this make’s the suggestions for Woocommerce quite useless.
    Is there not a way to add the parameter? or to choose the template in the plugin?

    Don’t you agree it’s not the way it should be.

    rvs
    Participant
    # 1 month, 3 weeks ago

    Just thinking in advance 😉

    wpsolr
    Keymaster
    # 1 month, 3 weeks ago

    Looking in the code, the redirect link is made as:

    sprintf( '/?s=%s', urlencode( $suggestion_string ) )

    ‘/?s=%s’ is currently hardcoded, but could be added as a parameter in each suggestion configuration.

    rvs
    Participant
    # 1 month, 3 weeks ago

    Ok how to?

    Just copy and overwrite plugin of with a hook?

    Or will it be an update soon?

Viewing 15 posts - 1 through 15 (of 19 total)

You must be logged in to reply to this topic.