Add usergroup to newly created user
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Add usergroup to newly created user
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
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
Great to hear that!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.
Use this configuration: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?
Code: Select all
tx_plugin.aimeos.settings.client.html.checkout.standard.order.account.standard.groupids
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Add usergroup to newly created user
Dear Administrator,
Thank you so much for your fast answer, even on a Sunday
The snipped works, but should of course be modified like that:
Thank you once again, really great that support!
Thank you so much for your fast answer, even on a Sunday
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
Re: Add usergroup to newly created user
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
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
The configuration should go into the root TypoScript setup template.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Add usergroup to newly created user
Hey Guys,
does not do the job for me. Is there any scheduler Job that needs to be setup for this to work?
Code: Select all
plugin.tx_aimeos.settings.client.html.checkout.standard.order.account.standard.groupids = 2
Re: Add usergroup to newly created user
Can you post a screenshot of your configuration? Seems like you've still entered it into the wrong location.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Add usergroup to newly created user
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
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
- Attachments
-
- Bildschirmfoto 2017-05-16 um 17.37.21.png (236.31 KiB) Viewed 4510 times
Re: Add usergroup to newly created user
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:
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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: Add usergroup to newly created user
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.
I feel a bit awkward: I just checked back in my db and I used the wrong ID... Works like a charm now.