• Bryan

    (@weeklykorea)


    Thank you for good plugin.

    I select “After Add to Cart” for “Add to Wishlist”.

    And Whatever option I change, the Wishlist button of product page is not showing properly and it’s position is always “Product Title” block.

    Have you met this problem? and Could you let us know how solve this problem?

    Thanks in advance.
    – June

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

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

    (@juaancmendez)

    Hello June,
    we hope you’re doing well!

    We have tested what you tell us in our installation and everything works correctly. Although when entering your site, we see that our css/js files are not loaded and that may be one of the reasons for what happens to you. To fix this, try adding the following code to your active theme’s functions.php file:

    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 );	
    	}
    
    }

    Try it out and tell me if it works well for you, please. If it still doesn’t work, we can try a solution via js.

    We will be attentive to your response.

    Best regards.

Viewing 1 replies (of 1 total)
  • The topic ‘Add to Wishlist button not showing properly.’ is closed to new replies.