zahiras Posted March 24, 2017 Share Posted March 24, 2017 Hello everyone!I'am using the module "productscategory" which shows other products in the same category in the product page.The problem is, that the module shows the oldest products. I would like to change that and show the newest product. I wonder is there any way to do that?I believe, it requires changes in these lines: // Get positions $middle_position = (int)round($nb_category_products / 2, 0); $product_position = $this->getCurrentProduct($category_products, (int)$id_product); 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