X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   menu_bestsellers.tpl box (https://forum.x-cart.com/showthread.php?t=9388)

mizzlewillz 09-16-2004 04:03 AM

menu_bestsellers.tpl box
 
Is there a way to keep the bestsellers box present (assuming the bestsellers box is in the left column of home.tpl) when customers view other parts of the site besides viewing the products. Like when a customer goes to register or view there cart the bestsellers box disappears. How would you go about keeping the box present no matter where the user is in the site.


Any comments would be appreciated,

Mike

shan 09-16-2004 04:32 AM

add this to the php files that you want it to appear on

eg, cart.php, help.php

Code:

if($active_modules["Bestsellers"])
        include $xcart_dir."/modules/Bestsellers/bestsellers.php";


mizzlewillz 09-16-2004 06:57 AM

Oh, that would make sense. Didn't even think of that.

Thank you very much!!


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

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