<?php
/**
 * Add to wishlist button template
 *
 * @author Your Inspiration Themes
 * @package YITH WooCommerce Wishlist
 * @version 2.0.8
 */

if ( ! defined( 'YITH_WCWL' ) ) {
    exit;
} // Exit if accessed directly

global $product;
?>

<a href="<?php echo esc_url( add_query_arg( 'add_to_wishlist', $product_id ) )?>" rel="nofollow" data-product-id="<?php echo esc_attr($product_id); ?>" data-product-type="<?php echo esc_attr($product_type); ?>" class="<?php echo esc_attr($link_classes); ?>" title="<?php esc_attr_e('Add to Wishlist', 'motor'); ?>"><?php echo motor_get_contents(get_template_directory_uri().'/img/ico-wishlist.svg'); ?><span class="prod-li-favorites-inner"><span><?php esc_html_e('Add to Wishlist', 'motor'); ?></span></span></a>
<i style="visibility:hidden" class="ajax-loading fa fa-spinner fa-pulse"></i>