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

hiding the sidebar while in register/cart mode

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 06-20-2006, 01:04 PM
 
sho ryu ken sho ryu ken is offline
 

Senior Member
  
Join Date: Nov 2005
Location: England
Posts: 150
 

Default hiding the sidebar while in register/cart mode

I have noticed several of people talking about hiding the sidebar while in the checkout.

I've searched and searched and to my surprise I can't find a way to do it.

I have tried editing cart.php and removing categories.php etc but I can't get the whole thing to go.

Can anyone tell me how to do it pls?
Reply With Quote
  #2  
Old 06-20-2006, 01:37 PM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Just surround that column with an {if} statement:

{if $main ne "cart" and $smarty.get.mode ne "checkout"}

Column code

{/if}
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 06-20-2006, 02:47 PM
 
sho ryu ken sho ryu ken is offline
 

Senior Member
  
Join Date: Nov 2005
Location: England
Posts: 150
 

Default

thanks
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 02:27 AM.

   

 
X-Cart forums © 2001-2020