Is there a way to disable Support Cases all togeth...
# suitecommerce
n
Is there a way to disable Support Cases all together in SuiteCommerce without touching the code?
n
@Steve Goldberg Thanks for the quick reply. Sorry, I should have been more specific! I found that and did that before posting; however, the links still show up and error out of the user. Then they just call our 800 number or email us saying the website doesnt work.
s
… that’s odd because we check permissions before rendering the page links
Have you yourself verified that the links are still showing even when the role is configured correctly?
message has been deleted
I just tested it on my site and the links are hidden
message has been deleted
Did you change the correct role? Are those customers using that role?
n
Thanks Steve. Sorry to have wasted your time. I think the challenge is we dont have a standard theme..I've found lots of hard coded things like this. I inherited this a year or so after we went live. I'm going to try to reach out to our partner and see if that can fix it.
s
Hmm. Just search through the source and see if you can find a reference to
lists.listCase.2
— I don’t think this is a new architectural concept
Anyway, the simplest solution is just to write some CSS that targets the parent node and hides it, eg
Copy code
.menu-tree-node[data-permissions="lists.listCase.2"] {
    display: none;
}
You can put that in the SMTs if you want
n
Thanks for your help!