by jessi » Mon Jun 14, 2010 8:57 am
Hi uae-designer,
First, I was only working with demo stores that I use for teaching ShopSite, or I wouldn't have experimented this way...
First, on the demo that I use myself, I manually went through the back end and cleaned up as many customizations as I could. I then, on the server, made a special directory and copied the "data" folder from my own demo into it, as well as the [login_name].aa file from the 'ss' cgi directory - pretty much as Loren indicated. I removed the link to the [login_name].auth file from this special data folder, as each store already has their own.
I then would do the following for each of the demo stores for use of my students:
Copy the data folder from my special directory over the data directory for the demo store;
Copy the [login_name].aa file, and then edit the filename and the contents of the file to replace all occurrences of [login_name] with the one for that particular store;
Log in to each store that I am trying to reset, and go to Utilities > Publish > Regenerate.
I ran into a problem: There is store-specific info in the data directory, at least, there is if it's not a pristine, unused store that you get the data directory from. Usually, it's in the form of a URL related to the store URL.
So I am trying doing a mass search & replace of the URLs, using Perl; and also removing the wizard.aa file from within the data directory, as that only seems to be generated after one runs the wizard.
I think there are still problems; I can't seem to replace all the URLs or incidences of [login_name], maybe that's why. The PayPal config screen can't load, and I can't save changes to some other pages. If/when I figure the whole thing out, I will append to this post.
The problems might have been solved by doing a fresh ShopSite install to work from, but I can't ask our company engineer to spend his time on that (it's very time-consuming to do a fresh install), so I'm struggling along the best I can and will probably settle for partially-working demos to teach with.
I wish ShopSite had a big RESET button somewhere, but then of course, people would probably use it by accident!
Best of luck!
Jessi