[ic] multiple stores - one cart

David Berry interchange-users@interchange.redhat.com
Thu Nov 15 15:57:01 2001


>If I were going to do this, I would set up each store as a stand alone unit
>and get each one operating properly.
>
>Then, in 2 of the stores, I would delete the various data bases that I want
>to share and make sym-links to the one that I want to share. Probably one at
>a time and test, and then do another one and test. It's going to be easiest
>to do this from the command line or Midnight Commander. You may have to play
>with the permissions a bit in order to get everything functioning right.

Thanks Jim

I had a quick go at this, but couldn't figure out how to symlink to a mysql 
table???

So I changed them to gdbm's to make the symlinks easier. Then I got bogged 
down a bit.

If I create three identical foundations stores, delete the session dirs in 
two of them and symlink them to the third, everything works well with the 
"floating" cart, I can purchase items from any of the stores and check out 
just on one store with everything as expected. BUT ... if I load any of the 
products tables with different items, it no longer works :o( Which seems to 
suggest that it's on the right lines, but there's more to figure out. A pity 
it wasn't that easy.

Thanks for the interest

Dave