Hello, I would like to have a form that contains only a text box and submit button that someone can put their customer code in and depending on the code entered it would redirect them to their page.
EXAMPLE-
If I supply pizza ovens to PIZZA HUT, DOMINOS, PAPA JOHN'S- and also to the public. When one of the Pizza Hut chain stores visits my site, there would just be a small (affiliate login box) that is optional. If they want to visit the products that we have discounted for the Pizza Hut corporate office. And the same for the other corporate chains. But the Ma & Pa Pizza stores would not have this login code so they would stay at the main store front and shop from there. I already have the Price groups setup, so I can take them right to their URL. I just need to validate the form like so:
if $code = "dominos"(go to this url)
if $code = "pizzahut" (go to a different url)
if $code = "papajohn" ( go to another url)
else (stay right where your at page)
I need to know how do I redirect them to their URL's
Any help would be greatly appreciated!
Scott