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)
-   -   How to disable this when a customer is logged in? (https://forum.x-cart.com/showthread.php?t=22119)

jackandfriends 05-28-2006 04:38 PM

How to disable this when a customer is logged in?
 
Hi,
I want to disable the "Registered customers" box (the yellow marked area) when a customer is logged in. How can I do that?
I am not a code expert...... 8O

http://img508.imageshack.us/img508/5200/shoppingcart4ug.gif 8

pauldodman 05-29-2006 01:59 AM

That section of the menu will be called from the skin1/customer/home.tpl template. Look for the include tag that does this.
Then either side of it add:
{if $login eq ne }
{ include file="THE YELLOW RECTANGLE" }
{/if}

You will see plenty of other examples like this in that template.

jackandfriends 05-29-2006 12:25 PM

Thank you! I will take a look at that.


All times are GMT -8. The time now is 03:31 PM.

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