Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / v151 - main menu disappears when item added to shopping cart.

v151 - main menu disappears when item added to shopping cart.

Started by hammurit on 13 May 2015, 8:49 AM · Views: 665

Results 1 to 4 of 4
13 May 2015, 8:49 AM
#1
hammurit avatar

hammurit

New Zenner

Join Date:
Mar 2015
Location:
Scotland
Posts:
24
Plugin Contributions:
0

Post #1 by hammurit

My main menu (the one with home, about us, contact us etc) disappears when an item is added to the shopping cart. The site is http://www.customtables4u.com

Does not matter if the user goes onto complete the checkout or if they go back to continue shopping. would be grateful for any help.

Regards

John Anderson
My Hosting Site

13 May 2015, 9:12 AM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #2 by mc12345678

Possibly check your logs directory for any myDEBUG log files, the most recent is likely to be the most explanatory. Otherwise it appears that there is some php before or a part of that menu bar that is in some way dependent on items in the cart... The only logical place appears to be in the tpl_header file where the shopping cart is presented. Something is different for the condition of having an item in the cart as compared to not and it is causing the loss of the menu bar.

That's my guess anyways. Oh yeah, the tpl_header is at: includes/templates/YOUR_TEMPLATE/common/tpl_header.php

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

13 May 2015, 10:25 AM
#3
hammurit avatar

hammurit

New Zenner

Join Date:
Mar 2015
Location:
Scotland
Posts:
24
Plugin Contributions:
0

Post #3 by hammurit

Thanks for that, nothing shows up in the log.

Funny enough, it works ok in Firefox but not in IE or Chrome.

John Anderson
My Hosting Site

13 May 2015, 10:38 AM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #4 by mc12345678

HammurIT:

Thanks for that, nothing shows up in the log.

Funny enough, it works ok in Firefox but not in IE or Chrome.

May have unbalanced html tags then. I was able to see the problem on blackberry browser. Firefox tends to be able to work through such issues better than the other two.

Could either try firebug for firefox or feed the page source to an html validator to identify the affected area.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...