Would it work to edit the root index.php file to point to a different folder installation of ZenCart rather than using some other kind of file to redirect you to the store folder like an Index.htm or .htaccess (not sure on the spelling of that file)?
I was thinking it might be nice to be able to have a backup store already installed in one folder and the working store in another, then all you would need to do is edit the "hub" or root index.php file to point to a different folder and your additional install would work immediately without the need to change any other files.
This would also work when upgrading by creating a new folder for the upgrade then just changing the root index.php.
Is there a BETTER way to do that that allows you to have more than one fully ready shops installed with the ability to select one of them by editing that file?
I don't want an HTML type root page that redirects them to the store, or one with a button to click to enter the store. I want it to go seamlessly right to the shop but want the ability to change the shop at will by only editing ONE file!
Bookmarks