Jump to content

UPDATE ps_product SET 'active' = 0 ?


Recommended Posts

Hi,


 


Does anybody know how to update several products using SQL query?


I need to set them inactive. I tried this query but with no result on front office:



UPDATE `ps_product` SET `active` = 0 WHERE `reference` IN ("product-code-1","product-code-2")

I'd really appreciate your help.


Link to comment
Share on other sites

  • 5 years later...

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...