Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author YITHEMES

    (@yithemes)

    Hi there

    That solution is no longer valid because we no longer load “loading” icon within Add to Wishlist template
    Icon is loaded on the fly when an action is performed and we need to show loading animation

    Of course this means that the icon do not impact on your page loading time

    Thread Starter shemakeswebsites

    (@shemakeswebsites)

    I see. How would I hide the loading gif icon anyway? I’d prefer it not to show if possible. Thank you.

    Plugin Author YITHEMES

    (@yithemes)

    Hi there

    please, try to add the following snippet of code at the end of functions.php file of your theme or child

    if ( ! function_exists( 'yith_wcwl_remove_loading_icon' ) ) {
    	function yith_wcwl_remove_loading_icon( $params ) {
    		$params['ajax_loader_url'] = '';
    
    		return $params;
    	}
    	add_filter( 'yith_wcwl_localize_script', 'yith_wcwl_remove_loading_icon' );
    }
    

    Hope this helps

    Thread Starter shemakeswebsites

    (@shemakeswebsites)

    Great, it worked. Thank you.

    Plugin Author YITHEMES

    (@yithemes)

    You’re welcome!

    We are doing our best to improve our plugins. Our target is to develop and release the best free plugins for WooCommerce, but to achieve this we need your help. Please leave a good review to support us and help our growth ??

    Hi,
    I tried to do the above and the icon didn’t disappear.
    As well, its take almost 2 sec for the product to be added into the wish list.
    Can you help?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove loading image’ is closed to new replies.