Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Shopping Cart in Header

    Two things:

    1. Does anyone know how I could add the 'View Cart' and 'Checkout' buttons to this code:

    Code:
    <!-- bof shopping cart totals header-->
    <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>
    <!-- eof shopping cart totals header-->
    2. Give each piece of cart information its own line AND Style/structure the code to where the buttons appear on the right side of the cart information and make each line.

    Thanks in advance.
    Thank you,
    autoace

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Shopping Cart in Header

    I don't have time to go through everything now, but the Shoppingcart/Freeship in Header mod (submitted but not yet activated) has the info that could be adapted to your purposes.

    I'll attach it here until it is activated.
    Last edited by gjh42; 30 Nov 2009 at 07:07 PM.

  3. #3
    Join Date
    Jun 2009
    Posts
    617
    Plugin Contributions
    0

    Default Re: Shopping Cart in Header

    Quote Originally Posted by gjh42 View Post
    I don't have time to go through everything now, but the Shoppingcart/Freeship in Header mod (submitted but not yet activated) has the info that could be adapted to your purposes.

    I'll attach it here until it is activated.
    Thank you, Glenn. I'll take a look and give it a try.
    Thank you,
    autoace

  4. #4
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Shopping Cart in Header

    Still not activated, but I have moved the attachment to the support thread: Shoppingcart/Freeship in Header support

 

 

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. Shopping Cart and Items in Cart in the Header
    By sendmenews in forum General Questions
    Replies: 10
    Last Post: 25 Oct 2011, 02:09 AM
  3. Show number of products in cart by shopping cart in header
    By robertwhitis in forum Templates, Stylesheets, Page Layout
    Replies: 11
    Last Post: 27 Mar 2011, 07:15 PM
  4. Shopping Cart in header
    By Rebelwax in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 17 Nov 2006, 12:53 PM

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