Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Shopping Cart in Header

Shopping Cart in Header

Locked

Views: 1,343

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
25 Nov 2009, 2:19 PM
#1
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Shopping Cart in Header

Two things:

  1. Does anyone know how I could add the 'View Cart' and 'Checkout' buttons to this code:
<!-- bof shopping cart totals header-->
<li>My Cart: <span class="style1">
	<?php echo sizeof($_SESSION['cart']->get_products()); ?>  items  
 	<?php $header_cart = $currencies->format($_SESSION['cart']->show_total());  
	echo $header_cart;
	?>
</span>
<br class="clearBoth" />
</li>
<!-- eof shopping cart totals header-->
  1. 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.

25 Nov 2009, 4:15 PM
#2
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

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.

25 Nov 2009, 8:49 PM
#3
autoace avatar

autoace

Totally Zenned

Join Date:
Jun 2009
Posts:
618
Plugin Contributions:
0

Re: Shopping Cart in Header

gjh42:

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.

30 Nov 2009, 6:18 PM
#4
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: Shopping Cart in Header

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