This plugin is meant to be used instead of normal hikashoporders plugin, and it will enrol users in course AND group.
Remember to disable hikashoporders plugin, as it can conflict with this one.
You need to define groups as product characteristics, in the form: group_id: group_name
The group_id and group_name can be obtained from moodle database table: "mdl_groups"; column headings: “id: name”.
Group must be the first charasteristic. You can use others, not Joomdle related, but they must go after the group selection.