Zen Cart Logo
Forums / All Other Contributions/Addons / Shopping cart totals in header customization

Shopping cart totals in header customization

Locked

Views: 860

Results 1 to 5 of 5
This thread is locked. New replies are disabled.
8 Jun 2010, 5:19 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Shopping cart totals in header customization

If you have it installed, and can supply a link to the site, I'm sure we can figure it out. Probably just a matter of finding what id or class it uses and floating it right in the stylesheet.

8 Jun 2010, 5:29 PM
#3
rrzc avatar

rrzc

New Zenner

Join Date:
May 2010
Posts:
52
Plugin Contributions:
0

Re: Shopping cart totals in header customization

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

That is the code for the mod. I need it to float right instead of left.

8 Jun 2010, 5:36 PM
#4
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Shopping cart totals in header customization

Should be .cartCountTotal {float:right;} in the stylesheet.

8 Jun 2010, 6:29 PM
#5
rrzc avatar

rrzc

New Zenner

Join Date:
May 2010
Posts:
52
Plugin Contributions:
0

Re: Shopping cart totals in header customization

That did the job.
Thank you.