Yes...to some degree...
In anticipation/preparation for running different shopfronts off a single
database I've done this. In fact I'm using it on a current site
prototyping/testing new additions on a test version. This allows me to
customize the test store, show the client, etc and once all's working as
needed I move the adjustments to the main store.
The basic adjustments involved firstly adding a duplicate/new set of modules
for the new storefront. Then add a new renamed copy of the main index.php
file, e.g. teststore.php, which has this adjustment to the module path:
define("EXTERNAL_PATH", dirname($SCRIPT_NAME) . "/");
define("MODULE_PATH", (APPLICATION_ROOT . "teststore-modules"));
/*
** get global settings
*/
include(MODULE_PATH . "/include/global_settings"); ....etc, etc...
Then I added a global store ID in global settings, e.g.
//Set shop ID to be included in invoice, etc.
define("STORE_ID", "Teststore");
Next, I added a StoreID field to tables I thought I needed to track which
store made the entry. e.g.
invoice
invoice_sku
session_sku
user
user_sku
(I may need to do more but for now this is enough to show in
dump_invoice which store made the sale, etc.)
These changes then need to be reflected in any database queries which is the
longest part of the job. Then update dump_invoice.php to reflect the new
info.
This is not complete, for example you'd need to do a lot more if you wanted
different product ranges in each store, but that's a job for later!
The advantage for prototyping is that the client can easily see how new
additions would work in the same environment as the active store.
Hope it helps, I'd suggest it's worth setting it up if only for the reason
above.
Good luck,
Nick
----------------------
Lab2 Design-Unit
URL: www.lab2.com.au
e-mail: [EMAIL PROTECTED]
----------------------
Roger Wrethman wrote:
> Hi Everybody
>
> Just wanted to know if anybody has managed to extend Freetrade past just one
> store.
>
> I have a client that runs multiple web sites, and each site has multiple
> stores. I would like to run one instillation of freetrade for the whole lot.
> Any pointers? The sites are similar, just a different template, and the stores
> as well, also just different templates.
>
> Some interesting things will be possible, like site wide specials, store wide.
> Global searching across 50 stores etc.
>
> Thanks
> Roger
> Wrethman N�,¹»®&ÞúÞzÚÚuà(� b²
> Ð0¢¹"�¢r��N�.�Ë�±ÊâmàúÞzÚÚuà(}ð%�Ë@Â�ä�xv�,Ê&J+^ m?ÿÃÂ�ä�
> xv�,Ê&ýúÞzÚÚuïÀ>º�é¬:'
+�)àÚ °(�
------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Site: http://www.working-dogs.com/freetrade/
Problems?: [EMAIL PROTECTED]