RE: Customer Login Routines

JulieCSM <[email protected]> 5 Sep 2003 15:43:46 -0000
Newsgroups gmane.comp.web.oscommerce.tips
Message-ID <1acb35d3e74bdfae1fd1689aa89fa2d2@osCommerce-Forums>
This message was sent from: Tips and Tricks
http://forums.oscommerce.com/viewtopic.php?p=224780#224780
----------------------------------------------------------------

OK - I think I worked it out - can someone who knows about this stuff check it for me before I put it in?

[code]if ($cart->count_contents() < 1) {
    tep_redirect(tep_href_link(FILENAME_CREATE_ACCOUNT_SUCCESS, '', 'SSL'));
  }
if ($cart->count_contents() => 1) {
    tep_redirect(tep_href_link(FILENAME_SHOPPING_CART, '', 'SSL'));
  }
[/code]