Jump to content

Sql Query To Add Products To A Different Category By Manufacturer


Recommended Posts

Hi there!

We are trying to sort out an SQL Query in order to do the following:

  • Select Products from 1 manufacturer;
  • Assign a second category to the selected products (without change default category).

 

The following query doesn't work:

 

UPDATE ps_category_product SET id_category = 57 WHERE id_manufacturer = 20

 

Thanks for your help!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...