Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2009
    Location
    Sask, Canada.
    Posts
    44
    Plugin Contributions
    0

    Default Shopping Cart Header Help

    Hello,

    I am wondering if it is possible to get the Cart Summary Sidebox addon found HERE to work in the header on version 1.38a of zen cart.

    To put it in the header they give you this piece of code:

    <div id="navMainCartSummary"><?php require(DIR_WS_MODULES . 'sideboxes/cart_summary.php'); ?></div>

    But when I put it in my header the site is a blank white page.

    Can someone please help me make the necessary changes to that piece of code so that it will work on v1.38a of zen cart?

    I would really appreciate your help, and I'm sure some others could use this addon also.

    Thanks,

    Jordin

  2. #2
    Join Date
    May 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Shopping Cart Header Help

    Hi,

    I've the exact same problem.. when I add this piece of code into the tpl_header.php file, my site loses half of its page...

    I tend to put the shopping cart status box in the header, similar to this website: http://falkoreclothing.com/

    Thank you very much for anyone willing to help :)

    -aidil
    p.s. first post here :)

  3. #3
    Join Date
    May 2009
    Posts
    2
    Plugin Contributions
    0

    Default Re: Shopping Cart Header Help

    aha! I've found it, now I've got to customise it:

    Code:
    <li>My Cart: <span class="style1">
    	<?php echo sizeof($_SESSION['cart']->get_products()); ?> &nbsp;items&nbsp;&nbsp;
     	<?php $header_cart = $currencies->format($_SESSION['cart']->show_total());  
    	echo $header_cart;
    	?>
    </span>
    <br class="clearBoth" />
    </li>
    thanks

  4. #4
    Join Date
    Aug 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Shopping Cart Header Help

    Cart Summary Sidebox didn´t work either. The solution posted by aidil worked.

    Jorge

 

 

Similar Threads

  1. v150 Add a View Cart link to my shopping cart header, in 12leaves template?
    By Serg in forum All Other Contributions/Addons
    Replies: 10
    Last Post: 22 Aug 2012, 02:49 AM
  2. Anyone help me take the shopping cart off the header ?
    By Dave D in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 11 Apr 2012, 03:54 PM
  3. Help finding this shopping cart for header
    By gowzel in forum All Other Contributions/Addons
    Replies: 7
    Last Post: 17 Jun 2011, 01:05 PM
  4. 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
  5. Help! replace Information/Shopping cart sidebox header with Images
    By missinglife in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 1 Oct 2009, 01:26 AM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR