Page 1 of 2 12 LastLast
Results 1 to 10 of 15
  1. #1
    Join Date
    Apr 2008
    Posts
    1
    Plugin Contributions
    0

    Default remove sample database

    Hi. I'm new to ZenCart ---

    How do I remove the sample database?? I have a good understanding of the system now and want to start entering my own products and categories.

    Do I need to start over by running the install program???

    Thanks in advance...

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,021
    Plugin Contributions
    3

    Default Re: remove sample database

    It's not a separate database, so the easiest way is to delete the sample categories from Admin, unless you're a lot more familiar with MySql than I am.

  3. #3
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: remove sample database

    The *cleanest* and fastest way is to do a quick re-install of the database by running the /zc_install/index.php with your browser.

    Merely deleting the sample categories and their contained products is a close second, and is acceptable in many cases. You may want to clean up the demo option names and option values as well.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  4. #4
    Join Date
    Jan 2007
    Posts
    9
    Plugin Contributions
    0

    Default Re: remove sample database

    Is this also a good way to remove all products installed including those I have made myself as a test?

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: remove sample database

    Quote Originally Posted by DrByte View Post
    The *cleanest* and fastest way is to do a quick re-install of the database by running the /zc_install/index.php with your browser.
    Quote Originally Posted by infatti View Post
    Is this also a good way to remove all products installed including those I have made myself as a test?
    What I described above will wipe out everything in your Zen Cart database: customers, orders, products, categories, attributes, all configuration settings ... everything.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Jun 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: remove sample database

    DrByte can you give some more directions what exactly means "quick re-install of the database by running the /zc_install/index.php with your browser." I will appreciate you.

  7. #7
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: remove sample database

    Quote Originally Posted by Ksiaze View Post
    DrByte can you give some more directions what exactly means "quick re-install of the database by running the /zc_install/index.php with your browser." I will appreciate you.

    Well, I'm not the Dr. (looks like he may be busy), but, in Laymans terms, just do a quick re-install, the same way you installed ZC in the first place. Make sure to name your zc_install folder back to zc_install (remember....you had to rename this folder after installation?), then open your browser to http:\\your_site\zc_install. Just install to same database (you will get warnings about wiping everything out....you want that). This time, just don't include the demo products.

    If you've made a custom template, be sure to copy all your custom files to your pc (my documents, maybe), or you WILL loose it.

    You will then, have a "Fresh" install of Zen-Cart with no demo products.

    Hope this helps.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  8. #8
    Join Date
    Jun 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: remove sample database

    First, thank you for quick answer. I reinstalled, but the problem is I don't see option include a demo product, seems they comes together with fresh installation.
    I will try again carefully. Maybe I missed something.

  9. #9
    Join Date
    Dec 2006
    Location
    Seligman, MO U.S.A.
    Posts
    2,101
    Plugin Contributions
    5

    Default Re: remove sample database

    Quote Originally Posted by Ksiaze View Post
    First, thank you for quick answer. I reinstalled, but the problem is I don't see option include a demo product, seems they comes together with fresh installation.
    I will try again carefully. Maybe I missed something.
    Yep. You missed the little field down at the bottom that says "include demo products", selecteded by default. You have to un-select. Look closely, as it IS easy to miss.
    Teach them to shop and they will shop today;
    Teach them to Zen and they will OWN a shop tomorrow!

  10. #10
    Join Date
    Jun 2009
    Posts
    5
    Plugin Contributions
    0

    Default Re: remove sample database

    The only check fields what I see are:

    - Generate a random Administrator username and password.
    - Automatically create a new database.
    - I have read the terms and conditions of the GPLv2 license agreement.
    - I have read and agree to the SimpleScripts Terms of Service.


 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. How to delete Sample Data/Database?
    By quax in forum General Questions
    Replies: 2
    Last Post: 21 Jan 2012, 05:42 PM
  2. Database Description Remove HELP
    By ryanb4614 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 19 Feb 2010, 07:48 PM
  3. How to remove sample text from "documents" page?
    By snurre in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 3 Dec 2009, 04:31 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