Hi,

I've fiddled off n on with zencart for years, I know a multi store solution has been a much anticipated feature.
I stumbled across some code & wanted some opinions on if it could be used to suit a particular need.

My particular need is to have multiple stores managed by individual admins.
However I dont want to install the filesystem (10+mb) for each store. it also becomes a chore to individually upgrade each store when new versions arrive.

With the included code below (found in application_top.php) would it be possible to have one filesystem install and call one of a variety of properly populated databases?

PHP Code:
 Set the local configuration parameters mainly for developers
 
*/
if (
file_exists('includes/local/configure.php')) {
  
/**
   * load any local(user created) configure file.
   */
  
include('includes/local/configure.php');

If im not mistaken, this function allows zencart to connect to an alternate config file and therefore a different database and template (thus making the single install dynamic in content)
anyone have any ideas on how to make the above code a variable that can be called via a cookie, variable, session, token or URL string?


Moderators, if there is a more appropriate forum for this topic please move it to the appropriate location.
Thank you.