SILENT KILLERPanel

Current Path: > home > codekrsu > > cuddlebuds.lk > wp-content > plugins > woocommerce > templates > single-product


Operation   : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Software     : Apache
Server IP    : 162.0.232.56 | Your IP: 216.73.216.111
Domains      : 1034 Domain(s)
Permission   : [ 0755 ]

Files and Folders in: /home/codekrsu//cuddlebuds.lk/wp-content/plugins/woocommerce/templates/single-product

NameTypeSizeLast ModifiedActions
add-to-cart Directory - -
tabs Directory - -
meta.php File 1621 bytes January 21 2025 18:53:44.
photoswipe.php File 2355 bytes December 18 2024 22:19:16.
price.php File 861 bytes April 10 2024 16:54:10.
product-attributes.php File 1421 bytes August 27 2024 23:04:44.
product-image.php File 2623 bytes January 21 2025 18:53:44.
product-thumbnails.php File 1601 bytes March 03 2025 22:28:12.
rating.php File 1435 bytes April 10 2024 16:54:10.
related.php File 1491 bytes December 18 2024 22:19:16.
review-meta.php File 1633 bytes April 10 2024 16:54:10.
review-rating.php File 930 bytes April 10 2024 16:54:10.
review.php File 1814 bytes April 10 2024 16:54:10.
sale-flash.php File 1046 bytes April 10 2024 16:54:10.
share.php File 942 bytes April 10 2024 16:54:10.
short-description.php File 994 bytes April 10 2024 16:54:10.
stock.php File 771 bytes April 10 2024 16:54:10.
title.php File 770 bytes April 10 2024 16:54:10.
up-sells.php File 1477 bytes December 18 2024 22:19:16.

Reading File: /home/codekrsu//cuddlebuds.lk/wp-content/plugins/woocommerce/templates/single-product/rating.php

<?php
/**
 * Single Product Rating
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/single-product/rating.php.
 *
 * HOWEVER, on occasion WooCommerce will need to update template files and you
 * (the theme developer) will need to copy the new files to your theme to
 * maintain compatibility. We try to do this as little as possible, but it does
 * happen. When this occurs the version of the template file will be bumped and
 * the readme will list any important changes.
 *
 * @see     https://woocommerce.com/document/template-structure/
 * @package WooCommerce\Templates
 * @version 3.6.0
 */

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

global $product;

if ( ! wc_review_ratings_enabled() ) {
	return;
}

$rating_count = $product->get_rating_count();
$review_count = $product->get_review_count();
$average      = $product->get_average_rating();

if ( $rating_count > 0 ) : ?>

	<div class="woocommerce-product-rating">
		<?php echo wc_get_rating_html( $average, $rating_count ); // WPCS: XSS ok. ?>
		<?php if ( comments_open() ) : ?>
			<?php //phpcs:disable ?>
			<a href="#reviews" class="woocommerce-review-link" rel="nofollow">(<?php printf( _n( '%s customer review', '%s customer reviews', $review_count, 'woocommerce' ), '<span class="count">' . esc_html( $review_count ) . '</span>' ); ?>)</a>
			<?php // phpcs:enable ?>
		<?php endif ?>
	</div>

<?php endif; ?>

SILENT KILLER Tool