Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / How can I know customer is on check out pages?

How can I know customer is on check out pages?

Locked

Views: 719

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
8 Dec 2010, 3:48 AM
#1
cindy2010 avatar

cindy2010

Zen Follower

Join Date:
Apr 2010
Posts:
100
Plugin Contributions:
0

How can I know customer is on check out pages?

Hello,

Does anyone know how can I know if customer is on the check out pages? (select address, billing, and final order page)

Our situation is like: we have the shopping_cart sidebox on the left of the site. And I think it would be best to hide the shopping cart sidebox when the customer is already on the check out pages. Otherwise, it may confuse the customer. (I am not sure how to hide it yet, so any input on this is also welcome)

Thanks a lot!

8 Dec 2010, 3:50 AM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How can I know customer is on check out pages?

You can remove right left or both sidebox columns on check out pages.

See comments in a copy of tpl_main_page.php

8 Dec 2010, 4:07 AM
#3
cindy2010 avatar

cindy2010

Zen Follower

Join Date:
Apr 2010
Posts:
100
Plugin Contributions:
0

Re: How can I know customer is on check out pages?

I am not quite follow it. Could you provide more details? (I know some php but is new to zen cart)

Thank you.

8 Dec 2010, 4:30 AM
#5
cindy2010 avatar

cindy2010

Zen Follower

Join Date:
Apr 2010
Posts:
100
Plugin Contributions:
0

Re: How can I know customer is on check out pages?

Thanks! This tells me how to turn the left/right column off. So the only question left will be: how can I know it is checkout pages? (and if I can, I only want to hide certain side boxes: the shopping cart sidebox, and the banner side box.)

8 Dec 2010, 6:15 AM
#6
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: How can I know customer is on check out pages?

So the only question left will be: how can I know it is checkout pages?
Look at the url address the first page is
[CODE]/index.php?main_page=checkout_shipping[/CODE
so following the tutorial you add

checkout_shipping

Same for other pages

I only want to hide certain side boxes: the shopping cart sidebox, and the banner side box
They are alresdy checking out/buying - - just turn off both right and left for these pages and keep it clean
You don't want them clicking away from purchasing