Skip to main content

Creating Customer-Specific Menu Options

You may have an account (or multiple accounts) that want a menu option all other accounts shouldn't see on the storefront. Here are directions on how to set this up.

Shawn Westphal avatar
Written by Shawn Westphal
Updated over a week ago

1. Create a customer label by clicking on the +New Label tab and assign to Customers -- note the ID number for later

2. Add the new label to the accounts and child accounts that need to see the new menu option

3. Create the menu option and add a CSS Class to make the menu option work as wanted -- for example: CustMenu

4. Add custom CSS to hide the menu option by default and another CSS rule to display it when a customer with the label is logged in

Place the code in Appearance > Theme Options > CSS Block

li.CustMenu {

display: none !important;

}

body.ex-l-3020.ex-loggedin li.CustMenu{

display: inline-block !important;

}

Note #1: The CSS Class you add needs to replace both instances of "CustMenu" in the code above

Note #2: The ID of the label you created needs to replace "3020" in the code above

The menu option can now be seen by accounts with the specified label!

Did this answer your question?