Viewing 4 replies - 1 through 4 (of 4 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @vyktorjonas,

    Thanks for reaching out on the WooCommerce Forum.

    You could try something like this:

    
    add_filter( 'woocommerce_product_description_heading', 'add_product_title' );
    function add_product_title() {
    	return get_the_title();
    }
    remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_title', 5 );
    
    

    Add code to your child theme’s functions.php file or via a plugin that allows custom functions to be added, such as the Code snippets plugin.

    If you need further help with customizations I can also recommend the #developers channel of the WooCommerce Community Slack.

    Thanks.

    Thread Starter vyktorjonas

    (@vyktorjonas)

    that’s all I needed really, thank you Mirko, although it didn’t work, I used snippets, was that wrong? It didn’t remove the title nor put it in the descrpt, any ideas?

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @vyktorjonas,

    I tried using the code from @rainfallnixfig and it seems to be working quite well.


    Link to image: https://snipboard.io/1nrsBk.jpg

    You mentioned having some other code that also removed the title, could you try disabling it or commenting it out when you add the above code?

    If this doesn’t work, share with us a screenshot of where you’ve added the code.
    *You can use snipboard.io to share the screenshot here.

    Thanks.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Cheers.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Put product name at the top of the description’ is closed to new replies.