File: /home/dermova/www/india/wp-content/themes/ri-colias/woocommerce/content-product-inner.php
<?php
global $product;
$woo_product_style = get_theme_mod('rit_woo_product_style','default');
?>
<div class="product-block product inner-product-content <?php echo esc_attr($woo_product_style);?>">
<figure class="caption-image product-image">
<?php woocommerce_show_product_loop_sale_flash(); ?>
<a href="<?php the_permalink(); ?>" class="product-image">
<?php
/**
* woocommerce_before_shop_loop_item_title hook
*
* @hooked woocommerce_show_product_loop_sale_flash - 10
* @hooked woocommerce_template_loop_product_thumbnail - 10
*/
do_action( 'woocommerce_before_shop_loop_item_title' );
?>
</a>
<div class="quick-view">
<a data-product_id="<?php echo esc_attr($product->id); ?>" class="button yith-wcqv-button" href="#">
<i class="fa fa-search"></i>
<span class="hidden"><?php esc_html__('quick view','ri-colias'); ?></span>
</a>
</div>
</figure>
<div class="caption-product">
<div class="caption">
<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
*/
remove_action('woocommerce_after_shop_loop_item_title','woocommerce_template_loop_rating',5);
remove_action('woocommerce_after_shop_loop_item_title','woocommerce_template_loop_price',10);
do_action( 'woocommerce_after_shop_loop_item_title' );
?>
<div class="price-review clearfix">
<div class="list-price">
<?php woocommerce_template_loop_price(); ?>
</div>
<?php woocommerce_template_loop_rating(); ?>
<div class="product-review">
<?php
if ( get_option( 'woocommerce_enable_review_rating' ) === 'yes' ) {
$review_count = $product->get_review_count().__(' Reviews','ri-colias');
echo esc_html($review_count);
}
?>
</div>
<div class="product-add-review">
<a href="<?php the_permalink(); ?>/#tab-reviews"><?php esc_html__('Add your review','ri-colias') ?></a>
</div>
<div class="grid-price">
<?php woocommerce_template_loop_price(); ?>
</div>
</div>
<div class="description-product">
<?php
woocommerce_template_single_excerpt();
?>
</div>
</div>
<div class="button-groups clearfix">
<?php do_action( 'woocommerce_after_shop_loop_item' ); ?>
<?php
$action_add = 'yith-woocompare-add-product';
$url_args = array(
'action' => $action_add,
'id' => $product->id
);
?>
<div class="add-links">
<?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->id
);
?>
<div class="yith-compare ">
<a href="<?php echo wp_nonce_url( add_query_arg( $url_args ), $action_add ); ?>" class="compare btn-inverse add_to_compare" data-product_id="<?php echo esc_attr($product->id); ?>">
</a>
</div>
<?php } ?>
</div>
</div>
</div>
</div>