To be used with MS2 release of osCommerce.
Needing the customer account tied to a vendor account before placing an order. Directly after customer creates account, a REQUIRED "pick your vendor" page displays results based off of a vendor table and the customer's just entered zipcode. Can use the GNU Zipdy or another free zipcode distance calculation program for the comparisons between vendor's zip & customer's zip. You can see an example of this on our current site, [url removed, login to view]
The difference we want is that the zip search should only happen ONCE (when the customer registers OR updates their 'my account' info) and not every single time they visit the site to order product. We are using this to give commission to our vendors setting a cookie with their affiliate_ID that will be in the vendor's table tied from the logged in customer just before checkout and then sent to affiliate partner directly after order completion.
- zipsearch results page displaying list of some # of closest vendors directly after new customer registers OR exisiting customer needs to edit current vendor (they move, etc.).
- display vendor affiliate ID based on logged in customer on checkout page
- would like to release this module back to the osC community in the form of a contribution under GPL