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

View Cart page no longer shows Left Bar

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #11  
Old 10-12-2010, 02:23 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: View Cart page no longer shows Left Bar

In 4.4.1 the file you are looking for is content.tpl but it may be better to add to customer/content.tpl and not Fast_Lane_Checkout/content.tpl
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #12  
Old 10-12-2010, 03:03 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: View Cart page no longer shows Left Bar

You might consider googling "ecommerce checkout distractions" and look at the advise and information there before redesigning the checkout process. Best to take a minimalist approach on those pages to maximize your conversions.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote
  #13  
Old 10-20-2010, 03:04 PM
 
hermoine hermoine is offline
 

Advanced Member
  
Join Date: Oct 2010
Posts: 46
 

Default Re: View Cart page no longer shows Left Bar

sighhhh, i ending up writing a smarty tag in the home.tpl file. However I get a double nav bar if the cart is empty :/ is there a way to write smarty so that the nav bar only shows up when there are products in the cart? Sorry such a noob at smarty.

{if $main ne 'cart'}
<div id="left-bar">
{include file="customer/left_bar.tpl"}
</div>
{/if}

I understand for efficiency sake why people don't put nav bars in the cart area, but the pretty little design my client wants doesn't really allow for it to be taken out.
__________________
4.4
no add-on modules
Reply With Quote
  #14  
Old 10-20-2010, 03:39 PM
 
hermoine hermoine is offline
 

Advanced Member
  
Join Date: Oct 2010
Posts: 46
 

Default Re: View Cart page no longer shows Left Bar

another way i tried it was like this...
{if $cart ne "" and $active_modules.Product_Options}

<div id="left-bar">
{include file="customer/left_bar.tpl"}
</div>
{/if}
but then the double nav bar shows up on the wishlist page. So how do you say in smarty include this left bar if $cart ne "" but not if you are on the wish list page cart.php?mode=wishlist. ugh.
__________________
4.4
no add-on modules
Reply With Quote
  #15  
Old 10-20-2010, 05:20 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: View Cart page no longer shows Left Bar

if $cart ne "" && $smarty.get.mode ne "wishlist"

try that
__________________
xcart 5.1.2
Reply With Quote
  #16  
Old 10-20-2010, 05:21 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: View Cart page no longer shows Left Bar

and for future reference there are many if statement variations in home_main.tpl
__________________
xcart 5.1.2
Reply With Quote
  #17  
Old 10-21-2010, 08:11 AM
 
hermoine hermoine is offline
 

Advanced Member
  
Join Date: Oct 2010
Posts: 46
 

Default Re: View Cart page no longer shows Left Bar

Thank you ASHLEY, worked like a charm!
__________________
4.4
no add-on modules
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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:08 AM.

   

 
X-Cart forums © 2001-2020