
Originally Posted by
helpme
Ok, that worked, however as strange as this is it only stays that way if something isn't in the shopping cart.
I actually have another question not related but I am sure you will know what to do! My wordpress side box is missing the side frames. Where would this be?
Thanks your awesome.....
In includes/templates/YOUR_TEMPLATE/common/tpl_drop_menu.php, make sure the shopping cart section looks like this (see the class="noLine" in two places):
Code:
<?php if ($_SESSION['cart']->count_contents() != 0) { ?>
<li class="submenu"><a class="noLine" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a>
<ul class="level2">
<li><a href="<?php echo zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL'); ?>"><?php echo HEADER_TITLE_CHECKOUT; ?></a></li>
</ul>
</li>
<?php } else { ?>
<li><a class="noLine" href="<?php echo zen_href_link(FILENAME_SHOPPING_CART, '', 'NONSSL'); ?>"><?php echo HEADER_TITLE_CART_CONTENTS; ?></a></li>
<?php } ?>
I would contact the wordpress sidebox creator about that. IT looks like the wordpress sidebox is missing the usual zencart tag of :
class="sideBoxContent"
That is what controls the side frames in the template you are using.
Bookmarks