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;