User Group Details Tag

Description: Used to retrieve user group details data

Usage:{% userGroupDetail 变量名称 with name="字段名称" id="1" %}The variable name is not required. After setting the variable name, you can call it by the variable name later, or if the variable name is not set, the result is output directly.

The supported parameters of userGroupDetail are:

  • User Group IDid.idEither level or id can be used to specify which user group ID's details to retrieve.
  • User Group Levellevel.levelChoose either 'level' or 'id' to specify which user group level details to retrieve.

The fields available for the 'name' parameter are:

  • User Group IDId
  • User Group NameTitle
  • User Group DescriptionDescription
  • User Group LevelLevel
  • User Group Purchase PricePrice
  • Discount PriceFavorablePrice
  • User Group SettingsSettingUser Group Settings are set as key-value pairs.

User Group IDId

Tag Usage:{% userGroupDetail with name="Id" %}

{# 默认用法,自动获取当前当前页面用户组ID #}
<div>UserID:{% userGroupDetail with name="Id" %}</div>
{# 获取指定用户组ID #}
<div>UserID:{% userGroupDetail with name="Id" id="1" %}</div>
{# 自定义字段名称 #}
<div>UserID:{% userGroupDetail getId with name="Id" %}{{getId}}</div>
<div>UserID:{% userGroupDetail getId with name="Id" id="1" %}{{getId}}</div>

User Group NameTitle

Tag Usage:{% userGroupDetail with name="Title" %}

{# 默认用法,自动获取当前当前页面用户组ID #}
<div>用户组名称:{% userGroupDetail with name="Title" %}</div>
{# 获取指定Tagid的Tag字段 #}
<div>用户组名称:{% userGroupDetail with name="Title" id="1" %}</div>
{# 自定义字段名称 #}
<div>用户组名称:{% userGroupDetail groupName with name="Title" %}{{groupName}}</div>
<div>用户组名称:{% userGroupDetail groupName with name="Title" id="1" %}{{groupName}}</div>

User Group DescriptionDescription

Tag Usage:{% userGroupDetail with name="Description" %}

{# 默认用法,自动获取当前当前页面用户组ID #}
<div>用户组介绍:{% userGroupDetail with name="Description" %}</div>
{# 获取指定Tagid的Tag字段 #}
<div>用户组介绍:{% userGroupDetail with name="Description" id="1" %}</div>
{# 自定义字段名称 #}
<div>用户组介绍:{% userGroupDetail groupDescription with name="Description" %}{{groupDescription}}</div>
<div>用户组介绍:{% userGroupDetail groupDescription with name="Description" id="1" %}{{groupDescription}}</div>