| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Best Sellers on Static Page | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() I want to create a static page that lists the best sellers, but the items aren't showing up. I assume that a tweak needs to be made to the bestsellers.php file, but I have no idea where to begin. Has anyone done this before?
My static page is using this code: {if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu ne "Y"} {include file="modules/Bestsellers/bestsellers.tpl"} {/if} Version 4.1.8 Thanks!
__________________
~ Andrea Beight |
|||||||||
#2
|
|||||||||
|
|||||||||
![]() This should do the trick.
Open pages.php FIND: Code:
BEFORE ADD: Code:
In your static page use: Code:
|
|||||||||
|
#3
|
|||||||||
|
|||||||||
![]() Thanks so much, Jon! That did the trick.
![]()
__________________
~ Andrea Beight |
|||||||||
#4
|
|||||||
|
|||||||
![]() Thank You, nice addon...
Is there a way to have this show additional Best Sellers on this page with the sidebox remaining at the amount set in admin?
__________________
Marian Host: Successful Hosting X-Cart version 4.1.9 PHP 4.3.10 MySql 4.0.22-standard Web server Apache 1.3.33 (Unix) Operating system Linux Perl 5.8.3 http://www.seamstobesew.com |
|||||||
#5
|
|||||||||
|
|||||||||
![]() Quote:
Hi Jon, I'm using this tip, but the "best sellers" are displaying in 1 single column. Any suggestions, on how to make them display 3 across? Any help would be greatly appreciated =) Thanks, Becky
__________________
X-Cart Gold 4.1.10 Mods: BCS Engineering, Cart-Lab, FireTankSoftware, WebsiteCM Hosting: EWDHosting.com (These Folks Are The Best!) ================================================ THE LITTLE BEAN COFFEE CO. Fresh Handcrafted Artisan Coffee & Tea, Specialty Beverages, and Gourmet Food ================================================ Experience The Little Bean╝ Difference! www.thelittlebean.com | 1-888-848-BEAN (2326) "Behind every successful woman is a substantial amount of coffee" |
|||||||||
#6
|
|||||||||
|
|||||||||
![]() Not sure off hand but you could try:
[code] {if $active_modules.Bestsellers ne ""} {include file="customer/main/products_t.tpl" products=$bestsellers} {else} Provide a disabled message. {/if} [/code[ |
|||||||||
|
#7
|
|||||||
|
|||||||
![]() work fine on 4.2, only doing the first 2 steps.
Open pages.php FIND: Code:
BEFORE ADD: Code:
no need for anything else on 4.2 many thanks jimeu ver 4.2
__________________
Jaime Gabay |
|||||||
#8
|
|||||||
|
|||||||
![]() Sorry to reopen this thread, but i've done the above..got the bestsellers working on the static page..but its now on the home page and category pages too. Any ideas?
__________________
------------------------------------------------ Darren |
|||||||
|
|||
X-Cart forums © 2001-2020
|