Jump to content

Add 2 customer groups when subscribing


nguigno

Recommended Posts

Hi :)

I need to give two groups for a single customer when he's subcribing to our website.

like "customer" + "customer TTC" with "customer TTC" checked by default

For now i can only give him one group by default with the backend options

Someone know how to do that ?

Thanks in advance ! :)

(Prestashop 1.7.6.5)

Link to comment
Share on other sites

thank you for your answer :)

But i'm a bit confuse, what that does ? how to use it ? and where to do it ?

i suppose there is some sort of hook to execute some code after a subscription.

 

Does this list all the customer groups ?

$list=Tools::getValue('groupBox');

 

Link to comment
Share on other sites

Hi,

i have already done that, all of theses module let choose the customer for wich group they want to subscribe on. That's not what i want.

I want to force the customer to be in 2 groups, without any choice

Link to comment
Share on other sites

then you will need custom change, i.e. when visitor is transformed to customer account, there you would add the additional group.  yea I never understood why people built modules to allow visitor to select their group looool...but people will write anything and PS will even let them put on addons even if not a valuable feature...

that is like one line of code, I recommend posting in job section, then you can establish relationship with dev that can help you achieve little things like this quickly.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...