• Resolved vladimirvuch

    (@vladimirvuch)


    The problem is that when filtering with the “YITH Ajax Product Filter” Preloader page generated by Elementor is launched after the products are updated and not hidden. The first filter by price was added by a competing plugin, I won’t mention the name if you need it, I’ll tell you in addition, it doesn’t have this problem. Please help how to fix the mentioned problem?

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Pablo Pérez

    (@pperez001)

    Hi there,

    I checked your site and any filter, from our plugin or the other aren’t working, the price filter doesn’t filter the content and our plugin aren’t working too in your site.

    However, taking a look at the problem with our plugin, we will need more information about your configuration. I noticed the filtering are using redirection instead of using AJAX. In the plugin options, have you set using AJAX or redirection?

    Let me know.

    Best Regards,

    Pablo P.

    Thread Starter vladimirvuch

    (@vladimirvuch)

    Hello.
    There seems to be a problem with the link. Indeed, the one I sent does not work the price filter. For a reason that is unclear to me.
    If the page is refreshed, things work. As in the price there adds a parameter to the link. That’s how your filters work, too.
    This is the new link, I will test it after it is posted to see if everything works. link
    Please copy and paste it directly into the browser.

    Otherwise, what’s the use of putting the parameters after the url since the other one adds parameters when filtering. So I assumed that would solve my problem but no.

    I can add more pictures or if you need specific information just say. If I remove the addition of parameters in the address, things look the same.

    Thread Starter vladimirvuch

    (@vladimirvuch)

    https://ibb.co/Sf4G0s7 This is picture with settings

    Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    hope you are doing well! 🙂

    Please, try to add this custom code in the functions.php of your theme:

    if( ! function_exists( 'yith_wcan_content_selector' ) ){ 
    
        function yith_wcan_content_selector( $selector ){ 
    
                 $selector = '.elementor-location-archive.product'; 
    
                 return $selector; 
    
        }     
    
        add_filter( 'yith_wcan_content_selector', 'yith_wcan_content_selector' ); 
    
    }

    Let us know if that solves the problem.

    Have a nice day!

    Thread Starter vladimirvuch

    (@vladimirvuch)

    Hello.

    Unfortunately, this does not change the work process in any way. I don’t see any changes. Again after reloading the lolder leaves a white screen.

    Thread Starter vladimirvuch

    (@vladimirvuch)

    Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    please, try to remove the custom code I sent previously, and try to add this one:

    if( ! function_exists( 'yith_wcan_fix_filtering' ) ){
    	function yith_wcan_fix_filtering(){
    		$js = "
    			 jQuery(document).on( 'yith-wcan-ajax-filtered', function(){
    			    jQuery( 'e-page-transition.e-page-transition--entering' ).hide();
    			 } );
    		";
    		wp_add_inline_script( 'yith-wcan-shortcodes', $js );
    	}
    	add_filter( 'wp_enqueue_scripts', 'yith_wcan_fix_filtering', 99 );
    }

    Let me know if that did the trick.

    Have a nice day!

    • This reply was modified 1 year, 6 months ago by Iván Sosa.
    Thread Starter vladimirvuch

    (@vladimirvuch)

    It works great. Thank you very much for the help.

    Plugin Support Iván Sosa

    (@ivansosa)

    Hi there,

    you are welcome, I’m glad it worked! 😉
    I’m setting this topic as solved. If you have any doubt, don’t hesitate to contact us again and we will be happy to help you.

    Have a nice day!

    • This reply was modified 1 year, 6 months ago by Iván Sosa.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Problem with Preloader feature of Elementor pro’ is closed to new replies.