/var/www/(Del)hsihk.com/wp-content/themes/flatsome/woocommerce/single-product/price.php


1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<?php
/**
 * Single Product Price, including microdata for SEO
 *
 * @author         WooThemes
 * @package     WooCommerce/Templates
 * @version     1.6.4
 */

if ( ! defined'ABSPATH' ) ) exit; // Exit if accessed directly

global $post$product;
?>
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
    <p class="price large"><?php echo $product->get_price_html(); ?></p>
  <meta itemprop="price" content="<?php echo $product->get_price(); ?>" />
  <meta itemprop="priceCurrency" content="<?php echo get_woocommerce_currency(); ?>" />
  <link itemprop="availability" href="http://schema.org/<?php echo $product->is_in_stock() ? 'InStock' 'OutOfStock'?>" />
</div>