alama Posted August 29, 2018 Share Posted August 29, 2018 (edited) Bonjour, Sur Prestashop 1.6.1.11, le bloc Meilleures ventes affiche toutes les meilleures ventes depuis le début. Je souhaiterai afficher seulement les meilleures ventes sur les 30 derniers jours. Quelqu'un peut-il me dire comment faire cela ? Merci de votre aide, AM Edited September 3, 2018 by alama (see edit history) Link to comment Share on other sites More sharing options...
Eolia Posted August 29, 2018 Share Posted August 29, 2018 fonction getBestSales() de la classe productSale.php, ajouter cette condition: AND ps.`date_upd` > date_sub(NOW(), INTERVAL 30 day) Link to comment Share on other sites More sharing options...
Shaun T Posted August 17, 2022 Share Posted August 17, 2022 (edited) Bonjour à tous, J'ai la même question mais sur Prestashop 1.7 si quelqu'un peut m'aider, ça serait top... Merci Edited August 17, 2022 by Shaun T (see edit history) 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