Restrict extensions to customer group

@Stanley Ukadike - In an extension that runs in the customers area, you have access to Yii::app()->customer object and you can call something like:
Code:
Yii::app()->customer->getModel()->group_id
To see if the customer is in the right group or not and if he is do something special for him.
 
Back
Top