![]() |
Best Sellers on Static Page
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! |
Re: Best Sellers on Static Page
This should do the trick.
Open pages.php FIND: Code:
# Assign the current location line BEFORE ADD: Code:
if ($active_modules["Bestsellers"]) In your static page use: Code:
{if $active_modules.Bestsellers ne ""} |
Re: Best Sellers on Static Page
Thanks so much, Jon! That did the trick. :)
|
Re: Best Sellers on Static Page
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? |
Re: Best Sellers on Static Page
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 |
Re: Best Sellers on Static Page
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[ |
Re: Best Sellers on Static Page
work fine on 4.2, only doing the first 2 steps.
Open pages.php FIND: Code:
# Assign the current location line BEFORE ADD: Code:
if ($active_modules["Bestsellers"]) no need for anything else on 4.2 many thanks jimeu ver 4.2 |
Re: Best Sellers on Static Page
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?
|
All times are GMT -8. The time now is 11:51 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.