Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

How to disable this when a customer is logged in?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 05-28-2006, 04:38 PM
 
jackandfriends jackandfriends is offline
 

Newbie
  
Join Date: Oct 2004
Posts: 9
 

Default 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......

http://img508.imageshack.us/img508/5200/shoppingcart4ug.gif 8
__________________
---
WebboT Vintage and Retro Gifts!

X-CART v3.5.7
Linux
Reply With Quote
  #2  
Old 05-29-2006, 01:59 AM
  pauldodman's Avatar 
pauldodman pauldodman is offline
 

X-Guru
  
Join Date: Jul 2003
Location: Spain / UK
Posts: 3,062
 

Default

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.
__________________
Paul Dodman
e-business & m-commerce consultant
w: www.luminointernet.com
e: xcart@luminointernet.com

Professional X-Cart help, advice, support and services, specialists in Mobile X-Cart.
Reply With Quote
  #3  
Old 05-29-2006, 12:25 PM
 
jackandfriends jackandfriends is offline
 

Newbie
  
Join Date: Oct 2004
Posts: 9
 

Default

Thank you! I will take a look at that.
__________________
---
WebboT Vintage and Retro Gifts!

X-CART v3.5.7
Linux
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 10:16 PM.

   

 
X-Cart forums © 2001-2020