Alex12 Posted October 28, 2013 Posted October 28, 2013 Hello, I m'trying to change the function "new product" to no longer bind to the date_add in the database. I created a new category. Each product since its default category + I link to the category "new products". I would like that when a product appears in his default category, it is recognized as a new product and therefore the banner new appears. I think we need to override this file classes/category.php And change the function reference getProduct if my new date added is less than x days. I wish that this new function returns if my product is also linked to the category new (in my case id_cat = 8) I have no idea to make this change and change sql query (line 552) to achieve this. Someone can help me? A big thank you Share this post Link to post Share on other sites More sharing options...
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
Already have an account? Sign in here.Sign In Now