Adding new type of user in Bagisto!
-
Hey guys I'm having a bit of confusion about adding new type of user in Bagisto.
I need to add a new type of user called "Agent". And that Agent has multiple types. At first I thought about creating a new package. Then I realize that my Agent also need those features that a customer has. So, I modified my Customer package by adding feature called customerType and added a group called Agent. So that all my agent will be added in Agent group and it's will have a customerType.
In front page(Customer Dashboard) for Agent I just checked Whether the type_code is NULL or not.
I don't know is this kind of approach is good or bad. Or do you guys have any suggestion for me?
Screenshots
-
Customer/Agent dashboard
-
Admin/Customer
-