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...
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...
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.
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.
Is this also a good way to remove all products installed including those I have made myself as a test?
.
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.
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!
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.
Teach them to shop and they will shop today;
Teach them to Zen and they will OWN a shop tomorrow!
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.
![]()