2

I'm using Magento 1.4.1.1. I'm thinking of adding a pre-approval module on my website. All new customers will need a back-office approval, before being able to log in.

I'm quite new in Magento but want to know whether there is an easy of doing it by myself ?

2 Answers 2

5

I've done something similar. You can achieve the backend-approval customer account paradigm without creating custom attributes and in a rather simple manner.

  1. Create a "pending approval" customer group.

  2. Create other "approved" customer groups as needed.

  3. Set this group to be the default customer group under System > Configuration > Customer Configuration > Create New Account Options.

  4. "Approve" customers by switching their customer groups in the admin. Voila, no extension needed!

Now, you have a basic approval-based customer model. From this point, you can make it fancier by implementing observers, extra attributes, etc. as desired.

2
  • Thank you very much for your tip ! I have never used Magento groups. Sorry if my question seems ridiculous... If I follow your two steps, granting access to customers could be done by switching them to another group ?
    – jolyqr
    Commented Mar 17, 2015 at 14:34
  • 1
    Yeah, I updated my answer.
    – laketuna
    Commented Mar 17, 2015 at 14:35
3

potential solution would be to create a customer attribute that is default to 'true'. When they create their account send them an email with a link corresponding to their specific account. When they visit this specific page an observer will be alerted and, if that specific product attribute is 'true' it will be set to 'false'.

When the user attempts to log in first check if the attribute is 'true', and if so, disallow log-ins.

edit: what exactly do you mean by 'back-office' approval?

1
  • Thanks for the tips ! By "back-office" approval, I meant that, the value of the "customer attribute" could only be changed via back-office admin. Do you know any way (or good tutorial) to make a customer attribute accessible via back-office admin ?
    – jolyqr
    Commented Mar 17, 2015 at 14:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.