Results 1 to 10 of 19

Hybrid View

  1. #1
    Join Date
    Mar 2011
    Location
    guernsey , uk
    Posts
    39
    Plugin Contributions
    0

    red flag how do mass delete all products from one manufacturer?

    hi, not sure how to do this and i wanted to know if there is an easy way to have all products (which are spread across a range of my categories) from just one of my manufaturer, all delleted at the same time.

    is it as simple as just deleing the manufacturer from the list?

    any help please

    mark

  2. #2
    Join Date
    May 2010
    Location
    Cyberspace
    Posts
    376
    Plugin Contributions
    0

    Default Re: how do mass delete all products from one manufacturer?

    I don't think it's actually possible to delete the way you described. If you don't want to delete manually you could try using easy populate (it'll take you some time to learn how to use it, but it'll be worth it).

    http://www.zen-cart.com/forum/showthread.php?t=34970

    /soniccc

  3. #3
    Join Date
    Mar 2011
    Location
    guernsey , uk
    Posts
    39
    Plugin Contributions
    0

    Default Re: how do mass delete all products from one manufacturer?

    thanks for reply. not surte where on that thread link to look for the answer as its 102 pages long.

    I use easy populate to upload csv so i understand it a little, but how do i use it to manipulate deleting the producst all from one of the manufacturers?

  4. #4
    Join Date
    Mar 2011
    Location
    guernsey , uk
    Posts
    39
    Plugin Contributions
    0

    Default Re: how do mass delete all products from one manufacturer?

    I have ahd a thought? would this work.
    download csv file of all products.
    on excel, filter out the products wity only the manufature i want to delete.
    add a dummy category for all the products to appear in.
    upload all of these via csv file using easy populate, which should only update each product into the new category.
    then perhaps, i can just delet ethat new category???

    Would any of the old information still reside on the old categories, or linked to other categories?

    would that work?

  5. #5
    Join Date
    Mar 2011
    Posts
    93
    Plugin Contributions
    0

    Default Re: how do mass delete all products from one manufacturer?

    You could try to fashion an SQL query that will delete it for you from the tables.

    Is it just a general product type? Or have you got extra customised SQL tables for your products?

    If it's just a general product type without extra SQL tables, then you can simply run this line (but change the "manufacturers_id" number 2 to match the one you want to delete):

    PHP Code:
    DELETE FROM products WHERE manufacturers_id '2'
    You run this from the admin page Tools->Install SQL Patches.

    Do make a backup of your SQL database before hand though!

    Edit: Actually, that would leave the products_description entries.

  6. #6
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: how do mass delete all products from one manufacturer?

    This would be a bad idea as there are many tables involved with Products ...
    products
    products_description
    specials
    featured
    reviews
    etc. etc. etc.
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

 

 

Similar Threads

  1. v151 Mass unlink all Categories from one particular category
    By gilby in forum General Questions
    Replies: 10
    Last Post: 16 Nov 2014, 11:25 PM
  2. how to delete all catagories in one operation?
    By minshop.no in forum Setting Up Categories, Products, Attributes
    Replies: 6
    Last Post: 9 Aug 2009, 09:00 PM
  3. Delete All Products By Manufacturer
    By milobloom in forum General Questions
    Replies: 4
    Last Post: 16 Jan 2008, 01:28 AM
  4. copy attributes from a products to all products from a certain manufacturer?
    By dedj in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 5 Sep 2007, 03:12 PM
  5. One delete button to delete all checked items from cart
    By gsdcypher in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 5 Jul 2007, 04:41 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