If you want to make a Category with ALL the Products that have a manufacturers_id of XX as Linked Products ...
1 Make a new Category and note the categories_id ... let's say it is 66
2 Get the manufacturers_id ... let's say it is 3
3 Backup your database in case you blow it ...
4 Run in phpMyAdmin the command:
Code:
insert into products_to_categories (products_id, categories_id) select products_id, 66 from products where manufacturers_id = 3 and products_id not in (select products_id from products_to_categories where categories_id = 66);
Now ALL Products with manufacturers_id 3 are Linked Products in categories_id 66
Now, let's say you want categories_id 66 to be the master_categories_id for all these products ...
Go to the Category categories_id 66 so that you can see the C for Copy on the Products and click it ... now click on Multiple Categories Linked Manager ...
Down at the bottom of the page you will see:
Enter the categories_id of 66 and all Products will be changed to have categories_id 66 as their master_categories_id ...