[Prestashop] Display newest products in ‘New products’ block

Module ‘blocknewproducts’ shows new products by the selected number of days from the addition.

With my modification, the module will display products sorted by date added, despite the time that has passed since the product was added to our store.

Override method BlockNewProducts::getNewProducts() by this:

You can find this in file: /modules/blocknewproducts/blocknewproducts.php

I ask you to review this article

Rating 5 Stars from 2 reviews

2 thoughts on “[Prestashop] Display newest products in ‘New products’ block”

  1. Thank you for this excellent write-up. The info has actually already helped me with my
    task whre I was stuck as well as didn’t
    undderstand exactly what to do as following step. Anticipating yyour following posts!

Leave a Reply

Your email address will not be published. Required fields are marked *

17 − 13 =