title: How to get woocommerce price attributes
body: <p>Im trying to get the following information on a woocommerce single product page in order to replace the default price style of woocommerce.</p>
  
  <p>When Item is on sale, I want to be able to get the original price and discounted price and echo it inside a dive for further styling. Im trying to achive something like this.</p>
  
  <pre><code>&lt;div id="orig-price"&gt;Original Price: &lt;?php echo $price; ?&gt;&lt;/div&gt;
  &lt;div id="sale-price"&gt;Sale Price: &lt;?php echo $sale-price; ?&gt;&lt;/div&gt;
  &lt;div id="saved"&gt;You saved: &lt;?php $saved=$price-$saleprice; echo $saved; ?&gt;&lt;/div&gt;
  </code></pre>
  
  <p>I tried opening price.php but did not find what I am looking for. here is what I get.</p>
  
  <pre><code>&lt;div itemprop="offers" itemscope itemtype="http://schema.org/Offer"&gt;
  
      &lt;p class="price"&gt;&lt;?php echo $product-&gt;get_price_html(); ?&gt;&lt;/p&gt;
  
      &lt;meta itemprop="price" content="&lt;?php echo $product-&gt;get_price(); ?&gt;" /&gt;
      &lt;meta itemprop="priceCurrency" content="&lt;?php echo get_woocommerce_currency(); ?&gt;" /&gt;
      &lt;link itemprop="availability" href="http://schema.org/&lt;?php echo $product-&gt;is_in_stock() ? 'InStock' : 'OutOfStock'; ?&gt;" /&gt;
      &lt;div&gt;&lt;?php echo $sale_price_in_percent; ?&gt;&lt;/div&gt;
  
  &lt;/div&gt;
  </code></pre>
  
  <p>Am I on the right place? Anyone know how can I access these attributes?</p>
  
  <p>Thanks</p>