![]() |
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. |
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:
|
All times are GMT -8. The time now is 05:57 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.