Results 1 to 6 of 6
  1. #1
    Join Date
    Jul 2012
    Posts
    52
    Plugin Contributions
    0

    Default Mass editing products manufacturers?

    How would I go about mass editing the manufacturers? All of them will be the same manufacturer.

    Thank you,

  2. #2
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,977
    Plugin Contributions
    96

    Default Re: Mass editing products manufacturers?

    Are you saying that you have many products created, all by the same manufacturer, but forgot to set the manufacturer associated with those products?
    Do you have the manufacturer defined now using your admin's Catalog->Manufacturers?

    If you answered "Yes" to those two questions, what is the manufacturers_id of that manufacturer? You can deduce the value by clicking the Info button next to the manufacturer's name and then looking at your browser's address bar which will look like:
    Code:
    http://www.yourstore.com/YOUR_ADMIN/manufacturers.php?page=1&mID=6&action=edit
    The value I've highlighted in bold is the manufacturers_id of that Manufacturer.

  3. #3
    Join Date
    Jul 2012
    Posts
    52
    Plugin Contributions
    0

    Default Re: Mass editing products manufacturers?

    Yes to both of those questions. So the ID is 29. What do I do with that?

    manufacturers.php?page=1&mID=29&action=edit

  4. #4
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,977
    Plugin Contributions
    96

    Default Re: Mass editing products manufacturers?

    OK, back up your database, then run the SQL command
    Code:
    UPDATE products SET manufacturers_id=29;
    If you run that in your admin's Tools->Install SQL Patches, it will automatically add any database prefix you're using.

  5. #5
    Join Date
    Jul 2012
    Posts
    52
    Plugin Contributions
    0

    Default Re: Mass editing products manufacturers?

    Will this work if I have already added the manufacture to some products?

    Thanks,

  6. #6
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,269
    Plugin Contributions
    3

    Default Re: Mass editing products manufacturers?

    Quote Originally Posted by schobook View Post
    Will this work if I have already added the manufacture to some products?

    Thanks,
    Quite safe to run this if ALL products are to have the same manufacturer - even those you have already assigned. This instruction just tells the database to associate every product with manufacturer whose ID is 29 - so if it already has that ID in the field, it will just over-write the initial 29 with the new 29.
    20 years a Zencart User

 

 

Similar Threads

  1. mass product editing
    By shadowcast in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 24 Jul 2010, 12:07 AM
  2. Mass Editing CSS
    By dw08gm in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 14 Aug 2009, 05:33 PM
  3. Mass adding of Manufacturers?
    By GhostRider2110 in forum General Questions
    Replies: 2
    Last Post: 2 Nov 2006, 08:33 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