Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2009
    Posts
    9
    Plugin Contributions
    0

    Default Two stores on the same database.

    hi all, bit of a convoluted question here, but ill see if i can make it come across correctly. We have a client with two established brand names, and hes wanting e commerce solutions for both addresses, each with a unique look. However, the actual stock being sold is identical for both stores. Basically i was wondering wether its possible for both stores to get there stock details from the database records so when the database is updated, changes show up on both stores? any help would be appreciated.

    thanks.

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Two stores on the same database.

    Yes, you can do this. The way to do it would be to set both stores up in a single database with difference database prefixes. You can then hardcode the database prefix in the includes/database_tables.php file for one of the stores to point to the other store's product tables. I would strongly recommend though, spending some time looking at the various product tables and understanding how they fit together with each other and with the categories tables, and in partular how the products_to_categories table works.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

 

 

Similar Threads

  1. Two Websites Sharing the Same MYSQL Database
    By limelites in forum Installing on a Linux/Unix Server
    Replies: 2
    Last Post: 25 Nov 2012, 05:26 PM
  2. Two websites from the same database.
    By bigjoed in forum General Questions
    Replies: 5
    Last Post: 14 Sep 2007, 03:04 PM
  3. Can two carts use the same database?
    By dstoops in forum Installing on a Windows Server
    Replies: 3
    Last Post: 27 Apr 2007, 05:13 PM
  4. Two different "stores" on the same server?
    By vw_bugg in forum General Questions
    Replies: 1
    Last Post: 4 Nov 2006, 09:35 AM

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