How to allow to my customer to register om my site
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
How to allow to my customer to register om my site
I need to allow to our customer to register in my site!!
when I use the default registration option it is add new site user (as site admin or editor).
and I need to add option for anonymous user
option 1: continue as anonymous ...
option 2: register as customer
best regards
when I use the default registration option it is add new site user (as site admin or editor).
and I need to add option for anonymous user
option 1: continue as anonymous ...
option 2: register as customer
best regards
Re: How to allow to my customer to register om my site
Users are registerd at the end of the checkout automatically if they don't tick off the checkbox in the checkout summary page for creating a new account. If you want to force them to register manually, you have to remove these lines:
https://github.com/aimeos/aimeos/blob/m ... p#L93-L109
https://github.com/aimeos/aimeos/blob/m ... p#L93-L109
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: How to allow to my customer to register om my site
I made it and its works
but i have question how to know this user is customer vendor both what diffrence betwwen them both of them in users table ?
but i have question how to know this user is customer vendor both what diffrence betwwen them both of them in users table ?
Re: How to allow to my customer to register om my site
Thank you that helpful!
My scenario depend on vendor request to open a store then from dashboard the admin can review the request and approved it or decalin.
how can I do that!
And how can I distinguish between a customer account and a vendor account?
My scenario depend on vendor request to open a store then from dashboard the admin can review the request and approved it or decalin.
how can I do that!
And how can I distinguish between a customer account and a vendor account?
Re: How to allow to my customer to register om my site
Set the status of the customer accounts to -1 (review) here:
https://github.com/aimeos/aimeos/blob/m ... hp#L86-L91
For approval, set the status to enabled (or disabled to decline) in the admin backend afterwards.
Vendors have the "admin" or "editor" group assigned to their accounts (user -> user_list -> mshop_customer_group table relation).
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