Problem solved. I got the below code from YITH.
// Enable PrettyPhoto for YITH Wishlist
if ( defined( 'YITH_WCWL' ) && ! function_exists( 'yith_wcwl_enqueue_prettyphoto' ) ) {
function yith_wcwl_enqueue_prettyphoto( ) {
wp_enqueue_style( 'woocommerce_prettyPhoto_css', str_replace( array( 'http:', 'https:' ), '', plugins_url( 'assets/css/prettyPhoto.css', WC_PLUGIN_FILE ) ), array(), WC_VERSION );
wp_enqueue_script( 'prettyPhoto' );
wp_enqueue_script( 'prettyPhoto-init' );
}
add_action( 'wp_enqueue_scripts', 'yith_wcwl_enqueue_prettyphoto', 99999 );
}
Brgds
Rune