Site logo

Archived topic

Hide cart in menu for a specific user role

32 replies · Started by Deyson on April 18, 2022

Viewing posts 31–33 of 33

By default when you go to Appearance > Elements and create a New > Block, the Element Type will default to the: Hook

https://docs.generatepress.com/article/block-element-hook/

Create one of those, and set the Hook to: menu_bar_items

Then in the block editor add a GB Button to display your icon, and give it the link to the checkout.

Set the Display Rules to the Entire Site.

Thank you : )

You're welcome

This archived topic is closed to new replies.