Forum Moderators: coopster
I think you've answered your own question. Copying the scripts to several directories would be more work - if you discover bug(s) or one member comes up with an excellent hard-to-ignore new feature you'd have to make sure you caught each instance of the necessary changes. Of course you could write some automation for it, but still, it's just making things unnecessarily complex.
You're going to need some sort of members table to store user name, password, etc. Store id is just one more field. There's at least 3 or 4 ways to do it, but I think the easiest way to set it up would be as an url parameter:
example.com/storefront?id=3456
Then your scripts know which store template to display, what products to display, who gets the credit, etc.