Okay
  Public Ticket #3442752
Woocommerce global section
Closed

Comments

  •  28
    Co-Brains started the conversation

    Hi! I'm currently using the new global section hook feature and I find that pretty great!

    I was wondering if there is a way to apply that rule UNLY oh woocommerce pages, such as product (which is already possible, i know that), shop and category. It would be great too if there is a way to add them on specific page.

    To explain myself better: I'm creating an e-commerce website, which, however, appears as if it were two separate sites - the showcase website and the e-commerce platform. To achieve this, I'm using two different menus based on the pages, and I would like to be able to do the same with the footer.

    Thank you

  •  279
    Noah replied

    Hi there,

    Right now you would maybe need to use different hooks for example shop and product category pages use the Hook: Before and After Shop Loop. For the single product page use the Hook: Single Product Before and After Summary.

    There is no one size fits all. The good thing is that you can use the same global section on those hook locations. Try to get them to display with the display hooks option as shown here - https://themenectar.com/docs/salient/page-builder-global-sections/

    Hope this clears things up.

  •  28
    Co-Brains replied

    Thank you Noah, I think this could work, but how can I hide the ones that I don't want in that pages?

    I now realize that in specific page I can use global section as usual. 
    But could it perhaps be a future theme update? It could be useful for rendering global sections in locations that are otherwise accessible only through PHP.

    Thank you

  •  279
    Noah replied

    Hi there,

    We will make a feature request to the developer so they can consider it in future updates to the theme.

    Thanks.