title: How to display woocommerce sale price or regular price if there is no sale price
body: <p>I'm using a woocommerce product addons plugin where I would like to display the price of a product in my dropdown section of the addons.
  Currently the code I have is this</p>
  
  <pre><code>    &lt;?php
  $loop = 0;
  $current_value = isset( $_POST['addon-' . sanitize_title( $addon['field-name'] ) ] ) ? wc_clean( $_POST[ 'addon-' . sanitize_title( $addon['field-name'] ) ] ) : '';
  global $product;
  ?&gt;
  &lt;p class="form-row form-row-wide addon-wrap-&lt;?php echo sanitize_title( $addon['field-name'] ); ?&gt;"&gt;
      &lt;select class="addon addon-select" name="addon-&lt;?php echo sanitize_title( $addon['field-name'] ); ?&gt;"&gt;
  
          &lt;?php if ( ! isset( $addon['required'] ) ) : ?&gt;
              &lt;option value=""&gt;&lt;?php _e('None', 'woocommerce-product-addons'); ?&gt;&lt;/option&gt;
          &lt;?php else : ?&gt;
              &lt;!--&lt;option value=""&gt;&lt;?php _e('Select an option...', 'woocommerce-product-addons'); ?&gt;&lt;/option&gt;--&gt;
          &lt;?php endif; ?&gt;
  
          &lt;?php foreach ( $addon['options'] as $i =&gt; $option ) :
              $loop ++;
              $price = apply_filters( 'woocommerce_product_addons_option_price',
                  $option['price'] &gt; 0 ? ' + ' . wc_price( get_product_addon_price_for_display( $option['price'] ) ) . '' : '',
                  $option,
                  $i,
                  'select'
              );
              ?&gt;
              &lt;option data-raw-price="&lt;?php echo esc_attr( $option['price'] ); ?&gt;" data-price="&lt;?php echo get_product_addon_price_for_display( $option['price'] ); ?&gt;" value="&lt;?php echo sanitize_title( $option['label'] ) . '-' . $loop; ?&gt;" &lt;?php selected( $current_value, sanitize_title( $option['label'] ) . '-' . $loop ); ?&gt;&gt;&lt;?php echo wptexturize( $option['label'] . ' (' ); echo balanceTags($product-&gt;get_price_html()) . $price ?&gt;)&lt;/option&gt;
          &lt;?php endforeach; ?&gt;
  
      &lt;/select&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>I'm using this echo</p>
  
  <pre><code>$product-&gt;get_price_html()
  </code></pre>
  
  <p>what this does though is display the $"sale price" $"price" but I just want to display just the sale price or just the product price if there is no sale price. Looking at the code below, how would I accomplish this?</p>