Remove_action not working on price

  • Open
  • axa
    Keymaster
    July 9, 2020 at 5:42 am #5594

    Hi
    I use the following code

    remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_price’, 10 );

    But the price is not removed from my sidebar

    These files are used in my template

    class-widget-product-details.php> http://txt.do/1gf88

    single-product-demo2.php> http://txt.do/1gps9

    wc-hooks.php>  http://txt.do/1gpsq

    i use demo2
    Please help me remove the price