osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v2.0 Forums > osCMax v2 Features Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-06-2006, 03:45 PM
New Member
 
Join Date: Mar 2006
Location: Cairns, Australia
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
oblongpeg
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
The Following User Says Thank You to oblongpeg For This Useful Post:
altenter (04-25-2007)
  #2  
Old 10-06-2006, 05:06 PM
New Member
 
Join Date: Mar 2006
Location: Cairns, Australia
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
oblongpeg
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-08-2006, 05:43 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,521
Thanks: 1
Thanked 81 Times in 68 Posts
Rep Power: 10
jpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nice
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
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-10-2006, 04:53 AM
New Member
 
Join Date: Mar 2006
Location: Cairns, Australia
Posts: 8
Thanks: 1
Thanked 1 Time in 1 Post
Rep Power: 0
oblongpeg
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 10-12-2006, 07:28 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,521
Thanks: 1
Thanked 81 Times in 68 Posts
Rep Power: 10
jpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nice
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
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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 04-01-2007, 11:19 PM
Member
 
Join Date: Jan 2007
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ashelleydesign is on a distinguished road
Default Re: Using oscMax for multiple stores.

Has anyone successfully added multiple stores to oscmax?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 04-01-2007, 11:24 PM
Member
 
Join Date: Jan 2007
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
ashelleydesign is on a distinguished road
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 04-03-2007, 04:38 AM
osCMax Testing Team
 
Join Date: Sep 2004
Posts: 292
Thanks: 23
Thanked 34 Times in 33 Posts
Rep Power: 5
bkpie has a spectacular aura aboutbkpie has a spectacular aura about
Default Re: Using oscMax for multiple stores.

Get Beyond Compare or Winmerge They work well
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 04-03-2007, 05:33 AM
osCMax Testing Team
 
Join Date: Oct 2006
Location: Atlanta GA
Posts: 143
Thanks: 8
Thanked 13 Times in 9 Posts
Rep Power: 2
ALElder
Default Re: Using oscMax for multiple stores.

If someone gets this to work would be a great mod to post
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 04-16-2007, 02:37 PM
jpf's Avatar
jpf jpf is offline
Moderator

 
Join Date: Sep 2003
Posts: 1,521
Thanks: 1
Thanked 81 Times in 68 Posts
Rep Power: 10
jpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nicejpf is just really nice
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 09:51 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax