VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: sandstorm on October 17, 2013, 11:00:54 AM

Title: Registering new users into a specific shoppergroup
Post by: sandstorm on October 17, 2013, 11:00:54 AM
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
Title: Re: Registering new users into a specific shoppergroup
Post by: jenkinhill on October 17, 2013, 11:20:17 AM
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!
Title: Re: Registering new users into a specific shoppergroup
Post by: sandstorm on October 31, 2013, 11:57:02 AM
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
Title: Re: Registering new users into a specific shoppergroup
Post by: jenkinhill on October 31, 2013, 12:43:56 PM
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..