File: /home/zwafgyp/coolswim/wp-content/themes/liftsupply/woocommerce/content-product-inner.php
<?php
global $product;
$image_attributes = wp_get_attachment_image_src( get_post_thumbnail_id($product->get_id() ), 'blog-thumbnails' );
?>
<div class="product-block" data-product-id="<?php echo esc_attr($product->get_id()); ?>">
<figure class="image">
<?php woocommerce_show_product_loop_sale_flash(); ?>
<a title="<?php the_title(); ?>" href="<?php the_permalink(); ?>" class="product-image <?php echo (get_option( 'woocommerce_enable_lightbox' )=='yes' && is_product())?'zoom':'zoom-2' ;?>">
<?php
/**
* woocommerce_before_shop_loop_item_title hook
*
* @hooked woocommerce_show_product_loop_sale_flash - 10
* @hooked woocommerce_template_loop_product_thumbnail - 10
*/
remove_action('woocommerce_before_shop_loop_item_title','woocommerce_show_product_loop_sale_flash', 10);
do_action( 'woocommerce_before_shop_loop_item_title' );
?>
</a>
<div class="button-action button-groups clearfix">
<?php
if( class_exists( 'YITH_WCWL' ) ) {
echo do_shortcode( '[yith_wcwl_add_to_wishlist]' );
}
?>
<?php if( class_exists( 'YITH_Woocompare' ) ) { ?>
<?php
$action_add = 'yith-woocompare-add-product';
$url_args = array(
'action' => $action_add,
'id' => $product->get_id()
);
?>
<div class="yith-compare">
<a title="<?php esc_html_e( 'Add to compare', 'liftsupply' ); ?>" href="<?php echo wp_nonce_url( add_query_arg( $url_args ), $action_add ); ?>" class="compare" data-product_id="<?php echo esc_attr($product->get_id()); ?>">
<em class="fa fa-exchange"></em>
<!-- <span><?php //esc_html_e('add to compare','strollik'); ?></span> -->
</a>
</div>
<?php } ?>
<?php if(liftsupply_fnc_theme_options('is-quickview', true)){ ?>
<div class="quick-view hidden-xs">
<a title="<?php esc_html_e( 'Quick view', 'liftsupply' ); ?>" href="#" class="quickview" data-productslug="<?php echo trim($product->get_slug()); ?>" data-toggle="modal" data-target="#opal-quickview-modal">
<i class="fa fa-eye"> </i>
</a>
</div>
<?php } ?>
</div>
</figure>
<div class="caption">
<div class="meta">
<?php do_action( 'liftsupply_woocommerce_before_shop_loop_item_title'); ?>
<h3 class="name"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<?php
/**
* woocommerce_after_shop_loop_item_title hook
*
* @hooked woocommerce_template_loop_rating - 5
* @hooked woocommerce_template_loop_price - 10
*/
do_action( 'woocommerce_after_shop_loop_item_title');
?>
<?php do_action( 'woocommerce_after_shop_loop_item' ); ?>
<?php
$action_add = 'yith-woocompare-add-product';
$url_args = array(
'action' => $action_add,
'id' => $product->get_id()
);
?>
</div>
</div>
</div>