Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How to eliminate the left side bar while checking out

How to eliminate the left side bar while checking out

Locked

Views: 1,388

Results 1 to 7 of 7
This thread is locked. New replies are disabled.
8 Jul 2008, 8:56 PM
#1
tee_dot avatar

tee_dot

New Zenner

Join Date:
Jun 2008
Posts:
33
Plugin Contributions:
0

How to eliminate the left side bar while checking out

I feel as though my sidebar is making customers feel weiry when checking out because it has so many designs in it and on a check out page you just want the designs that you will be buying.

Is there anyway to eliminate this page just when checking out? I want the sidebar to be there throughout the entire shopping experience until the checkout

Thanks

Andrew

PS the website is http://www.iwannat.com

8 Jul 2008, 9:11 PM
#2
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: How to eliminate the left side bar while checking out

I loaded your site but nothing showed up, so I'm assuming you just mean the left column.

Check this tutorial:
https://www.zen-cart.com/tutorials/index.php?article=233

The file references you want to add are:
checkout_shipping
checkout_payment
checkout_confirmation

and possibly:
checkout_login
checkout_account
checkout_success

8 Jul 2008, 9:49 PM
#3
tee_dot avatar

tee_dot

New Zenner

Join Date:
Jun 2008
Posts:
33
Plugin Contributions:
0

Re: How to eliminate the left side bar while checking out

I attempted to do what the tutorial says...and by all means it should work...but it doesn't...

Any other suggestions?

Thanks

8 Jul 2008, 10:14 PM
#4
steven300 avatar

steven300

Totally Zenned

Join Date:
Jan 2008
Posts:
1,564
Plugin Contributions:
1

Re: How to eliminate the left side bar while checking out

So you have this code..

if (in_array($current_page_base,explode(",",'checkout_shipping,checkout_payment,checkout_confirmation')) ) {
     $flag_disable_left = true;
  }

and you uploaded to the correct directory..
includes/templates/name_of_your_custom_template/common

I suppose it could be a template issue. You might try the template's support thread.

8 Jul 2008, 10:37 PM
#5
tee_dot avatar

tee_dot

New Zenner

Join Date:
Jun 2008
Posts:
33
Plugin Contributions:
0

Re: How to eliminate the left side bar while checking out

the exact code that I used to replace what was there is:

  if (in_array($current_page_base,explode(",",'checkout_shipping,checkout_payment,checkout_confirmation,checkout_login,checkout_account,checkout_success,shopping_cart')) ) {
     $flag_disable_left = true;
  }
8 Jul 2008, 10:42 PM
#6
tee_dot avatar

tee_dot

New Zenner

Join Date:
Jun 2008
Posts:
33
Plugin Contributions:
0

Re: How to eliminate the left side bar while checking out

probably a template issue

8 Jul 2008, 11:47 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: How to eliminate the left side bar while checking out

This template radically changes the organization of the page, so very little of the standard layout fixes will work. You can get the left sidebar to disappear and the center to fill the space with this added to the end of your stylesheet:```
#navColumnTwo {display: none;}
.centerColumn {width: 96%;}