Home Forums WoodMart support forum Infinit scrolling for search and native wordpress "product search" not working

Infinit scrolling for search and native wordpress "product search" not working

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #80600

    eimulex
    Participant

    Hi,

    After update to 3.0 Woodmart version the native wordpress product search widget is not searching for any post type. http://prntscr.com/l1jrs4

    Also Infinite scrolling not working for search -> https://kuryba.has.lt/?s=kauk%C4%97+repair&post_type=product

    #80611

    Artem Temos
    Keymaster

    Hello,

    Thank you so much for contacting our support center.

    1. Try to edit this file woodmart/searchform.php and replace this line woodmart_search_form(); with this code

    woodmart_search_form( array(
    		'ajax' => false,
    		'post_type' => 'post'
    	) );

    2. Infinit scrolling doesn’t work on the search results page.

    Kind Regards
    XTemos Studio

    #80618

    eimulex
    Participant

    Hi,

    It still stays the same, after updating woodmart/searchform.php -> http://prntscr.com/l1k48c

    Infinit scrolling – if we stick with pagination, then how is it possible to set it up in a way that on a page click it redirects user to top of results instead of staying at the bottom of the page?

    #80630

    Artem Temos
    Keymaster

    Please, send us your FTP access so we can check it.

    You can enable Scroll to top after AJAX in Theme Settings -> Shop.

    #80631

    eimulex
    Participant

    search works fine now, its just that native wordpress widget is not working with woodmart 3.0 as it should, instead we need to use your developed widget.

    #80636

    Artem Temos
    Keymaster

    We will fix this in our next theme update.

    Thank you

Viewing 6 posts - 1 through 6 (of 6 total)