mgersting
06-07-06, 11:21 PM
Many thanks in advance for your help, everyone.
I'm going to briefly lay out what I want to do as I understand it. Any insight, help, direction would be greatly appreciated.
-------------------
Summary:
I want to be able to offer different companies discounts on our products. My idea is to create several price groups, one for the various levels of discounts, say 10-55%.
I would like users to be able to hit a login page and enter an additional code. If the code validates when Miva creates their customer record I just need it to automatically add them to the appropriate price group.
My plan of attack was:
1. Price Groups
I've set up 4 groups - Discount Group 10%, Discount Group 25% etc, and correlated the appropriate products into those groups.
2. Partner Code
I created a table in MySQL (please note: apparently my version of Miva is not the MySQL driven version) to store string codes.
3. Sign up Page
I was guessing I would submit the sign up form to a PHP page that would validate the code, and then try to pass the data onward to the standard Miva signup code?
What do you guys think?
I'm going to briefly lay out what I want to do as I understand it. Any insight, help, direction would be greatly appreciated.
-------------------
Summary:
I want to be able to offer different companies discounts on our products. My idea is to create several price groups, one for the various levels of discounts, say 10-55%.
I would like users to be able to hit a login page and enter an additional code. If the code validates when Miva creates their customer record I just need it to automatically add them to the appropriate price group.
My plan of attack was:
1. Price Groups
I've set up 4 groups - Discount Group 10%, Discount Group 25% etc, and correlated the appropriate products into those groups.
2. Partner Code
I created a table in MySQL (please note: apparently my version of Miva is not the MySQL driven version) to store string codes.
3. Sign up Page
I was guessing I would submit the sign up form to a PHP page that would validate the code, and then try to pass the data onward to the standard Miva signup code?
What do you guys think?