Zayon Posted July 5, 2021 Share Posted July 5, 2021 Hey all, I've tried to edit the getNewProducts function like this : WHERE product_shop.`active` = 1 AND p.`id_product` != 30 and like this : $sql->where('product_shop.`active` = 1 AND product_shop.`id_product` != 30'); But the product with id "30" is still present in new products bloc. Do you think ive missed something ? Thanks for your help Link to comment Share on other sites More sharing options...
musicmaster Posted July 6, 2021 Share Posted July 6, 2021 You are turning us into detectives. Please show the full query. 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