Thread: Shop copy

Results 1 to 10 of 17

Hybrid View

  1. #1
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Shop copy

    I am looking at doing a full image backup of my site together with it's database so that I can setup another site that looks the same but selling completely different products.

    What pages do I need to amend so that when I upload the database, with a different name etc, the site picks up the correct database?

    Is there anything else I need to change/do?

    I am trying to speed up the process of setting up another shop.
    Learning Fast.
    Eden Craft Supplies

  2. #2
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Shop copy

    Quote Originally Posted by adb34 View Post
    I am looking at doing a full image backup of my site together with it's database so that I can setup another site that looks the same but selling completely different products.

    What pages do I need to amend so that when I upload the database, with a different name etc, the site picks up the correct database?

    Is there anything else I need to change/do?

    I am trying to speed up the process of setting up another shop.
    It can be as simple as changing the configure.php files to point at the correct location and database..
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  3. #3
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Shop copy

    Quote Originally Posted by adb34 View Post
    I am looking at doing a full image backup of my site together with it's database so that I can setup another site that looks the same but selling completely different products.

    What pages do I need to amend so that when I upload the database, with a different name etc, the site picks up the correct database?

    Is there anything else I need to change/do?

    I am trying to speed up the process of setting up another shop.
    Quote Originally Posted by DivaVocals View Post
    It can be as simple as changing the configure.php files to point at the correct location and database..
    Assuming that as the site has been further modified that things like hard links have not been created to the current site, but instead relative/zen_href_link functionality used, or specific files loaded based on path information entered specifically on the page(s), but instead again ZC functions and code used to find the applicable file(s).
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  4. #4
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Shop copy

    Quote Originally Posted by mc12345678 View Post
    Assuming that as the site has been further modified that things like hard links have not been created to the current site, but instead relative/zen_href_link functionality used, or specific files loaded based on path information entered specifically on the page(s), but instead again ZC functions and code used to find the applicable file(s).
    Thanks guys. just could not think of the right files.
    Learning Fast.
    Eden Craft Supplies

  5. #5
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Shop copy

    Quote Originally Posted by DivaVocals View Post
    It can be as simple as changing the configure.php files to point at the correct location and database..
    Quote Originally Posted by mc12345678 View Post
    Assuming that as the site has been further modified that things like hard links have not been created to the current site, but instead relative/zen_href_link functionality used, or specific files loaded based on path information entered specifically on the page(s), but instead again ZC functions and code used to find the applicable file(s).
    Right.. but my original answer was based on the things we KNOW about Zen Cart, not everything we don't know (hard coded links and any other "unusual" modification would be in that unknown area). We KNOW that all things being equal that a change to the configure.php files (store side and admin) to point to the new location and database would be all that's minimally needed.. (and BTW, there is an FAQ which covers moving one's Zen Cart site..)
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  6. #6
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Shop copy

    Quote Originally Posted by DivaVocals View Post
    It can be as simple as changing the configure.php files to point at the correct location and database..
    I have copied the site that I want to use in to another domain. I have changed both of the config files to the new domain and database. When I access the new domain the home page is OK, but all other links go to the copied site.
    Learning Fast.
    Eden Craft Supplies

  7. #7
    Join Date
    Jan 2007
    Location
    Los Angeles, California, United States
    Posts
    10,021
    Plugin Contributions
    32

    Default Re: Shop copy

    Quote Originally Posted by adb34 View Post
    I have copied the site that I want to use in to another domain. I have changed both of the config files to the new domain and database. When I access the new domain the home page is OK, but all other links go to the copied site.
    You need to update your config file to point to the NEW FILE FOLDERS location too...
    My Site - Zen Cart & WordPress integration specialist
    I don't answer support questions via PM. Post add-on support questions in the support thread. The question & the answer will benefit others with similar issues.

  8. #8
    Join Date
    Mar 2008
    Location
    Brampton, Cumbria, United Kingdom, United Kingdom
    Posts
    816
    Plugin Contributions
    2

    Default Re: Shop copy

    Quote Originally Posted by DivaVocals View Post
    You need to update your config file to point to the NEW FILE FOLDERS location too...
    They are. Very thing in both of the config files are pointing to the correct site.
    Learning Fast.
    Eden Craft Supplies

  9. #9
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: Shop copy

    Quote Originally Posted by adb34 View Post
    They are. Very thing in both of the config files are pointing to the correct site.
    How bout posting the includes/configure.php and admin/includes/configure.php files (obscuring DB_PASSWORD and admin directory if specifically provided (which it shouldn't be in an updated site)).

    Please include within [CODE][/CODE] tags that are generated by pressing the # button in the reply message box toolbar.
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. Copy Shop Inventory from one store to another?
    By cloudstrife08 in forum General Questions
    Replies: 0
    Last Post: 24 Jan 2010, 03:39 AM
  2. Replies: 3
    Last Post: 9 Aug 2009, 09:04 PM
  3. Replies: 3
    Last Post: 19 Aug 2008, 02:42 AM
  4. Tax only applied to hard copy not to electronic copy of a book
    By cheloricardo in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 Mar 2007, 03:41 PM
  5. Replies: 4
    Last Post: 22 Sep 2006, 06:17 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