Results 1 to 4 of 4
  1. #1
    Join Date
    Mar 2009
    Posts
    7
    Plugin Contributions
    0

    Default Can I have two Zen Cart folders using the same database?

    Hi,
    I have a zen cart setup that is live, and I want to test a new template and make template changes on the server. what I would like to do is have my zen cart live shopping cart operating, say in a folder called shop. But I'd like to copy the code of folder "shop" and call it "shopNew". Can both folders be on the server and using the single zen cart database? Will that mess anything up? I can't see why it would. then I can make my template changes and tests using the shopNew folder - and the live customers wont see me changing things around. i don't need to make any updates to the database, so that won't affect things. And I don't really want to setup a test database.

    Thanks!

  2. #2
    Join Date
    Oct 2006
    Posts
    5,477
    Plugin Contributions
    11

    Default Re: Can I have two Zen Cart folders using the same database?

    You can use the same database as long as you use 2 different prefixes for your tables when you set them up.

    If you want to really use the same database, it is possible as well, but changes made on 1 site will affect the other, which you may not want.
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  3. #3
    Join Date
    Mar 2008
    Location
    Cape Town & London (depends on the season)
    Posts
    2,975
    Plugin Contributions
    0

    Default Re: Can I have two Zen Cart folders using the same database?

    One database shared by two installations of the code and template files is possible, but remember that ALL settings that are configured and stored in the database will be COMMON to both sites. This is ALL products, ALL orders, ALL customers, ALL countries, zones, taxes, prices, currencies.........

    So, (for one example of hundreds...) if you were to disable the "Featured Products" sidebox in site "1", it would ALSO be disabled in site "2".

  4. #4
    Join Date
    Mar 2009
    Posts
    7
    Plugin Contributions
    0

    Default Re: Can I have two Zen Cart folders using the same database?

    Thanks for the info. Yes I want the stuff to be the same. So I will go ahead and try it out with the two sites and one database.

    that is a help!

 

 

Similar Threads

  1. v138a How can i have two languages using the sermepa payment module?
    By zand in forum Addon Payment Modules
    Replies: 1
    Last Post: 13 Jun 2012, 11:56 PM
  2. 5 Zen Cart Stores using the same shopping cart
    By mani in forum General Questions
    Replies: 1
    Last Post: 2 Sep 2008, 11:35 AM
  3. two zen carts...want same database
    By mooncavecrystals in forum General Questions
    Replies: 2
    Last Post: 11 Apr 2008, 09:33 PM
  4. Can two carts use the same database?
    By dstoops in forum Installing on a Windows Server
    Replies: 3
    Last Post: 27 Apr 2007, 05:13 PM

Posting Permissions

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