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)
-   -   View Cart page no longer shows Left Bar (https://forum.x-cart.com/showthread.php?t=54332)

cflsystems 10-12-2010 02:23 PM

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

gb2world 10-12-2010 03:03 PM

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.

hermoine 10-20-2010 03:04 PM

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.

hermoine 10-20-2010 03:39 PM

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.

ARW VISIONS 10-20-2010 05:20 PM

Re: View Cart page no longer shows Left Bar
 
if $cart ne "" && $smarty.get.mode ne "wishlist"

try that

ARW VISIONS 10-20-2010 05:21 PM

Re: View Cart page no longer shows Left Bar
 
and for future reference there are many if statement variations in home_main.tpl

hermoine 10-21-2010 08:11 AM

Re: View Cart page no longer shows Left Bar
 
Thank you ASHLEY, worked like a charm!


All times are GMT -8. The time now is 10:08 AM.

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