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
  #1  
Old 06-24-2010, 01:28 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default View Cart page no longer shows Left Bar

I've just noticed that the View Cart page, and Checkout pages, don't display the Left Bar. Is there a simple way to bring the Left Bar back? I would have thought it was best to keep the site the same way throughout the checkout process, in case the customer wants to see it! I don't want my sites looking like Amazon's checkout page, where they don't even have a link back to their homepage on the Amazon logo.

Does anybody know of a customised template that has a much smaller CSS file, which I could use as a start, rather than having to battle through Qualiteam's seeming lack of basic understanding of how CSS works? (I don't think they even know what the 'float' property is). I find that astonishing, but looking at my CSS files, the only 'float' properties I can see are the ones I've been furiously adding!
I can only imagine that only one person at Qualiteam was responsible for the new CSS, and they didn't know how to use floats, so just went for absolute positioning! Hence trying to set up a normal site with all that unorthodox CSS has proved to be a bit of a nightmare for me.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #2  
Old 06-24-2010, 01:51 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

If you are using FLC (Fast Lane Checkout) they yes there is no left or right column. You can add them by editing skin1/moudles/Fast_Lane_Checkout/home.tpl
By the way I don't like Amazon and their checkout process with no way to exit or edit the cart but putting the site on the checkout pages may distrct customers
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 06-24-2010, 01:57 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: View Cart page no longer shows Left Bar

Hi Steve, thanks for your help, I think I am going to have the One Page Checkout installed, from Altered Cart, and that looks okay on its own page anyway.

Amazon have an astonishingly bad checkout process, and they don't seem to care.

So am I right about V4.3 not having any floats in the CSS anywhere? That's truly bizarre, that such a large company wouldn't have somebody who knew how to use CSS properly.

I guess it explains the bizarre styles such as:

#content-container2 {
float: left;
position: relative;
right: 100%;
width: 200%;

What's wrong with using something simple like:
width: 960px;
margin: 0 auto;

or am I missing something? And why are there two page-containers, two content-containers, and two center styles? It's as if they just kept adding new divs because they didn't know what they were doing, and they've just made the entire site much harder to edit than it needs be.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #4  
Old 06-24-2010, 02:01 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

Can't tell you if QT has anyone knowing CSS or not but it is a common opinion here in the forum that the xcart CSS sucks and it's bloated a lot for no reason. Maybe one of the reasons is that now cart loads center part (site contents) first and header/footer after so it's better for SEO
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #5  
Old 06-24-2010, 02:27 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: View Cart page no longer shows Left Bar

Yes, the CSS sure is bloated! 5,000 lines in main.css! The header and footer css is only about fifty lines in total, I just think that whoever did all the CSS didn't actually learn all about it first - especially as there isn't a single 'float' property that I can find!
Do you know of a template I can buy that has just the necessary CSS, rather than 5,000 lines of it, and that I can more easily use as a starting point? Either I'll buy that, or just have to strip out everything superfluous from the CSS files and redo it all from scratch myself.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #6  
Old 06-24-2010, 02:28 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

Quote:
Originally Posted by Sisom
... or just have to strip out everything superfluous from the CSS files and redo it all from scratch myself.
Do that.
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #7  
Old 06-24-2010, 07:27 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

I am working on such templates right now.

Hopefully they will be ready soon. Too busy for an exact date tho.
__________________
xcart 5.1.2
Reply With Quote
  #8  
Old 06-24-2010, 10:57 PM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: View Cart page no longer shows Left Bar

Hi Ashley, that sounds exactly what I'm looking for. You'll have my custom, that's for sure!
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #9  
Old 06-30-2010, 05:55 AM
 
Sisom Sisom is offline
 

eXpert
  
Join Date: Sep 2006
Posts: 310
 

Default Re: View Cart page no longer shows Left Bar

In case anybody is interested in how I did it, here is the code for
modules/Fast_Lane_Checkout/home.tpl: (X-Cart 4.3.2)


