VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: user_fra on November 11, 2021, 18:52:27 PM

Title: VirtueMart products module - Best sales since when?
Post by: user_fra on November 11, 2021, 18:52:27 PM
Hi,
(VirtueMart 3.8.8)
please, could someone tell me which period is taken into account for the calculation of the best-selling products?
Since the beginning... last year or...?
Thank you, regards
Francesco
Title: Re: VirtueMart products module - Best sales since when?
Post by: GJC Web Design on November 11, 2021, 19:22:36 PM
from the beginning  .. there is no time period

case 'topten':
               $orderBy = 'ORDER BY p.`product_sales` DESC, p.`virtuemart_product_id` DESC';
Title: Re: VirtueMart products module - Best sales since when?
Post by: user_fra on November 12, 2021, 08:11:01 AM
Thank you,
I use RO CSVI extension to create Virtuemart reports, but results are different from VirtueMart products module - Best sales, that's why I asked here in the forum.
Is it possible the module considers the total amount of sales and not the number of sales?
Thank you
Francesco