Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Installing on sub domain only


knifeman

Recommended Posts

Posted

Hi all,

 

I want to add a sub domain to my site and install os into that sub. The sub domain will have different pricing and shipping fees than my main site because one is retail and one is wholesale. ie. wholesale.mydomain.com Can I later install os into my main domain? Or will it use the settings from the sub domain?

Posted

you can install it anywhere you want, just a matter of setting up the configure.php properly and using its own database. you can use the dame db but takes a bit of work

Posted

You'll be fine as long as you use two seperate installs in two different directories so the files don't step on each other. By necessity, you'll have two seperate databases as well. But then, Mibble says you can use one. :)

 

I suppose you could get away with a single install and use the sub-domain as a trigger to tell osComm to use a seperate database. Not sure how you should set this up but technically I believe it's possible.

Apathy is a dominant gene - mutate.

Posted

there is a contribution to use one database for multiple stores, it requires adding on table prefix's, modifying the database_tables.php file

Posted
You'll be fine as long as you use two seperate installs in two different directories so the files don't step on each other. By necessity, you'll have two seperate databases as well. But then, Mibble says you can use one. :)

 

 

2 installs to different directories is fine. Same with using 2 databases. As long as they won't interfere with each other, because they will be the same products with different prices and shipping. I may stick some extra symbols on the wholesale item numbers just to be sure.

 

Thanks for all the support!

Archived

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

×
×
  • Create New...