Code:
{* $Id: home.tpl,v 1.19 2009/05/26 13:23:24 joy Exp $ vim: set ts=2 sw=2 sts=2 et: *} <?xml version="1.0" encoding="{$default_charset|default:"iso-8859-1"}"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> {config_load file="$skin_config"} <html xmlns="http://www.w3.org/1999/xhtml"> <head> {include file="customer/service_head.tpl"} <link rel="stylesheet" type="text/css" href="{$SkinDir}/modules/Fast_Lane_Checkout/{#CSSFilePrefix#}.css" /> </head> <body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}> {* COMMENTING OUT FAST LANE CHECKOUT CONTAINER *} <div id="page-container" {* class="flc-container" *}> <div id="page-container2"> <div id="content-container"> <div id="content-container2"> <div id="center"> <div id="center-main"> {include file="customer/evaluation.tpl"} {include file="customer/dialog_message.tpl"} {if $checkout_step ge 0} {include file="modules/Fast_Lane_Checkout/tabs_menu.tpl"} {else} <div class="flc-buttons"> {if !$std_checkout_disabled} {include file="customer/buttons/button.tpl" button_title=$lng.lbl_checkout style="div_button" href="cart.php?mode=checkout" additional_button_class="flc-3-button"} {/if} {include file="customer/buttons/button.tpl" button_title=$lng.lbl_continue_shopping style="div_button" href="home.php" additional_button_class="flc-1-button"} </div> <div class="clearing"></div> {/if} {include file="modules/Fast_Lane_Checkout/home_main.tpl"} </div> </div> {* ADDING BACK IN LEFT BAR - START *} <div id="left-bar"> {if $categories && ($active_modules.Flyout_Menus || $config.General.root_categories eq "Y" || $subcategories)} {include file="customer/categories.tpl" } {/if} {include file="customer/menu_cart.tpl" } {if $active_modules.Bestsellers} {include file="modules/Bestsellers/menu_bestsellers.tpl" } {/if} {if $active_modules.Manufacturers ne "" and $config.Manufacturers.manufacturers_menu eq "Y"} {include file="modules/Manufacturers/menu_manufacturers.tpl" } {/if} {if $active_modules.Survey && $menu_surveys} {foreach from=$menu_surveys item=menu_survey} {include file="modules/Survey/menu_survey.tpl"} {/foreach} {/if} {if $active_modules.Feature_Comparison && $comparison_products ne ''} {include file="modules/Feature_Comparison/product_list.tpl" } {/if} {if $active_modules.XAffiliate && $config.XAffiliate.partner_register eq 'Y' && $config.XAffiliate.display_backoffice_link eq 'Y'} {include file="partner/menu_affiliate.tpl" } {/if} {if $active_modules.Interneka} {include file="modules/Interneka/menu_interneka.tpl" } {/if} {include file="customer/special.tpl"} {include file="poweredby.tpl" } </div> {* ADDING BACK IN LEFT BAR - END *} </div> </div> <div class="clearing">&nbsp;</div> <div id="header"> {include file="customer/head.tpl"} </div> <div id="footer"> {include file="customer/bottom.tpl"} </div> {if $active_modules.SnS_connector} {include file="modules/SnS_connector/header.tpl"} {/if} {if $active_modules.Google_Analytics ne "" && $config.Google_Analytics.ganalytics_code ne ""} {include file="modules/Google_Analytics/ga_code.tpl"} {/if} </div> </div> </body> </html>


Just edit this part near the top:
Code:
{* COMMENTING OUT FAST LANE CHECKOUT CONTAINER *} <div id="page-container" {* class="flc-container" *}>

and past the part inside the "ADDING BACK IN LEFT BAR" start and end comments. Works like a dream.
I prefer to have the left bar on display, as the customer may see a category while in the checkout process, and go and look at another item and buy it.
__________________
X-Cart Gold Version 4.3.2
Reply With Quote
  #10  
Old 10-12-2010, 12:18 PM
 
hermoine hermoine is offline
 

Advanced Member
  
Join Date: Oct 2010
Posts: 46
 

Default Re: View Cart page no longer shows Left Bar

Hey Sisom,

I am having the same problem in xcart 4.4! There is no modules/Fast_Lane_Checkout/home.tpl

These are the tpl files I have customer_details_html.tpl
checkout_2_method.tpl
checkout_3_place.tpl
checkout_0_enter.tpl
payment_methods.tpl
tabs_menu.tpl
head.tpl
shipping_methods.tpl
content.tpl
home_main.tpl

Does anyone know how to put the left bar back in in xcart 4.4? Thanks!

This problem only occurs when you acutally put a product in the cart.
http://littostar.com/xcart/cart.php
__________________
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:26 AM.

   

 
X-Cart forums © 2001-2020