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
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
I think that's part of the A Black Pure Template in the free downloads
http://www.zen-cart.com/index.php?ma...oducts_id=1740
Yes great thats the one. I have spent a couple of hours trying to figure out how to include it on my site at 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.
Nearly there with it now, but cannot figure out the dropdown box where the cart image is
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. 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-->
have you added the cart-header css to your stylesheet?
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;
}
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.