Zen Cart Logo
Forums / All Other Contributions/Addons / Help finding this shopping cart for header

Help finding this shopping cart for header

Views: 1,242

Results 1 to 8 of 8
16 Jun 2011, 1:29 AM
#1
gowzel avatar

gowzel

New Zenner

Join Date:
Jun 2011
Posts:
41
Plugin Contributions:
0

Help finding this shopping cart for header

Hi does anyone know where I can find the shopping cart display in the header on this zen cart site:
http://www.paradeantiques.co.uk

Thanks,
John

16 Jun 2011, 1:02 PM
#3
gowzel avatar

gowzel

New Zenner

Join Date:
Jun 2011
Posts:
41
Plugin Contributions:
0

Re: Help finding this shopping cart for header

Yes great thats the one. I have spent a couple of hours trying to figure out how to include it on my site at https://www.lancsmarine.co.uk/shop next to the search box in the header, but, so far all attempts have failed.
I have put the tpl_shopping_cart_header.php into the includes/templates/mytemplate/templates folder and the cart empty and full images into the images folder but any alterations i have made to the header.php have failed. Anybody help me with what I should be changing and where please.

16 Jun 2011, 2:23 PM
#4
gowzel avatar

gowzel

New Zenner

Join Date:
Jun 2011
Posts:
41
Plugin Contributions:
0

Re: Help finding this shopping cart for header

Nearly there with it now, but cannot figure out the dropdown box where the cart image is

17 Jun 2011, 1:25 AM
#5
gowzel avatar

gowzel

New Zenner

Join Date:
Jun 2011
Posts:
41
Plugin Contributions:
0

Re: Help finding this shopping cart for header

ok it works as I would like, but it is not positioned correctly on the header, it is a little too low ie lower than the log in / register text and items is not in white text when something is added to the cart. Here is the code from my tpl_header.php how do I need to alter it to get it right. https://www.lancsmarime.co.uk

<!--bof-navigation display--> <div id="navMainWrapper"> <div id="navMain"> <ul class="back"> <li><?php echo '<a href="' . HTTP_SERVER . DIR_WS_CATALOG . '">'; ?><?php echo HEADER_TITLE_CATALOG; ?></a></li> <?php if ($_SESSION['customer_id']) { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></li> <li><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></li> <?php } else { if (STORE_STATUS == '0') { ?> <li><a href="<?php echo zen_href_link(FILENAME_LOGIN, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGIN; ?></a></li> <?php } } ?> <?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
<?php }?> </ul> </div> <div id="navMainSearch"> <?php require(DIR_WS_MODULES . 'sideboxes/search_header.php'); ?></div>
	<!-- header cart section -->
<table class="align-center cart-header"> <tr> <td> <?php require($template> get_template_dir('tpl_shopping_cart_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_shopping_cart_header.php'); echo $content; ?> </td> <?php if ($_SESSION['cart']->count_contents() != 0) { ?> </td> <?php }?> </tr> </table> <!-- /header cart section --> </div> <!--eof-navigation display-->
17 Jun 2011, 2:43 AM
#6
nsanford avatar

nsanford

New Zenner

Join Date:
Dec 2007
Posts:
69
Plugin Contributions:
1

Re: Help finding this shopping cart for header

have you added the cart-header css to your stylesheet?

17 Jun 2011, 10:25 AM
#7
gowzel avatar

gowzel

New Zenner

Join Date:
Jun 2011
Posts:
41
Plugin Contributions:
0

Re: Help finding this shopping cart for header

No I haven't. I have searched the syleshet and would have expected to put it somewhere there is reference to navmainwrapper or the search header, but am stuck as to where to put it.
I guess it need s something like below but where should I place it on my stylesheet?

.cart-header {
padding: 1px;
margin: 2px auto 3px auto !important;
background: #f7fcde;
}
.cart-header span {
font-weight: bold;
}
.cart-icon {
width: 16px;
height: 15px;
margin: 1px 6px 0 0;
}
.full {
background: url("../images/cart_full_icon.gif") no-repeat left top;
}
.empty {
background: url("../images/cart_empty_icon.gif") no-repeat left top;
}

17 Jun 2011, 12:05 PM
#8
gowzel avatar

gowzel

New Zenner

Join Date:
Jun 2011
Posts:
41
Plugin Contributions:
0

Re: Help finding this shopping cart for header

I have spent way too long on this now (8hrs).
I suspect that as in post 5 above the navcart header contents should be in between <li></li> and that there should be reference to the navcart header in the css similar or same as what I have posted above. But everything I have tried has failed.
Anybody help me please.