Support » Theme: Neve » Woocommerce Shop Page content

  • Resolved acurran

    (@acurran)


    Hello,
    If I add content to the WooCommerce shop page using the standard block editor, it does not appear on the page. If I switch the theme to Twenty Twenty the content shows up but then when I switch back to Neve it’s gone again. The only content on the page is the WooCommerce product grid. Does Neve disable page content from appearing on the shop page? How can I enable the page content on the shop page?
    Thanks,
    Aidan

Viewing 5 replies - 1 through 5 (of 5 total)
  • acurran

    (@acurran)

    Excuse me bumping this but I’m still looking for an answer to this issue.
    Thanks,
    Aidan

    @acurran,

    Thank you for using the Neve theme! That’s correct – the content of the default shop page is hidden but you can add this action to populate the content before the items:

    add_action( 'woocommerce_before_shop_loop', 'woocommerce_product_archive_description', 10 );

    It can be placed in the functions.php of your theme if you are using the child theme or use plugin like this one to add additional functions: https://docs.themeisle.com/article/889-how-to-create-a-site-specific-plugin

    I hope it helps!

    Thank you. I tried that and it somewhat works.

    I see that it doesn’t allow section blocks – I guess that’s because it is stripping out the content and putting it into a div with the class ‘page-description’. I guess that’s due to the way WooCommerce is set up though and not due to Neve?

    If I wanted to have full section blocks before the product grid, I guess I would have to override that archive-product.php WooCommerce template?

    Hi @acurran,

    You should be able to achieve this with custom CSS – target the CSS class of the DIV that wraps your content and make the width of it fullscreen or the width you desire to have.

    Ok, thank you. I actually ended up with a CSS solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.