Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Two Stores Sharing Products And Customers?


lhanssen

Recommended Posts

Is it possible to have two stores with different names, but share the products and customers?

Everything should be the same in the two stores, only the name of the store will be different.

So when I sell one product in one store the quantity in the other store will be updated as well.

I hope you understand what I mean:)

Link to comment
Share on other sites

Is it possible to have two stores with different names, but share the products and customers?

Everything should be the same in the two stores, only the name of the store will be different.

So when I sell one product in one store the quantity in the other store will be updated as well.

I hope you understand what I mean:)

 

Yes....just set the 2 stores to use the same db in includes/configure.php

Link to comment
Share on other sites

Yes....just set the 2 stores to use the same db in includes/configure.php

 

This solution will work well, but keep in mind that it will also result in both stores appearing to your customers with the same store name and information (email address, etc). If you wish to share customers and products but still have Company A's store operate under a different name than Company B's store, it gets a bit more complicated. In that case, you will also need to either modify the configuration table and add something like a store_id column, or create a separate table to link the configuration records to store A or B as needed, not to mention adding code to support each. This way you can define separate information for each store. If you go this way, you may also find it helpful to add a table to associate orders to the store from which they were placed.

 

However, if you are ok with the two stores appearing exactly the same, the approach mentioned in the previous response remains the best (and by far the easiest) way to go.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...