:::: MENU ::::

PrestaShop get current user group

PrestaShop get current user group

Today we talk about PrestaShop get current user group. In this tutorial, we focus on how to get a customer user group. Sometimes we need user groups to perform some actions. So let’s start with an example. This tutorial will only give the default group of the customer.

 $groupId = Group::getCurrent()->id;
Author: Qaisar Satti
Category: Prestashop
Last Modified: February 23, 2021


Comments are closed.