How can we identify the user group for a particular user in front end profile page
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 10
- Joined: 20 Jun 2023, 07:00
How can we identify the user group for a particular user in front end profile page
Environment:
Aimeos 2023.04
Laravel 10
Windows
How can we identify the user group for a particular user in front end profile page?
Aimeos 2023.04
Laravel 10
Windows
How can we identify the user group for a particular user in front end profile page?
Re: How can we identify the user group for a particular user in front end profile page
You can check if the logged in user has the group assigned in the templates if you use:
Code: Select all
if( $this->access( ['<group code>'] ) ) {
}
// or one of several groups
if( $this->access( ['<group code 1>', '<group code 2>'] ) ) {
}
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 10
- Joined: 20 Jun 2023, 07:00