<?php
/**
 * The Template for displaying add to wishlist product button.
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/ti-addtowishlist.php.
 *
 * @version             1.22.0
 * @package           TInvWishlist\Template
 */

if ( ! defined( 'ABSPATH' ) ) {
	exit; // Exit if accessed directly.
}
wp_enqueue_script( 'tinvwl' );
?>
<div class="tinv-wraper woocommerce tinv-wishlist auxshp-wishlist-wrapper <?php echo esc_attr( $class_postion ) ?>"
	 data-product_id="<?php echo $product->get_id(); ?>">
	<?php do_action( 'tinvwl_wishlist_addtowishlist_button', $product, $loop ); ?>
	<?php do_action( 'tinvwl_wishlist_addtowishlist_dialogbox' ); ?>
	<div class="tinvwl-tooltip"><?php echo wp_kses_post( tinv_get_option( 'add_to_wishlist' . ( $loop ? '_catalog' : '' ), 'text' ) ); ?></div>
</div>
