Support » Plugin: Advanced Woo Search » Move ‘View All Results’ to top

  • Resolved omarperez999

    (@omarperez999)


    Hello! Is it possible to make the View All Results show up first, and not at the bottom?

    Thank you!

    Op

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ILLID

    (@mihail-barinov)

    Hello,

    Yes, it is possible but only by changing plugin source code.
    Please open assets/js/common.js file, find and removelines

    if ( d.showMore ) {
        html += '<li class="aws_result_item aws_search_more"><a href="#">' + translate.showmore + '</a></li>';
    }

    than replace line

    if ( ( typeof response.products !== 'undefined' ) && response.products.length > 0 ) {

    with

    if ( ( typeof response.products !== 'undefined' ) && response.products.length > 0 ) {
    
    if ( d.showMore ) {
        html += '<li class="aws_result_item aws_search_more"><a href="#">' + translate.showmore + '</a></li>';
    }

    Perfect. It works. Thank you Illid!

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