| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Small mod: Leastsellers | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Small mod: Leastsellers
Greetings,
I've basically "traced" the bestseller module to display products that aren't viewed much in your shop. If anyone have better optimization for search criterias for least viewed products, please do share! Step: Paste stuff after #==Begin==# , and before #==End==# or just cut-and-paste the file. Modify1: /x-cart-dir/modules/bestsellers.php Code:
I modified the left-column bestsellers menu to be the least sellers, but if you want the central section to be the leastsellers instead, use the same logic below for bestsellers.tpl. If you need help please let me know by PM. Step: Create filemenu_bestsellers_reverse.tpl in /x-cart-dir/skin1/modules/Bestsellers/ Modify2: Cut and paste menu_bestsellers.tpl, add _reverse to all bestsellers wordings. Code:
Final Step: in /x-cart-dir/skin1/customer/home.tpl ammend Code:
Code:
__________________
Best Regards! Alan Search is my friend |
|||||||
#2
|
|||||||
|
|||||||
nice way of promoting unpopular products well done.
__________________
ex x-cart guru |
|||||||
#3
|
|||||||||
|
|||||||||
I like this mod, but is there a way to get the Best Sellers list display the most "viewed" products instead of most sold?
BTW....running v3.5.3
__________________
Xcart V4.5.5 Gold seaCOAST "Live FREE or DIE!" |
|||||||||
#4
|
|||||||
|
|||||||
it is possible - you would need to amend the sql query in the bestsellers.php file that grabs the products depending on the sales stats and the view stats to just the view stats.
__________________
ex x-cart guru |
|||||||
#5
|
|||||||||
|
|||||||||
Thanks funky...I think I got it to work.
__________________
Xcart V4.5.5 Gold seaCOAST "Live FREE or DIE!" |
|||||||||
|
|||
X-Cart forums © 2001-2020
|