X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (X-Cart 5) (https://forum.x-cart.com/forumdisplay.php?f=56)
-   -   Bestsellers time frame for XC5 (https://forum.x-cart.com/showthread.php?t=77870)

galoadm 06-17-2020 05:59 AM

Bestsellers time frame for XC5
 
I see in the backend you can adjust the time frame of the bestsellers displayed there, but there is no way to change the time frame for bestsellers displayed on the client side. We have bestsellers being displayed from all time that are not currently bestsellers, maybe 4 years ago, but not today.



I'd like to set it to display bestsellers for the last month on the client side. Has anyone been able to set the time frame for Bestsellers?


Currently using Business 5.4.1.5

cflsystems 06-17-2020 04:13 PM

Re: Bestsellers time frame for XC5
 
I have not looked at the code but my guess is bestsellers are taken from number of all time sales for a product. So not within particular timeframe. If you want to be able to set this you can either request XC to add an option or get it custom coded.

memoto 06-23-2020 12:27 AM

Re: Bestsellers time frame for XC5
 
Yes, Steve is right. Bestsellers are taken from the Sales statistics.

galoadm 06-23-2020 11:56 AM

Re: Bestsellers time frame for XC5
 
1 Attachment(s)
Thank you for the replies. Looks like the code is already there in the admin section to separate it for Last 24 Hours, Last 7 Days, Last Month, and Lifetime. I've attached a screenshot. Seems like it should be an option for the front end. I'll check in with XC. If anyone has done this, please let me know.


Thanks!


All times are GMT -8. The time now is 02:04 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.