Site icon Qaisar Satti's Blogs

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;
Exit mobile version