How would I go about mass editing the manufacturers? All of them will be the same manufacturer.
Thank you,
How would I go about mass editing the manufacturers? All of them will be the same manufacturer.
Thank you,
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:
The value I've highlighted in bold is the manufacturers_id of that Manufacturer.Code:http://www.yourstore.com/YOUR_ADMIN/manufacturers.php?page=1&mID=6&action=edit
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
OK, back up your database, then run the SQL command
If you run that in your admin's Tools->Install SQL Patches, it will automatically add any database prefix you're using.Code:UPDATE products SET manufacturers_id=29;
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