Zen Cart Logo
Forums / General Questions / Subheader menu disappeared at checkout success page

Subheader menu disappeared at checkout success page

Locked

Views: 2,496

Results 1 to 13 of 13
This thread is locked. New replies are disabled.
9 Nov 2007, 3:12 AM
#1
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Subheader menu disappeared at checkout success page

For some reason, I found out that the subheader menu where it says "New Products | Sales | Shopping Cart | Login | Members" has disappeared at checkout success page. The rest of the pages (as far as I know) have the subheader menu. Does anyone know how this happened? Please advise. Thanks in advance.

9 Nov 2007, 6:24 AM
#2
poolprorich avatar

poolprorich

Zen Follower

Join Date:
Aug 2007
Location:
Tampa FL.
Posts:
143
Plugin Contributions:
0

Re: Subheader menu disappeared at checkout success page

<!-- bof languages/currencies header display -->
<div id="navCurrenciesWrapper" class="forward">
  <a href="http://www.dealbyethan.com/?currency=USD">$USD</a>  <a href="http://www.dealbyethan.com/?currency=EUR">€EUR</a>  <a href="http://www.dealbyethan.com/?currency=AUD">$AUD</a>  <a href="http://www.dealbyethan.com/?currency=GBP">£GBP</a>  <a href="http://www.dealbyethan.com/?currency=CAD">$CAD</a>  <a href="http://www.dealbyethan.com/?currency=JPY">¥JPY</a>  <a href="http://www.dealbyethan.com/?currency=KRW">₩KRW</a>  <a href="http://www.dealbyethan.com/?currency=CNY">¥CNY</a>  </div>
<!-- eof  languages/currencies header display -->

Any links that are relevant to your site you do not need to call as http://www.yoursite.com/image/image.jpg it should read

/image/image.jpg
when you enter a secure part of your site http:// needs to be https:// if that makes any sence
so you need to call your images relitive to site as zen cart knows where it is located if you call it http:// zencart thinks you are accessing from a strange location, all css images should also be caled relitive from the css file

9 Nov 2007, 8:18 AM
#3
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Subheader menu disappeared at checkout success page

Thanks for your response.

I don't understand what you were trying to say. Please explain. The subheader menu is showing during checkout but not after checkout, i.e. at checkout success page.

11 Nov 2007, 3:47 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Subheader menu disappeared at checkout success page

Sounds like something in your template ...

Either the code is designed to mask it during checkout or there is something wrong with your template that it loses that ...

Without seeing the site it is hard to say ...

11 Nov 2007, 3:53 AM
#5
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Subheader menu disappeared at checkout success page

NOTE: you also appear to be missing from your stylesheet the classes:

.hiddenField {
	display: none;
}
.visibleField {
	display: inline;
}

These will make the address info appear correctly when changing between countries etc.

11 Nov 2007, 8:11 AM
#6
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Subheader menu disappeared at checkout success page

Hi Ajeh,

Thanks for your help.

Sounds like something in your template ... Either the code is designed to mask it during checkout or there is something wrong with your template that it loses that ...

During checkout the subheader menu is there but NOT after checkout, i.e. the Thank you page. Therefore I don't think it is designed to mask it. Which files should I look into?

NOTE: you also appear to be missing from your stylesheet the classes:
Code:

.hiddenField {
display: none;
}
.visibleField {
display: inline;
}

These will make the address info appear correctly when changing between countries etc.

Should I add this code in the end of this file?
/includes/templates/YOUR_TEMPLATE/stylesheet.css

11 Nov 2007, 8:35 AM
#7
misty avatar

misty

Inactive

Join Date:
Apr 2004
Location:
UK
Posts:
5,752
Plugin Contributions:
1

Re: Subheader menu disappeared at checkout success page

Should I add this code in the end of this file?
/includes/templates/YOUR_TEMPLATE/stylesheet.css

.hiddenField {
display: none;
}
.visibleField {
display: inline;
}

YES...

12 Nov 2007, 6:07 AM
#8
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Subheader menu disappeared at checkout success page

Hi Ajeh,

Sounds like something in your template ... Either the code is designed to mask it during checkout or there is something wrong with your template that it loses that ...

I looked into the possible files that cause the problem with no luck. Any idea?

12 Nov 2007, 7:35 PM
#9
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Subheader menu disappeared at checkout success page

Do a search on:
Members

in the Developers Tool Kit ...

Then do a search on the DEFINE for that ...

This should tell you what file is drawing that menu ...

Then do a search for the menu filename ...

Somewhere that filename is being called by most of your pages, but not all of your pages ...

13 Nov 2007, 8:02 AM
#10
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Subheader menu disappeared at checkout success page

Do a search on:
Members

in the Developers Tool Kit ...

Then do a search on the DEFINE for that ...

This should tell you what file is drawing that menu ...

Then do a search for the menu filename ...

Somewhere that filename is being called by most of your pages, but not all of your pages ...

Thanks for your help, Ajeh. In the Developers Tool Kit, I search on Members and then on the DEFINE for that and found the file that draws the menu:
/includes/languages/english/menu.php
Line #16 : define('MENU_TEXT_MEMBERS', 'Members');

I then search for menu.php in the Developers Tool Kit again and found 2 things:
/includes/languages/english/menu.php
Line #2 : $Id: english_menu.php,v 1.0 2004/08/09 Exp $

/includes/templates/ZC03C8447TM/common/tpl_main_page.php
Line #47 : <?php require(DIR_WS_LANGUAGES . $_SESSION['language'] . '/menu.php'); ?>

I am not sure what these mean. What should I do next?

13 Nov 2007, 2:06 PM
#11
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Subheader menu disappeared at checkout success page

I know that the text links for the subheader menu are found in /includes/templates/ZC03C8447TM/common/sub_header.php . When I search for sub_header.php in the Developers Tool Kit, I found this:

/includes/templates/ZC03C8447TM/common/tpl_main_page.php
Line #196 : if ( file_exists($template->get_template_dir('.',DIR_WS_TEMPLATE, $current_page_base,'common') . '/sub_header.php') ) {

Line #197 : require($template->get_template_dir('.',DIR_WS_TEMPLATE, $current_page_base,'common') . '/sub_header.php');

13 Nov 2007, 2:53 PM
#12
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Subheader menu disappeared at checkout success page

More information...

I just found out that my copyright and 'Home' link at the footer are repeated at the checkout success page. Perhaps this is related to the missing subheader menu? I recently installed Fast and Easy Checkout. I had to turn off Ultimate SEO URL to make it work properly. I am not sure if this module gives me this problem as I did a change in tpl_main_page.php.

<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?>>

was replaced with:

<body id="<?php echo $body_id . 'Body'; ?>"<?php if($zv_onload !='') echo ' onload="'.$zv_onload.'"'; ?><?php if(FEC_ONE_PAGE == 'true' && $_GET['main_page'] == 'checkout_confirmation') echo ' onLoad="document.checkout_confirmation.submit();"';?>>
15 Nov 2007, 2:02 AM
#13
dealbyethan_com avatar

dealbyethan_com

Totally Zenned

Join Date:
Dec 2005
Location:
Perth, Western Australia, Australia
Posts:
782
Plugin Contributions:
0

Re: Subheader menu disappeared at checkout success page

Problems solved. Thanks.