Search Form results - by Mackenzy - on WordPress WooCommerce support

This topic has 2 replies, 2 voices, and was last updated 8 years, 7 months ago ago by Eva Kemp

  • Avatar: Mackenzy
    Mackenzy
    Participant
    August 3, 2015 at 15:41

    I want to change the number of product results that are shown by the drop down as soon as I key in a search term in the search box on the index page.

    http://ge.tt/2GUcyZL2/v/0 (as you can see there are now 3 products shown)

    Can you please direct me to the place where this can be done?

    Thanks,
    Mackanzy

    1 Answer
    Avatar: Eva
    Eva Kemp
    Support staff
    August 3, 2015 at 19:29

    Hello,

    You need edit the file the file wp-content/themes/legenda/framework/theme-functions.php (line 1812, 1813) and change the number in fields
    $query->query_vars['no_found_rows'] = 3;
    $query->post_count = 3;

    Regards,
    Eva Kemp.

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.