Hello,
I need to get (at least) the shoppergroup id(s) for the user, in the Order page.
If I could get the complete shoppergroup data (name etc), would be even better!
Any help appreciated!
Thanks
you know user_id, then call model for shoppergroups and put inside user_id.
Or?
Yes, user id is known. I am looking at the shoppergroup model, what is the method to get a user's assigned shopper groups by user id?
Thanks!
getShoppergroupById($id, $default_group = false)
This method expects the user id, not the shopper group id? Correct?
I think expect user_id and return shoppergroup_id.
You try call and debug in your view?