Jump to content

Duplicate my shop - two separate product databases


Recommended Posts

Is this possible? I need to keep all the mods (PHP, CSS etc) I've done so that both shops are the same, but the products each has are different.

Can I duplicate the shop and in the new one point to a new Database I've set up at the same host?

I have a selection of products which are different from the regular shop and they need to have their own search, one which will come up with products from the new database, and not the existing one.

Link to comment
Share on other sites

Not sure exactly what you want, but there is no problem with multiple instances of PS at the same server/database, just put the files in separate folders, eg domain.com/shop1 and domain.com/shop2 and use different prefixes for the database tables, eg PS1_ and PS2_

 

/Mats

Link to comment
Share on other sites

  • 1 month later...

Not sure exactly what you want, but there is no problem with multiple instances of PS at the same server/database, just put the files in separate folders, eg domain.com/shop1 and domain.com/shop2 and use different prefixes for the database tables, eg PS1_ and PS2_

 

/Mats

 

Thanks Mats. That is what I need to do, somewhat...

 

Is there a way to dynamically call up a separate Database from, say, the config file?

(ie: a dynamic settings.inc.php file?)

 

I need to run a search on one database for one type of visitor, and a search on the other database for others.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...