I am working on an event registration. We need to hide certain
price set line items based on various factors. Most are based on
previous field response but there is one line item that needs to be
hidden if user is logged in. I found this post:
So I’ve done something similar (I used the group a user was a
part of vs just a user) with a template ‘extra’ file that contained
javescript and a quick call to the API. Not sure if this is the
ideal method but it worked to show/hide some content.