News:

Looking for documentation? Take a look on our wiki

Main Menu

Registering new users into a specific shoppergroup

Started by sandstorm, October 17, 2013, 11:00:54 AM

Previous topic - Next topic

sandstorm

I want users to register with the website and be assigned to a shopper group in Virtuemart. Does anyone know how this is possible?

I want most user t just register as normal and they wont be assigned to any shopper group, but for my question above I will create another registration form so that a special group of invited users can register and will be added to a shopper group with special prices.

I looked at this plugin http://www.barg-it.de/en/component/virtuemart/bit-change-shopper-group-for-virtuemart.html?Itemid=175  but this doesnt seem to do what I need.

I know I can use Akeeba Subscriptions with teh VM2 plugin, but this seems a bit over the top for just registering users. Does anybody else have any ideas or thoughts on how to achieve this?

Andy
J3.6.4 / PHP7.0.12
VM3.0.16

jenkinhill

Anyone registering as a shopper will automatically be assigned to the default shopper group as that is a basic VM function. If you use an alternative registration page for your selected clients I guess you can use the plugin maybe to auto-select their shopper group or tell them to select an option. Not used that plugin so have not tested this!
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

sandstorm

I wanted a user to register via a Joomla user registration form.
That user to be assigned to a Joomal User group & also be assigned to a shoppergroup.

This wasnt possible with any off the shelf plugins so with a bit of modification I now have this working.

1st I used RS Form Pro to create my Joomla User Registration & I modified the Joomla User registration plugin that comes with RS Form Pro, to assign new users to a Jooma shopper group.

2nd I asked Petra @ Barg.it.de to modify the plugin that Jenkinhill suggested, so that users in a joomla usergroup are automatically assigned to a shopper group as soon as they log in.


So when a new user now register via one of my modified RSFORM Joomla User registration forms they are added to a specific Joomla User Group & when the login,petra plugin automatically assigns them to a specific shoppergroup too, so once logged in they see there special shoppergroup prices automatically.


I think there should be some better integration between Joomla User groups & VM shopper groups as standard/default, so that this sort of task can be done by setting a few parameters in VM & Joomla. I dont think enough people make proper use of the Joomla ACL & VM shoppergroups! :-X
J3.6.4 / PHP7.0.12
VM3.0.16

jenkinhill

Very few stores actually need to use shopper groups but where I have needed them I have not had any problems, but then I have not needed to assign to a specific group on registration as it has been managed by a store admin if necessary. Now we have ACL in 2.0.24+ then other options may become possible but I have not yet looked into this..
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum