Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

cart in header empties when user logs in


Recommended Posts

I am using the Cart in Header contrib, but modified placement something fierce..


I have that contrib INSIDE the login box in header v5.4 contrib because I couldn't get the tables to line up any other way


but when I add something to my cart and then LOG IN I lose everything in my cart




log in using [email protected] and mongeau


my cart code is:


<!-- Header Cart //-->
<table align="left" class="headerCart_table" width="200" border="0" cellspacing="1" cellpadding="1">
	<tr align="center">
	<td class="headerCart_title"><img src="images/spacer.gif" height="35"></td>
<tr align="center">
	<td class="headerCart_contents" align="center"><?php echo 'You Have ' ?>			<?php if ($cart->count_contents() == '1') { echo $cart->count_contents() . ' Product'; } else { echo $cart->count_contents() . ' Products In Your Cart'; } ?>
<tr>	<td align="center"><a href="<?php echo tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL'); ?>" class="headerCart_checkout"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>  |  <a href="<?php echo tep_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"class="headerCart_checkout"><?php echo HEADER_TITLE_CHECKOUT; ?></a></td></tr>
<!-- Header Cart End //-->



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...