woocommerce/templates/loop/price.php

11 lines
177 B
PHP

<?php
/**
* Loop Price
*/
global $product;
?>
<?php if ($price_html = $product->get_price_html()) : ?>
<span class="price"><?php echo $price_html; ?></span>
<?php endif; ?>