HEX
Server: LiteSpeed
System: Linux sg-cp4.cloudnetwork.vn 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64
User: thu28850 (1134)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //home/thu28850/www/wp-content/plugins/woocommerce-deals/templates/single-product/deal.php
<?php
/**
 * Single Product Deal
 *
 * This template can be overridden by copying it to yourtheme/woocommerce/single-product/deal.php.
 *
 * @author  Drfuri
 * @package WooCommerce Deals/Templates
 * @version 1.0.0
 */

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

<div class="tawc-deal deal">
	<?php if ( $expire ) : ?>
		<div class="deal-expire-date">
			<div class="deal-expire-text"><?php echo wp_kses_post( $expire_text ) ?></div>
			<div class="deal-expire-countdown" data-expire="<?php echo esc_attr( $expire ) ?>"></div>
		</div>
	<?php endif; ?>

	<div class="deal-sold">
		<div class="deal-sold-text"><?php echo wp_kses_post( $sold_text ) ?></div>
		<div class="deal-progress">
			<div class="progress-bar">
				<div class="progress-value" style="width: <?php echo $sold / $limit * 100 ?>%"></div>
			</div>
		</div>
		<div class="deal-text">
			<span class="amount"><span class="sold"><?php echo $sold ?></span>/<span class="limit"><?php echo $limit ?></span></span> <?php esc_html_e( 'sold', 'tawc-deals' ) ?>
		</div>
	</div>
</div>