webbusiness23 Posted June 23, 2015 Share Posted June 23, 2015 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 More sharing options...
vekia Posted June 23, 2015 Share Posted June 23, 2015 hello table that you have to alter is ps_product_shop Link to comment Share on other sites More sharing options...
samuel89 Posted November 4, 2020 Share Posted November 4, 2020 Is there a way to do it throught code? any function like setProductShopActive? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now