Results 1 to 8 of 8
  1. #1
    Join Date
    Jun 2011
    Posts
    41
    Plugin Contributions
    0

    Default 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

  2. #2

    Default Re: Help finding this shopping cart for header

    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

  3. #3
    Join Date
    Jun 2011
    Posts
    41
    Plugin Contributions
    0

    Default 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 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.

  4. #4
    Join Date
    Jun 2011
    Posts
    41
    Plugin Contributions
    0

    Default 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

  5. #5
    Join Date
    Jun 2011
    Posts
    41
    Plugin Contributions
    0

    Default 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. 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-->

  6. #6

    Default Re: Help finding this shopping cart for header

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

  7. #7
    Join Date
    Jun 2011
    Posts
    41
    Plugin Contributions
    0

    Default 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;
    }

  8. #8
    Join Date
    Jun 2011
    Posts
    41
    Plugin Contributions
    0

    Default 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.

 

 

Similar Threads

  1. Need help finding a link - header -
    By JONJOCK in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Jun 2011, 07:10 PM
  2. Shopping Cart Header Help
    By Jordin in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 28 May 2011, 06:26 PM
  3. Need simple coding help for Shopping Cart in Header
    By georgiepants in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 14 Apr 2010, 03:25 AM
  4. Help, i need help finding this bit of code
    By dbj-media in forum Templates, Stylesheets, Page Layout
    Replies: 8
    Last Post: 9 Apr 2009, 01:33 AM
  5. Using Separate Image for Shopping Cart Header
    By Craig Robbo in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 5 Feb 2009, 11:06 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg