Results 1 to 5 of 5
  1. #1
    Join Date
    Feb 2009
    Posts
    21
    Plugin Contributions
    0

    Default Help I need to empty my store

    Hope someone has done this before.

    My store products are crosslinked, and showing in wrong catagories.

    Can I empty my store completely of everytrhing, but leave the structure intact, so that i can then re-import my products.

  2. #2

    Default Re: Help I need to empty my store

    Quote Originally Posted by ian_cowdery View Post
    Hope someone has done this before.

    My store products are crosslinked, and showing in wrong catagories.

    Can I empty my store completely of everytrhing, but leave the structure intact, so that i can then re-import my products.
    The easiest way I have found to do it is to drop the categories, categories_description, products and products_description tables from the Zen Cart Database and reimport new one's using phpmyadmin. I have original exports of those tables on my drive for just that reason since some of my hosting customers mess up their categories and products from time to time and it beats a new install. There maybe a better way, but I find this the easiest.

  3. #3
    Join Date
    Feb 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Help I need to empty my store

    could i export the structure of those tables to new tables, rename old tables, an name the new tables to the old one.

    will this reset everything?

  4. #4

    Default Re: Help I need to empty my store

    Quote Originally Posted by ian_cowdery View Post
    could i export the structure of those tables to new tables, rename old tables, an name the new tables to the old one.

    will this reset everything?
    Not sure that can even be done, I would export the tables you want to reset and then drop them and import new virgin ones. If you need the table exports PM me and I can email them to you just let me know if you have a table prefix or not.

  5. #5
    Join Date
    Feb 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Help I need to empty my store

    Hi,

    I had a play around.

    I uses mysqladmin, and copy the table (structure only to new_table name)

    renamed my zen_tables to old_tables

    renamed my new_tables to zen_tables

    so far it seems to be working.

    Let me know if this is going to cause any issues later.

    will keep you informed


    ps. thanks for the offer, my products table have additional fields added to it, so the structure is not virgin
    Last edited by ian_cowdery; 8 Feb 2010 at 09:09 PM.

 

 

Similar Threads

  1. Moving @ store and need help
    By rspencer1762 in forum General Questions
    Replies: 0
    Last Post: 12 Dec 2010, 11:05 AM
  2. need help: "your shopping cart is empty" on chrome
    By chinaskonline in forum General Questions
    Replies: 9
    Last Post: 16 Sep 2010, 07:18 PM
  3. Need help on database and store
    By thebeveragegourmet in forum General Questions
    Replies: 3
    Last Post: 2 Jun 2009, 03:26 AM
  4. I screwed my store - I need help please!
    By maclancer in forum General Questions
    Replies: 0
    Last Post: 10 Jul 2007, 06:20 PM
  5. "My store," zones empty help?
    By Zarbelli in forum Basic Configuration
    Replies: 2
    Last Post: 27 Jun 2006, 08:11 AM

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