| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
|
|
||||||||||
| X-Cart Home |
Reset Bestsellers List | |||
![]() |
|
||
|
|
Thread Tools | Search this Thread |
|
#1
|
|||||||
|
|||||||
|
Hi,
I was trying to locate on the backend (and then through searching the forum) for a way to reset 'bestsellers' so everything starts at zero again as our bestsellers doesn't reflect current sales anymore.
__________________
X-CART 4.5.0 MySQL - 5.1.63 PHP 5.3.9 Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Dedicated Cloud Server |
|||||||
|
#2
|
|||||||||
|
|||||||||
|
Same here! Anyone?
__________________
X-Cart Version 4.1.10 |
|||||||||
|
#3
|
|||||||
|
|||||||
|
raised!
__________________
X-CART 4.5.0 MySQL - 5.1.63 PHP 5.3.9 Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Dedicated Cloud Server |
|||||||
|
#4
|
|||||||
|
|||||||
|
maybe it can't be done!
__________________
X-CART 4.5.0 MySQL - 5.1.63 PHP 5.3.9 Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Dedicated Cloud Server |
|||||||
|
#5
|
|||||||
|
|||||||
|
its doable, i believe it just requires that you reset your products' sales stats in your sql database (backup your database before attempting, just in case)
|
|||||||
|
#6
|
|||||||
|
|||||||
|
I am coming up with a solution for this which I am testing out at the moment
instead of resetting the bestsellers manually, it is a weekly bestsellers (which can be changed to monthly very easily)...it makes use of the advanced statistics module, php's date function, and a new table (2 cells) to keep track of when it was last updated |
|||||||
|
#7
|
|||||||
|
|||||||
|
that's fantastic, as it would reflect what is 'hot' more than what statistically has been best over a period of years.
__________________
X-CART 4.5.0 MySQL - 5.1.63 PHP 5.3.9 Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Dedicated Cloud Server |
|||||||
|
#8
|
|||||||
|
|||||||
|
check http://forum.x-cart.com/showthread.php?p=154185#post154185 for the mod
|
|||||||
|
#9
|
|||||||
|
|||||||
|
Thanks
Tried line by line, on the 2nd line you get an error, tried altogether got PATCH RESULTS SQL PATCH FAILED AT QUERY: CREATE TABLE `xcart_lastupdate` (`period` INT( 2 ) NOT NULL ,`year` INT( 4 ) NOT NULL) UPDATE xcart_lastupdate SET week=51 UPDATE xcart_lastupdate SET year=2006 PATCH LOG
__________________
X-CART 4.5.0 MySQL - 5.1.63 PHP 5.3.9 Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 Dedicated Cloud Server |
|||||||
|
|
|||
|
X-Cart forums © 2001-2020
|
|||