Results 1 to 5 of 5
  1. #1
    Join Date
    Mar 2009
    Posts
    14
    Plugin Contributions
    1

    Default Installing one code base multiple stores

    I want just one code base, Drupal allows this but Zen Cart default does not allow this.

    Is it possible to do this by pulling in a different configure.php.
    Each store will have its own DB and catalog directory.

    Any help appreciated.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Installing one code base multiple stores

    There is a multi site module but it is designed to share one DB...and manage all from one admin center

    The base code is only about 20K

    Drupal is not a cart

  3. #3
    Join Date
    Mar 2009
    Posts
    14
    Plugin Contributions
    1

    Default Re: Installing one code base multiple stores

    I realize that Drupal is not a cart and its nice to have one code base to maintain. The multi store is more for one admin who has multiple stores like Best buy canada, usa etc.

    I'm looking just to have one code base. If I try to get different configure.php files based on the URL, I'm wondering if it'll work.

    Then just point to different directory for images for example
    or any directory that is store specific. This is a bit of a hack and would you advise just installing zen cart twice.

    define('DIR_WS_IMAGES', 'images/');
    define('DIR_WS_INCLUDES', 'includes/');
    define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
    define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
    define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
    define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
    define('DIR_WS_DOWNLOAD_PUBLIC', DIR_WS_CATALOG . 'pub/');
    define('DIR_WS_TEMPLATES', DIR_WS_INCLUDES . 'templates/');

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Installing one code base multiple stores

    I think it would be significantly less work to install Zen Cart twice than to figure out all of the hacks you need to make one code base work. If you want the same templates, you can copy over (most of) the template files from one to the other.

  5. #5
    Join Date
    Mar 2009
    Posts
    14
    Plugin Contributions
    1

    Default Re: Installing one code base multiple stores

    Quote Originally Posted by gjh42 View Post
    I think it would be significantly less work to install Zen Cart twice than to figure out all of the hacks you need to make one code base work. If you want the same templates, you can copy over (most of) the template files from one to the other.
    Yes I totally agree and decided the same thing.

 

 

Similar Threads

  1. one data base - two stores
    By bluewatercool in forum General Questions
    Replies: 15
    Last Post: 14 Sep 2009, 06:33 PM
  2. can I have 3 stores with one data base?
    By touchclothing in forum General Questions
    Replies: 2
    Last Post: 15 Sep 2008, 04:01 AM
  3. Multiple Stores in one installation sharing one database
    By bajanboost in forum General Questions
    Replies: 16
    Last Post: 9 Jul 2008, 04:58 PM
  4. Installing and configuring 2 stores - is one database OK during development?
    By audradh in forum Installing on a Linux/Unix Server
    Replies: 4
    Last Post: 21 Jul 2006, 09:13 AM
  5. Replies: 3
    Last Post: 29 May 2006, 04:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg