Zen Cart Logo
Forums / General Questions / Remove Header Links & Breadcrumbs From Checkout

Remove Header Links & Breadcrumbs From Checkout

Locked

Views: 2,567

Results 1 to 11 of 11
This thread is locked. New replies are disabled.
21 Mar 2010, 12:33 PM
#1
games4gamers avatar

games4gamers

New Zenner

Join Date:
Dec 2008
Posts:
55
Plugin Contributions:
0

Remove Header Links & Breadcrumbs From Checkout

Is there a way to remove the header links and the breadcrumbs trail from the shopping cart -> checkout process set of pages? If so, how? I have the left & right columns removed, and I'd like to remove these things as well.

Thanks.

21 Mar 2010, 1:31 PM
#2
nehoward64 avatar

nehoward64

Zen Follower

Join Date:
Mar 2010
Location:
Battle Creek, MI
Posts:
124
Plugin Contributions:
0

Re: Remove Header Links & Breadcrumbs From Checkout

For the breadcrumbs try Admin/Config/Layout Settings/Define Breadcrumb Status and set to zero'0'.

When you say header links, are you referring to the banners displayed or menu options displayed within the header?

21 Mar 2010, 4:11 PM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Remove Header Links & Breadcrumbs From Checkout

You will have to create a TPL set that is specific to the shopping cart page only.

  1. I trust you have a custom template?

  2. Create this folder (in the path shown)...

includes/templates/CUSTOM/shopping_cart/

  1. Inside that folder, put a COPY of tpl_main_page.php (the original is in the common folder.)

  2. Comment out the bit shown below:

<!-- bof  breadcrumb -->
<!--<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
    <div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>
<?php } ?>-->
<!-- eof breadcrumb -->

Save the file.

21 Mar 2010, 9:22 PM
#5
games4gamers avatar

games4gamers

New Zenner

Join Date:
Dec 2008
Posts:
55
Plugin Contributions:
0

Re: Remove Header Links & Breadcrumbs From Checkout

Okay that worked fine for the shopping cart, but once you click checkout, the breadcrumbs are back. I found where the navigation links were and commented those out, but when I go to the shopping cart, the logo and such is gone too, which I don't want it to be.

26 Mar 2010, 5:49 PM
#6
games4gamers avatar

games4gamers

New Zenner

Join Date:
Dec 2008
Posts:
55
Plugin Contributions:
0

Re: Remove Header Links & Breadcrumbs From Checkout

Bump...

26 Mar 2010, 6:51 PM
#7
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Remove Header Links & Breadcrumbs From Checkout

schoolboy:

You will have to create a TPL set that is specific to the shopping cart page only.

  1. I trust you have a custom template?

  2. Create this folder (in the path shown)...

includes/templates/CUSTOM/shopping_cart/

  1. Inside that folder, put a COPY of tpl_main_page.php (the original is in the common folder.)

  2. Comment out the bit shown below:

<!-- bof breadcrumb -->

<!--<?php if (DEFINE_BREADCRUMB_STATUS == '1' || (DEFINE_BREADCRUMB_STATUS == '2' && !$this_is_home_page) ) { ?>
<div id="navBreadCrumb"><?php echo $breadcrumb->trail(BREAD_CRUMBS_SEPARATOR); ?></div>

<?php } ?>--> <!-- eof breadcrumb -->
> Save the file.

By creating a **FOLDER** with the same name as a given **PAGE NAME**, you create an OVERRIDE that is specific to THAT page. The procedure I have given above shows how it is done.

As you proceed through checkout, look in your browser address bar...

The page after **shopping_cart** is **checkout_shipping**, followed by **checkout_payment**, followed by **checkout_success**.

Create additional folders:-
**checkout_shipping
checkout_payment
checkout_success**

And then put COPIES of the TPL file you created earlier into these folders.
*
PS: It's rude to bump posts! *
26 Mar 2010, 10:37 PM
#8
games4gamers avatar

games4gamers

New Zenner

Join Date:
Dec 2008
Posts:
55
Plugin Contributions:
0

Re: Remove Header Links & Breadcrumbs From Checkout

Posted via Mobile Device

26 Mar 2010, 10:42 PM
#9
games4gamers avatar

games4gamers

New Zenner

Join Date:
Dec 2008
Posts:
55
Plugin Contributions:
0

Re: Remove Header Links & Breadcrumbs From Checkout

Thanks...how on earth can it be considered rude to bump a post? I could understand if it was a few minutes after a reply or something, but my bump was 2 or 3 days after the last reply. And on top of that, I indicated I was still having issues with it, so you sound like a total jerk saying I'm not allowed to ask for additional help....that's what this is, a help forum...sheesh.
Posted via Mobile Device

27 Mar 2010, 9:48 AM
#10
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Remove Header Links & Breadcrumbs From Checkout

This was a very active thread, and the jerk you speak of was the one who provided you with the advice you needed.

Two things:

It is still (on this forum) considered inappropriate to bump posts - regardless of how long they have been here.

The jerk who provided you help won't do so again.

1 Apr 2010, 7:42 PM
#11
games4gamers avatar

games4gamers

New Zenner

Join Date:
Dec 2008
Posts:
55
Plugin Contributions:
0

Re: Remove Header Links & Breadcrumbs From Checkout

Well apparently it was under Do's and Don'ts about bumping. Don't know if those are considered hard & fast rules or just general suggestions, shrug. It goes on to say post again about it, which is the same thing as bumping, which seems contradictory.

Nevertheless I apologize for overreacting. I felt like you were attacking me for simply asking for more help. Not everyone is a pro at Zen Cart or programming in general...