This commit is contained in:
KhaiNguyen
2020-02-13 10:39:37 +07:00
commit 59401cb805
12867 changed files with 4646216 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
<?php
/**
* Loop Price
*
* @see https://docs.woocommerce.com/document/template-structure/
* @author WooThemes
* @package WooCommerce/Templates
* @version 1.6.4
*/
if ( ! defined( 'ABSPATH' ) ) {
exit; // Exit if accessed directly
}
global $product;
?>
<div class="categories"><?php echo wc_get_product_category_list( $product->get_id() ); ?></div>
<?php if ( $price_html = $product->get_price_html() ) : ?>
<span class="price"><?php echo '<span class="price-wrapper">' . $price_html . '</span>'; ?></span>
<?php endif; ?>