public function displayContent()
 {
     parent::displayContent();
     self::$smarty->display(_PS_THEME_DIR_ . '../../modules/blockconfigurador/categoryConfigurador.tpl');
 }
 public static function getCurrentCustomerGroups()
 {
     if (!isset(self::$cookie) || !self::$cookie->id_customer) {
         return array();
     }
     if (!is_array(self::$currentCustomerGroups)) {
         self::$currentCustomerGroups = array();
         $result = Db::getInstance()->ExecuteS('SELECT id_group FROM ' . _DB_PREFIX_ . 'customer_group WHERE id_customer = ' . (int) self::$cookie->id_customer);
         foreach ($result as $row) {
             self::$currentCustomerGroups[] = $row['id_group'];
         }
     }
     return self::$currentCustomerGroups;
 }