Different quantity product columns

  • rvs
    Participant
    4 years, 7 months ago #13961

    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
    4 years, 7 months ago #13962

    Can you send me a screenshot?

    rvs
    Participant
    4 years, 7 months ago #13964

    how?

    rvs
    Participant
    4 years, 7 months ago #13966

    prnt.sc not woking (not allowed?)

    wpsolr
    Keymaster
    4 years, 7 months ago #13967

    Copy here the url from a sharing url service.

    wpsolr
    Keymaster
    4 years, 7 months ago #13971

    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
    4 years, 7 months ago #13972

    Thank you, how to fix this?

    Please can you delete my printscreens.

    wpsolr
    Keymaster
    4 years, 7 months ago #13976

    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
    4 years, 7 months ago #13977

    Ok thanx

    rvs
    Participant
    4 years, 7 months ago #14153

    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
    4 years, 7 months ago #14154

    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
    4 years, 7 months ago #14155

    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
    4 years, 7 months ago #14156

    Just thinking in advance 😉

    wpsolr
    Keymaster
    4 years, 7 months ago #14157

    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
    4 years, 7 months ago #14158

    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.