Price not showing, and Sales tag now showing

I currently have a wordpress website where users can upload and sell their music. in the post page for woocommerce, i had a custom ‘regular price’ field that would give the user a dropdown with prices too select. it has been working all along until recently, now the price no longer shows on the front end and a sales tag now appears on the product images.

here is the code for the custom price field:

Read More
 add_action( 'woocommerce_product_options_pricing', 'theme_slug_custom_product_field' );

function theme_slug_custom_product_field() {
  woocommerce_wp_select(array( 
    'id' => '_regular_price'
    , 'label' => __( 'Regular Price', 'woocommerce' ) . ' (' . get_woocommerce_currency_symbol() . ')'
    , 'data_type' => 'price'
    , 'options' => array(
      ''=>Free
      , '0.99'=>Singles
      , '4.99'=>Mixtapes
      , '9.99'=>Albums ) 
  )
);
}

I really need to figure out what is causing this.

Related posts