• Wishlist page is not showing product images. I have 3 errors showing in console trying to link to svg+xml. On the page itself two product images are trying to be loaded in, one being the svg and the other being a gif. I have neither svg’s or gif;s uploaded to the site for product images.

    The custom options for the add to wishlist button do not work. Only the text option and theme default option.

    Latest version or woo and wordpress are being used. Theme is Flatsome.

Viewing 1 replies (of 1 total)
  • Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,
    we hope you’re doing well!

    With the Flatsome theme, there are often problems as it has a wishlist integration that interferes with ours. Try adding this code to your active theme’s functions.php file, and see if any of the issues are fixed:

    if ( defined( 'YITH_WCWL' )) {
    	if( ! function_exists( 'yith_wcwl_enqueue_back_required_assets' ) ) {
    		function yith_wcwl_enqueue_back_required_assets() {
    			$suffix  = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
    			$version = defined( 'WC_VERSION' ) ? WC_VERSION : '';
    
    			wp_enqueue_style( 'woocommerce_prettyPhoto_css', plugins_url( 'assets/css/prettyPhoto.css', WC_PLUGIN_FILE ), array(), $version );
    			wp_enqueue_script( 'prettyPhoto', plugins_url( 'assets/js/prettyPhoto/jquery.prettyPhoto' . $suffix . '.js', WC_PLUGIN_FILE ), array( 'jquery' ), '3.1.6' );
    			wp_enqueue_script( 'prettyPhoto-init', plugins_url( 'assets/js/prettyPhoto/jquery.prettyPhoto.init' . $suffix . '.js', WC_PLUGIN_FILE ), array( 'jquery' ), $version );
    
    			wp_enqueue_style( 'yith-wcwl-main', YITH_WCWL_URL . 'assets/css/style.css', array( 'jquery-selectBox' ) );
    		}
        	add_action( 'wp_enqueue_scripts', 'yith_wcwl_enqueue_back_required_assets', 100 );
    	}
    
    	if ( ! function_exists( 'ywfav_add_fontawesome' ) ) {
    		function ywfav_add_fontawesome() {
            	wp_enqueue_style( 'fontawsome', 'https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css' );
        	}	
    		add_action( 'wp_enqueue_scripts', 'ywfav_add_fontawesome', 99 );	
    	}
    
    }

    Also, could you provide us with the link to your site? Maybe we should apply some extra CSS.

    We will be attentive to your response.

    Have a nice day!

Viewing 1 replies (of 1 total)
  • The topic ‘Two problems i have found’ is closed to new replies.