Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #22559

    Hi how can I remove the title of a Single Product using a hook?

    I was able to add the title elsewhere using

    add_action(‘woocommerce_before_single_product_summary’, ‘avia_title’ );

    But I am unable to remove the original.



    Hi gswift1,

    As far as I know there isn’t a hook for something like that. You could potentially use a filter (maybe) but it would be much easier to just target that specific product with css and do a display: none on the title of it.




    Hi Devin,

    Thanks for the suggestion.

    I went ahead and set the display to none.

    I am having the same issue with the add to cart area I was able to add it elsewhere, but I can not remove it from under the product image on a single product page.

    I tried

    remove_action( ‘avia_add_to_cart’, ‘woocommerce_template_single_add_to_cart’, 30, 2 );

    Again is there hook I could use to remove it?

    Thank you.


    Actually the code should work. If it does not open up wp-contentthemespropulsionconfig-woocommerceconfig.php and replace:

    add_action( 'avia_add_to_cart', 'woocommerce_template_single_add_to_cart', 30, 2 );


    //add_action( 'avia_add_to_cart', 'woocommerce_template_single_add_to_cart', 30, 2 );


    Hey Dude,

    I didn’t even think of that.

    Great idea I was able to remove it thank you.

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘How to remove Single Product title with Hook?’ is closed to new replies.