I’ve used a script created by one of the team members here that placed an extra icon in the header. Depending on user type, it showed a different icon.
Also, admins still can’t see the button from the first script. I’ve been told by staff here that until 2.3 that won’t be possible (no staff class or something like that in 2.2)
That looks like a CSS issue. Easier to debug when looking at the site in a browser with the inspector open.
I didn’t look at the first script at all earlier, because I didn’t see an icon reference, but, in fact, you should merge the two scripts together to something like this:
This will use admin-icon for admins and shopping-cart for non-admins. (Use an icon of your choice instead of the admin-icon placeholder I put in the code above.)
Had small problems with that code @pmusaraj, also another dev team told me that this would be impossible to do with 2.2 as admin class isn’t used in 2.2? Not sure what that means. Anyway, our UI guy was able to do it (@shaundefense) via this code: