Page 1 of 2

Add usergroup to newly created user

Posted: 03 Jul 2016, 16:34
by ivofrie
Hi guys!

I have allmost finished my first webshop with Aimeos, really great work guys! It will for shure not be my last implementation into TYPO3.

During the order process, a new backend user is created and the address data is stored in the correct fields, as far as good. But how could the respective user group be set into that user account?

I have allready tried to set "TCAdefaults.fe_users.usergroup = 7" into the the config section of the SysFolder where the users are stored (and yes, 7 is the correct ID of the usergroup).

Thank you for a hint!

Kind regards, Ivo

Re: Add usergroup to newly created user

Posted: 03 Jul 2016, 19:18
by aimeos
ivofrie wrote: I have allmost finished my first webshop with Aimeos, really great work guys! It will for shure not be my last implementation into TYPO3.
Great to hear that! :-)
ivofrie wrote: During the order process, a new backend user is created and the address data is stored in the correct fields, as far as good. But how could the respective user group be set into that user account?
Use this configuration:

Code: Select all

tx_plugin.aimeos.settings.client.html.checkout.standard.order.account.standard.groupids
It accepts a single group ID or a list of group IDs (an array).

Re: Add usergroup to newly created user

Posted: 04 Jul 2016, 18:39
by ivofrie
Dear Administrator,

Thank you so much for your fast answer, even on a Sunday :o

The snipped works, but should of course be modified like that:

Code: Select all

plugin.tx_aimeos.settings.client.html.checkout.standard.order.account.standard.groupids = X
Thank you once again, really great that support!

Re: Add usergroup to newly created user

Posted: 20 Apr 2017, 18:33
by ltwmaster
Hey Guys,

I have also added the TS to the "Resources" Tab in the Folder "Users", but it doenst work.
Am I getting something wrong? Should the TS be added to the Scheduler Task that sends out the account email? or to the checkout page?

I am using the standard installation package on a fresh typo3 installation.

Cheers in advance,
ltw

Re: Add usergroup to newly created user

Posted: 21 Apr 2017, 16:18
by aimeos
The configuration should go into the root TypoScript setup template.

Re: Add usergroup to newly created user

Posted: 16 May 2017, 08:01
by ltwmaster
Hey Guys,

Code: Select all

plugin.tx_aimeos.settings.client.html.checkout.standard.order.account.standard.groupids = 2
does not do the job for me. Is there any scheduler Job that needs to be setup for this to work?

Re: Add usergroup to newly created user

Posted: 16 May 2017, 15:09
by aimeos
Can you post a screenshot of your configuration? Seems like you've still entered it into the wrong location.

Re: Add usergroup to newly created user

Posted: 16 May 2017, 15:38
by ltwmaster
Hi Aimeos,

Thank you for the quick reply!

Do you mean the TS that is in the template? Or which configuration?

I am using the quick installation...

Cheers,
ltw

Re: Add usergroup to newly created user

Posted: 17 May 2017, 19:24
by aimeos
Seems to be the correct configuration. The value "2" is the ID of the "users" sysfolder?

The new configuration is this but that shouldn't matter because there's a fallback:

Code: Select all

plugin.tx_aimeos.settings.client.html.checkout.standard.process.account.standard.groupids = 2

Re: Add usergroup to newly created user

Posted: 18 May 2017, 06:45
by ltwmaster
Dear Support,

I feel a bit awkward: I just checked back in my db and I used the wrong ID... Works like a charm now.