• Resolved gatsman

    (@gatsman)


    Hello, i have set in the settings the Products number 20 (Maximum number of displayed products search results.) but it still displays 5 items per page (i use Divi Theme).
    I even tried this code snippet but with no change in the results number.

    add_filter( 'aws_search_results_per_page', 'custom_aws_search_results_per_page' );
    function custom_aws_search_results_per_page( $per_page ) {
    return 20;
    }

    Any idea where to look?

    • This topic was modified 3 months, 2 weeks ago by gatsman.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hi,

    Perhaps you have some Divi theme settings that overwrites this plugin’s one.

    If you are using Divi builder to customize the search results page – please open this builder and check options for products block.

    Also open Settings -> Reading page and check ‘Blog pages show at most’ option as well as any other Divi options that can reflect on that number of results per page.

    Regards

    Thread Starter gatsman

    (@gatsman)

    Yes, that was it thank you

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.