Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12
  1. #11

    Default Re: Share a database between stores

    To get a list of files to edit, grep the source for TABLE_CATEGORIES. Pretty much every category query needs a

    Code:
    and top_category = ...
    Last edited by damonp; 16 Dec 2006 at 03:02 AM.

  2. #12
    Join Date
    Aug 2006
    Posts
    27
    Plugin Contributions
    0

    Default Re: Share a database between stores

    Thanks for the heads up. I was able to use the Developer's toolkit to find most of the locations. I've also modified several queries that pull all products regardless of category (thus the category table was not found with the toolkit). And finally I created a sidebox that lists the departments (which is how I am using this concept) and allows the user to change to whichever view they want.

    All in all, it was much easier than I first thought it would be. I've also developed a few secondary pages that allow me to administer the departments via the frontend as well as assign/modify categories to the departments.

    Now that the bulk of the work is done, I want to go back and winMerge compare the files with the originals because I know there were several places where I modified the originals instead of the overrides (ugg!). I'm also starting to pickup on some of the Zencart API... honestly, I'd rather write stuff myself, but it's nice to know that stuff... is there any detailed documentation on the Zencart API????

    Once the system is ready from a data standpoint, I want to modify it to use a different stylesheet depending on the department selected. So if someone is in the Toys department, they will see bright colors and matching header images, but while in Electronics department the colors will be more metalic and the imagery more techo... at least that's the plan.
    Last edited by rknepp79; 19 Dec 2006 at 03:24 AM.

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. 3 domains share products users etc 3 different stores
    By Quality Refurbished in forum General Questions
    Replies: 8
    Last Post: 7 Mar 2013, 03:06 PM
  2. 2 stores... share the same image folder??
    By kitcorsa in forum General Questions
    Replies: 6
    Last Post: 22 Jul 2010, 09:56 AM
  3. Replies: 10
    Last Post: 2 Dec 2009, 12:57 PM
  4. Can 2 stores share one database
    By mach9 in forum General Questions
    Replies: 9
    Last Post: 16 Oct 2009, 10:27 AM
  5. Sharing a database between stores
    By boinkit in forum General Questions
    Replies: 2
    Last Post: 6 Jun 2008, 12:16 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