osCmax v2.5 User Manual
Results 1 to 10 of 10

Using oscMax for multiple stores.

This is a discussion on Using oscMax for multiple stores. within the osCMax v2 Features Discussion forums, part of the osCmax v2.0 Forums category; Hi all, I am trying to set up a multiple store site using oscMax for a friend (read free). Have ...

      
  1. #1
    New Member
    Join Date
    Mar 2006
    Location
    Cairns, Australia
    Posts
    8
    Rep Power
    0


    Default Using oscMax for multiple stores.

    Hi all,

    I am trying to set up a multiple store site using oscMax for a friend (read free). Have read ronu's recent query on this.

    I have looked into the multi store contrib in oscommerce, but it does not lend itself to BTS, tinyMCE, etc.

    Wanting some db tables to be common (eg, customers) and others to be unique to each store (eg, products), I created extra tables to accomodate the changes required, eg shop1_products. shop2_products, etc.

    I then changed the table paths in the respective database_tables.php files in catalog and admin to reflect the changed db table names, as well as other tables that have been modified.

    Now, when I try to open the shop, it is looking for the original Table.products, and not Table.shop1_products, as modified in the define argument in database_tables.php.

    Where else is the table called in it's raw name. The only reference I can find is the TABLE_PRODUCTS call.

    I have found a couple of unrelated raw calls in the admin section relating to added features, which when changed work fine. Just cannot find the calls in the index.php, application_top.php or the other myriad files I have looked at.

    Unfortunately, sub domains are not an option in this instance. Shame, it would have made the job a breeze.

    Sorry for the long winded post.

  2. #2
    New Member
    Join Date
    Mar 2006
    Location
    Cairns, Australia
    Posts
    8
    Rep Power
    0


    Default

    Here is a weird update.

    I have just added the tables that were said to be missing (products,etc) without the shop prefixes, so that I can get with other things for the time being.

    What actually shows up on the page when it does open is the details (categories, products, and such) that were added to the modified tables.

    It appears that to open the page, it is looking for the old table names, but once the page is opened it is looking at the modified tables.

    Any clues on where to look for this fault would be much appreciated.

  3. #3
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default

    Multi-Stores multiple shop system
    http://www.oscommerce.com/community/contributions,1730

    Convert to BTS is not impossable. As long as all stores are hosted on the same server it has been done before.
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  4. #4
    New Member
    Join Date
    Mar 2006
    Location
    Cairns, Australia
    Posts
    8
    Rep Power
    0


    Default

    Thanks for the reply jpf.

    I do prefer to stick with getting max running properly in the multistore environment as, not only for the templating and wysiwyg type additions, there are many other changes in here that are going to be utilised as well.

    The latest is that by placing a set of tables in the database without any name change allows me to open the site. Any alterations to say categories, products, etc, get entered into the correct altered tables as they should. So basically I can use max for what I want to do without any problems now.

    It is getting to be a niggling thing, not being able to clean up this problem.

    Can someone advise me where to look for the statup problem. What files are being called during the initial site opening process, before index.php is opened. I have searched high and low in many files for the raw table call to no avail.

    Like I said, it is not an urgent issue any more as the site is running properly on the test server, it is just that I feel that I am cheating and would like to clean it all up so it is performing without bandaids.

    Thanks again for your help.

  5. #5
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default

    Like I said use the file above.....Compare it to a PLAIN MS2 and comment the differnces.

    Then in MAX compare it the NEW set. Add in what is needed and is not duplicated. If you get stuck with a few lines - post them and we can help.

    I am unable to upload any files to this board so I can't give you the files I have......
    JPF - osCMax Fourm Moderator - To contact, post on the forum or click here
    Try out our osCMax at: Live Catalog Demo
    Limited access Admin: Live Admin Demo
    Feel free to add products they way you want and then purchase them -=+=- Sorry nothing will be billed or shipped!

  6. #6
    Member
    Join Date
    Jan 2007
    Posts
    34
    Rep Power
    0


    Default Re: Using oscMax for multiple stores.

    Has anyone successfully added multiple stores to oscmax?

  7. #7
    Member
    Join Date
    Jan 2007
    Posts
    34
    Rep Power
    0


    Default Re: Using oscMax for multiple stores.

    Quote Originally Posted by jpf View Post
    Like I said use the file above.....Compare it to a PLAIN MS2 and comment the differnces.

    Then in MAX compare it the NEW set. Add in what is needed and is not duplicated.
    Is there a quick and easy way to compare code? There are a boat-load of files for Multiple Stores install. I have dreamweaver. Are ther any tips or tricks to expediting the process...Thanks, Angie

  8. #8
    osCMax Testing Team
    Join Date
    Sep 2004
    Posts
    362
    Rep Power
    10


    Default Re: Using oscMax for multiple stores.

    Get Beyond Compare or Winmerge They work well

  9. #9
    osCMax Testing Team
    Join Date
    Oct 2006
    Location
    Atlanta GA
    Posts
    201
    Rep Power
    12


    Default Re: Using oscMax for multiple stores.

    If someone gets this to work would be a great mod to post

  10. #10
    jpf
    jpf is offline
    osCMax Testing Team
    jpf's Avatar
    Join Date
    Sep 2003
    Location
    Manitoba, Canada
    Posts
    2,699
    Rep Power
    22


    Default Re: Using oscMax for multiple stores.

    Ditto on the Beyond Compare(not free) and Winmerge(free)! They BOTH show a side by side comparison of what is changed/added - very quick to learn and navigate.

Similar Threads

  1. multiple stores with same database
    By ronu in forum osCMax v2 Features Discussion
    Replies: 8
    Last Post: 04-01-2007, 11:18 PM
  2. Using Max for multiple stores - database problems
    By oblongpeg in forum osCmax v2 Customization/Mods
    Replies: 1
    Last Post: 09-05-2006, 12:21 AM
  3. SSL & Multiple stores?
    By beernut in forum osCmax v1.7 Discussion
    Replies: 2
    Last Post: 11-28-2004, 12:20 PM
  4. Installing 2 Stores to 1 Database?
    By CyberMartyr in forum osCommerce 2.2 Installation Help
    Replies: 0
    Last Post: 09-19-2004, 10:14 AM
  5. multi-stores
    By okatoma in forum osCMax v1.7 General Mods Discussion
    Replies: 3
    Last Post: 02-25-2004, 07:58 AM

Bookmarks

Posting Permissions

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