Jump to content

Automatically add customer to a group while registering depending on query string


MarcD

Recommended Posts

Dear all,

 

Would it be possible to automatically add a new customer to a group, when (s)he registers, depending on the value of a query string in the URL that (s)he used to reach prestashop ?

 

In other words, I would like to be able to give URLs such as:

domaine.tld/?group=foo
domaine.tld/?group=bar
 

Let the customer browse the website, eventually fill the cart and when (s)he registers, get this "group" value back and automatically add the customer to the corresponding prestashop group.

 

Thank you in advance for you precious help !

 

Marc

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...