Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2005
    Location
    Lancaster CA
    Posts
    70
    Plugin Contributions
    0

    Two Stores One Database

    I have been toying with this idea since I have two domains that sell different base products but also share some common products. Say one sells finished jewelry and gifts while the other sells finished jewelry and jewelry components.

    I want it to have and use one database with one set of administrations.

    My thoughts have lead me to a somewhat complicated but I believe workable solution. What if a new data field was created for each product entered in the database. This field would correspond to one of three possibilities (0=store1 1=store2 and 2=store1 and 2). When inputting the items a drop down or radio button would allow for choosing the option for that item.

    That is the easy part and where my knowledge drops off quickly. The next part involves recoding the SQL queries contained in each store web file set so that it will only choose only items that are solely its own or cross sold between the two.

    Does this make sense? Late night ideas sometimes do not float well in the sunlight.

    This example if properly executed would allow a store to show only those items and categories that are fit for itself. The others would be read but not displayed. Since it is one database the sessions should not be affected since they are both transacting as one store but with different home directories for the 'look' of the store.
    ####################_
    Greg Krynen

    www.krynen.com - Interesting answers
    www.PurpleDragonGifts.com - Jewelry and other gifts
    www.PurpleDragonTraders.com - Beads

    all of life is 50/50

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

    Default Re: Two Stores One Database

    I see where you posted in another thread on this concept.

    Hope that you are finding this helpful even if not exactly what you want
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2005
    Location
    Lancaster CA
    Posts
    70
    Plugin Contributions
    0

    Default Re: Two Stores One Database

    Yes and no.

    Many of the other solutions have not been solutions for this problem. They suggest using one database with all items showing in both stores just different store fronts. Not what I need.

    Merlin had stated in that thread that he had similiar to what I was doing setup but it was very buggy with Session problems. That is why I thought my idea might work better but my knowledge flls off past the idea point. I was hoping a TRUE programmer could give some input regarding the idea I came up with.

    The last 'solution' does seem to do what I want but again my skill with porting from one cart to the others system is not as polished as I would like. Also that system is a major rewrite essentially changing from an OSC/ZEN base over to a self brewed solution. Many plug ins would stop working and upgrading would be out.

    I am hoping a more simple database structure change and one change on Admin pages and a few changes to client presentation via override pages would do the same thing.
    Greg Krynen

    www.krynen.com - Interesting answers
    www.PurpleDragonGifts.com - Jewelry and other gifts
    www.PurpleDragonTraders.com - Beads

    all of life is 50/50

 

 

Similar Threads

  1. v139h Two Stores - One Database
    By yaseent in forum General Questions
    Replies: 15
    Last Post: 27 Aug 2012, 06:07 PM
  2. Merge two stores into one new one
    By supersnow in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 24 Nov 2010, 08:04 PM
  3. Two stores in one?
    By staypop in forum General Questions
    Replies: 6
    Last Post: 4 Oct 2009, 09:00 PM
  4. two stores on one db or two payment modules?
    By trillian in forum General Questions
    Replies: 7
    Last Post: 18 Nov 2008, 04:10 PM
  5. Can I Run Two Stores from One Database
    By adnimas5 in forum Installing on a Windows Server
    Replies: 8
    Last Post: 1 Feb 2007, 09:55 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