View Single Post
  #1  
Old 07-03-2013, 03:38 PM
 
taponitrof taponitrof is offline
 

Senior Member
  
Join Date: Dec 2007
Posts: 105
 

Default Hide left col on home, checkout, and cart

I'm using the xcart two column template and I want to hide the column on the home page x-cart 4.4. The code in template already hides that column on checkout and cart page.
Here is the original code that hides <div id="left-bar"> on checkout and cart page:

Code:
{if ($main neq 'cart' or $cart_empty) and $main neq 'checkout'}

Here's the code I tried but it doesn't work. I've tried many variation of this but nothing works.

Code:
{if ($main neq 'catalog' or $current_category.category neq "") or $main neq 'checkout' and ($main neq 'cart' or $cart_empty) }

Any ideas.

Thanks
__________________
X-Cart Version 4.1.10, 4.1.11, 4.2, 4.3, 4.4.5
Linux
Reply With Quote