Sections in WooCommerce Product Page ?

Home Forums Support Sections in WooCommerce Product Page ?

Home Forums Support Sections in WooCommerce Product Page ?

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #124080
    Dhruv

    Hey Tom,

    Can I use Sections Add-on on woocoomerce single product post ?

    Dhruv

    #124206
    Tom
    Lead Developer
    Lead Developer

    Currently there’s no easy solution for this – but I’m working on it.

    I had the same problem on this site using Easy Digital Downloads – what I’ve done for now is create regular pages for my products and then set up 301 redirects from the product pages to my pages.

    This is high on my to-do list though.

    #124504
    Dhruv

    I am waiting for this feature in sections addon πŸ™‚

    #131479
    Tom
    Lead Developer
    Lead Developer

    This is possible in the latest version of Sections/GP Premium!

    Something like this should do the trick:

    add_filter( 'generate_sections_post_types','generate_add_section_post_types' );
    function generate_add_section_post_types()
    {
          return array( 'page','post','product' );
    }

    Adding PHP: https://generatepress.com/knowledgebase/adding-php-functions/

    #188098
    Daniel

    Any update for this yet? I tried solution above, but doesnt work! Thanks

    #188099
    Daniel

    (frontend, anyway – I can see them backend!)

    #188180
    Tom
    Lead Developer
    Lead Developer

    Ah, interesting. It seems the WooCommerce template overrides the Sections template.

    I’ll have to play with this some more to see if it’s possible to tell WooCommerce to take a back seat to Sections.

    #188545
    Daniel

    Thanks, appreciate it – I want the WC categories to display in the same format and styling as all the other ‘pages’ with the header section – otherwise I’m going to get duplicate content issues if I create them all as separate pages showing the same category content πŸ™

    Thanks!!

    #188604
    Tom
    Lead Developer
    Lead Developer

    One option is to create them as separate pages with the WC shortcodes in Sections, then use 301 redirects from the category pages to your static pages. That will prevent the duplicate content issues.

    #549796
    Vision64 GmbH & Co KG

    Any news on this?

    I would also like to use sections in WooCommerce.

    Will it be included soon?
    Uwe

    #549979
    Tom
    Lead Developer
    Lead Developer

    No new news on this unfortunately. With the upcoming release of Gutenberg, we’ll likely be looking to move from Sections to Gutenberg blocks.

    #1139422
    fabiosilva

    Any news, Tom? :-S

    #1139697
    Tom
    Lead Developer
    Lead Developer

    We’ll be releasing our block plugin (Sections replacement) shortly πŸ™‚

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