| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Automate Membership | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Automate Membership
Hi.
I would like to auto set membership by email domain. for example: When New user registered with the email User@domain.com he will be automatically assign to a specific membership (without the need to approve the pending membership) I saw in the KB examples to modify it on Xcart4 but not on Xcart5 (by Modify the code in include/check_useraccount.php which i can't find in Xcart 5) Thanks, Peer.
__________________
5.3 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Automate Membership
Hi @Peer Keter,
Thank you for your message and welcome to X-Cart forums! Such a change will require creating a custom module in X-Cart 5. Did you have a look at our getting started guides here: https://devs.x-cart.com/getting_started/ Your mod will essentially implement decoration of the \XLite\Controller\Customer\Profile::postprocessAct ionRegisterSuccess() method and defining the membership assignment there. Let me know if it makes sense. Tony Quote:
__________________
Found a bug in X-Cart? Post it to our bug tracker! Know how to make X-Cart better? Suggest an idea! |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|