<?php
/**
 * @var $price
 * @var $sale_price
 */
?>


<div class="stm_lms_course__meta">
		<i class="fa fa-credit-card"></i>
		 <?php if (empty($price) and empty($sale_price)): ?>
        <?php esc_html_e('Free', 'masterstudy-lms-learning-management-system'); ?>
    <?php elseif (!empty($price) and !empty($sale_price)): ?>
        <span><?php echo STM_LMS_Helpers::display_price($price); ?></span>
        <?php echo STM_LMS_Helpers::display_price($sale_price); ?>
    <?php else: ?>
        <?php echo STM_LMS_Helpers::display_price($price); ?>
    <?php endif; ?>     
 </div>