Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 2010
    Posts
    68
    Plugin Contributions
    0

    Default Deleting All Data in Cart?

    Hi, I've been doing some testing by uploading some products from my datafeed to my store. Am wondering, is there any easy way to delete all data in Zen Cart without doing it one by one.

    THanks
    Brenda

  2. #2
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Deleting All Data in Cart?

    You can completely wipe out EVERYTHING ... (not just products) by uploading the zc_install files and running zc_install just like it was a brand new store. After providing database credentials it will wipe out the entire store database (all users, customers, products, orders, sales, module settings, everything) and you'll be reset to a completely brand new fresh start.
    .

    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.

  3. #3
    Join Date
    Apr 2010
    Posts
    68
    Plugin Contributions
    0

    Default Re: Deleting All Data in Cart?

    Hi Doc.... But besides a clear and total wipe out, how can you quickly get rid of test products uploaded. Thanks again!

    Brenda

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

    Default Re: Deleting All Data in Cart?

    I don't know about 'quickly', but I just delete all categories from admin.

  5. #5
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Deleting All Data in Cart?

    Quote Originally Posted by stevesh View Post
    I don't know about 'quickly', but I just delete all categories from admin.
    Yes, that works too ... however it leaves the "next product ID" set to whatever the highest already-used number was.

    It really depends on what your specific needs are.
    .

    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
    Apr 2010
    Posts
    68
    Plugin Contributions
    0

    Default Re: Deleting All Data in Cart?

    Ok thanks....

    Brenda

  7. #7
    Join Date
    Jul 2012
    Posts
    16,734
    Plugin Contributions
    17

    Default Re: Deleting All Data in Cart?

    Quote Originally Posted by msbfrnj View Post
    Ok thanks....

    Brenda
    Also if using a tool such as EasyPopulate 4 by uploading product with a status of 9, the related product will be deleted. (Still have the same next product number issue described above.)
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

 

 

Similar Threads

  1. deleting all data
    By limelites in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 12 May 2010, 02:29 PM
  2. Deleting ALL sample data
    By pcaspian in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 28 Aug 2008, 03:06 PM
  3. Deleting all countries?
    By blueparukia in forum General Questions
    Replies: 9
    Last Post: 11 Aug 2007, 06:15 PM
  4. Deleting all Products
    By Greybeard in forum General Questions
    Replies: 1
    Last Post: 20 Mar 2007, 06:45 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR