<?php 
// This is a self contained template that the user can use to customize the countdown timer. Here can be found both HTML and Javascript in one place

$product_id = isset($post) ? $post->ID : $product->get_id();
if(isset($result['show_countdown_to_expiration_date']) && $result['show_countdown_to_expiration_date'] != "" && isset($result['expiring_date']) && $result['expiring_date'] != ""): ?>
<div class="wcas-countdown wcas-countdow-to-exiration-date">
	<span id="expiratin-date-clock<?php echo $product_id ?>" class="wcas-expiratin-date-controller" data-id="<?php echo $product_id ?>"></span>
</div>


<?php endif; ?>