Post by jglidewell » Fri May 06, 2016 3:55 am

Hello, I am trying to get certain payment options to only show for admin users.. I've been searching but haven't been able to find anything for v2.0.. Can anybody help me out?

Is there anything as simple as

if($this->user->isLogged()) {
success
}

or

if($this->user->getUserGroupId($this->user->getId()) == 1) {
success
}

Newbie

Posts

Joined
Fri May 06, 2016 3:51 am

Post by pixelhaus » Tue Aug 09, 2016 2:42 am

Did you find a solution for this? I'm trying to achieve the same.

New member

Posts

Joined
Mon Sep 26, 2011 3:57 pm
Who is online

Users browsing this forum: No registered users and 5 guests