Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Hide Cart Contents


jgkiefer

Recommended Posts

In header.php I am using a code snippet to only display the cart contents is the user is logged in. This works very well. I overlooked the fact that items can be added to the cart without logging in. How would I set the code to if cart total =0 instead of if regestered?

 

<?php if (tep_session_is_registered('customer_id')) { ?>

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...