Hi,
Please modify the \classes\ProductSale.php file, add the following code: AND DATEDIFF(ps.date_upd,DATE_SUB("'.date('Y-m-d H:i:s').'", INTERVAL 7 DAY)) > 0
See attached screenshot.
Best regards.
Hi,
I checked that code, it is fine. you just want to show the products in the latest 7 days. but there aren’t any products in those days, so the list is empty.
Best regards.