qandil Posted October 28, 2006 Posted October 28, 2006 Hello Everyone, Can i Include a catalog with in another catalog with the condition of using the same username and password ? Regards, Qandil http://www.joodie.com
KennethS Posted October 28, 2006 Posted October 28, 2006 Hello Everyone, Can i Include a catalog with in another catalog with the condition of using the same username and password ? A simple way to do this would be to install the catalog in to a directory along side your current one. Edit the database_tables.php file to have a prefix in front on 1 catalog's database tables that do involve customers. Example. define('TABLE_ADDRESS_FORMAT', 'address_format'); //would stay the same for both catalogs define('TABLE_PRODUCTS', 'catalog1_products'); //change for catalog 1 define('TABLE_PRODUCTS', 'catalog2_products'); //change for catalog 2 Then make sure you have both sets of tables in the same database. This way both catalogs will use the same users but not the same products. I've not tried this but it should work. Kenneth S -------------- Customer "Are you a real programmer?" Me "No, but I did stay at a Holiday Inn Express last night"
qandil Posted October 28, 2006 Author Posted October 28, 2006 A simple way to do this would be to install the catalog in to a directory along side your current one. Edit the database_tables.php file to have a prefix in front on 1 catalog's database tables that do involve customers. Example. define('TABLE_ADDRESS_FORMAT', 'address_format'); //would stay the same for both catalogs define('TABLE_PRODUCTS', 'catalog1_products'); //change for catalog 1 define('TABLE_PRODUCTS', 'catalog2_products'); //change for catalog 2 Then make sure you have both sets of tables in the same database. This way both catalogs will use the same users but not the same products. I've not tried this but it should work. Thank you very much, I will try it and i will let you know Regards, Qandil http://www.joodie.com
Recommended Posts
Archived
This topic is now archived and is closed to further replies.