VirtueShop comes with an extended User Management compared to Joomla's User Management Features.
Always use the VirtueShop User Manager for Adding / Editing and Deleting Users to / from your Joomla site! If you use Joomla's built-in User Manager you will run into problems because required billing and shipping database table entries are not created for such users.
When you delete users from Joomla's User Manager instead of VirtueShop User Manager user's billing, shipping, order and various entries remain in database.
VirtueShop also provides the ability to create any number of addresses for a particular user. Not only can a user have separate bill to and ship to addresses, but addresses for home and business as well.
VirtueShop offers the ability to assign users to a Shopper Group. This enables Storekeepers to create Shopper Groups for whatever need (e.g. site access, customer rating, tax display, etc.). These shopper groups can then be used to provide special services, discounts, or access to a specific group of users. Because users and shopper groups are associated to a particular vendor, it is important to create your vendor records before creating the user and shopper group records.
There can only be one "default" shopper group.
Whatever shopper group you set as default, its settings are used for new customers. New customers are automatically assigned to the default shopper group.
Adding or modifying a Shopper Group
You can add and modify shopper groups in VirtueShop using the Shopper Group List, which can be accessed through the menu: "Shopper" ⇒ "List Shopper Groups".
Figure 4.58. VirtueShop Administration: Shopper Group List
To add a new shopper group, just click on the "New" button in the toolbar. In the following shopper group form just fill out the necessary fields.
Figure 4.59. VirtueShop Administration: Shopper Group Form
Deleting Shopper Groups
You can delete Shopper Groups from the Shopper Group List by clicking the "Trash Bin" icon in the last column of each row in the shopper group list. You could also check the checkboxes of each shopper group which you want to remove and click the "Remove" button in the toolbar.
You cannot delete shopper group that still has customers assigned to it.
Adding or modifying Users
User Groups are "Permission Groups" and used to restrict access to certain parts and functions of the shop. Each user is assigned to a user group. By default registered customers are members of the group "shopper".
When can this be useful?Imagine you have a user, who wants to access the "Report" section of the store. Usually this is restricted to admins and stoeradmins. If you assign this user to the admin/storeadmin group, he will also be able to access other sensible parts of the store, where he could change or delete important data. The solution is to add a new User Group called "Report", which will have the same permissions as shoppers PLUS access to the "report" core module. After the Group has been added, you can assign this user to the new group.
User Groups can be added, modified and deleted from the User Group List ("Admin" ⇒ "User Groups").
Figure 4.60. VirtueShop Administration: User Group List
You can click on the name of an existing group to open the user group form.
The groups "admin", "storeadmin" and "shopper" are key groups in VirtueShop and cannot be modified or removed.
You can add a new Group by clicking on the "New" button in the toolbar. This opens the User Group Form:
Figure 4.61. VirtueShop Administration: User Group Form
Here you can choose a name for the group and the group level.
The higher the group level the less permissions are assumed: "admin" has higher permissions than "storeadmin" because the group level number is lower.
After you have saved the user group, it is available in the core module and function list/forms.
Figure 4.62. VirtueShop Administration: The New Group in the Module List
Now you can start to grant permissions to this new group by checking the boxes in this list for the column of the "New Group".
The same needs to be done for the function list of each module.
The "User Fields" Management allows you to freely modify the fields displayed on registration and account maintenance. Such fields are for example: First Name, Last Name, Telephone,...
The User Field Management can be accessed via "Admin" ⇒ "Manage User Fields".
Figure 4.63. VirtueShop Administration: Manage User Fields
188.8.131.52. Add a new Field
You can add a new field by clicking the "New" button on the toolbar in the User Field List. The Field Form allows you to choose from various field types like
|Text Input Field|
- Web Address
Used for Web Addresses.
- EU VAT ID
Checks for a valid EU VAT ID upon Registration.
- Age Verification
Allows you to ask the Customer for her/his Birthday to check if she/he is old enough to purchase from your Store. You can specify the minimum age at the bottom of the Registration Field Form after you have selected this type.
Some other Field Types will be visible depending on what other components you have installed on your Joomla.
- Newsletter Registration
You can let your new Customers to automatically subscribe to a Newsletter. The following Components are supported: AcyMailing Business.
- Captcha Field
Obviously not a good idea if you don't want to bug new Customers, but sometimes necessary to prevent Registration Spam. You can add a Captcha check to the Registration Form if the SecurityImages Component is installed on your Site.
In our example we will add a new field where users from the EU can fill in the EU VAT ID of their company if applicable.
Figure 4.64. VirtueShop Administration: Add a new User Field
The Form Fields have the following meaning:
The type of this field. Can't be changed afterwards!
- Table Field Name
The name of the column that will be inserted into the table structure of the tables "jos_vm_user_info" and "jos_vm_order_user_info" in your database.
This is the Label of the Field in the Registration / Account Maintenance Form
This description will be shown to the customer in the frontend in a small tooltip besides the field to explain the field.
If this is set to yes, a value must be provided or chosen, otherwise registration will not be possible.
- Show on Account?
This defines whether the field is shown in the account maintenance form or not.
- User Read Only?
If this is set to yes, the field is read-only and can't be changed by the customer.
- Show at Registration?
If this is set to yes, the field will be shown in the registration form.
Here you can unpublish the field completely, so it won't be shown in any form.
This defines the length of text input fields.
- Max Length
This is the maximum number of characters that can be filled into the text field.
- Move the customer into the following Shopper Group...
Here you can select into which shopper group the newly registered customer is moved when the EU VAT ID has been successfully validated.
If you are finished filling in the necessary values, don't forget to Save your changes.
Here is a screenshot of the newly added field "EU Vat ID" in the registration form:
Figure 4.65. VirtueShop Administration: New Field "EU Vat ID" in the registration form
184.108.40.206. Modifying Fields
Fields can be reordered, renamed, published, set to be required or not and much more.
Fields can be reordered using the blue arrows in the user field list or using the text input fields in each row of the list:
Figure 4.66. VirtueShop Administration: Re-Ordering in the Field List
If you have used the input fields to change the ordering of the fields, you must apply your changes by clicking the Save Icon in the top of this column. After that the fields will be reordered.
Publish (show)/Unpublish (hide) Fields
You can publish and unpublish fields by clicking on the icon in the column "Published". After that the publish state will be toggled.
You can access the field form by clicking a field name in the User Field List. In this form you can modify all settings except the field type.
Figure 4.67. VirtueShop Administration: Modifying a Field
You can delete all non-system fields from the User Field List. You just need to click on the Trash Bin icon at the end of the row of the item you want to remove. You can also select the checkboxes of the fields which you want to delete and then click the "Remove" button in the toolbar.