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)

Sisom 06-24-2010 01:28 PM

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).:roll: 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.

cflsystems 06-24-2010 01:51 PM

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

Sisom 06-24-2010 01:57 PM

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.

cflsystems 06-24-2010 02:01 PM

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

Sisom 06-24-2010 02:27 PM

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.

cflsystems 06-24-2010 02:28 PM

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.

ARW VISIONS 06-24-2010 07:27 PM

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. :(

Sisom 06-24-2010 10:57 PM

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!

Sisom 06-30-2010 05:55 AM

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.

hermoine 10-12-2010 12:18 PM

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


All times are GMT -8. The time now is 11:53 PM.

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