News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Shopper group changer based on code.

Started by Acolytte, February 12, 2014, 11:59:51 AM

Previous topic - Next topic

Acolytte

Hi, is there some module that is able to change shopper group of anonymous/registered user based on "code" inserted by user?

I imagine it: User come to my webpage, he is in "default" shopper group. He will insert a "code" somewhere on the page (probably some input field) and if the code is right, the shopper group will change for him.

The usage is clear. I have different prices for different shopper groups, so if i want someone to have better prices, i give him a VIP code and suddenly he likes me much more and he enjoys the services.

There can be more than one code, they should be saved in database.

If not, is there anyone who has a piece of php code that changes the shopper group? i am beginner module developer so i can try to make it myself.