knipper Posted June 16, 2005 Share Posted June 16, 2005 Hey folks... I'd like to add some text to my shopping cart page, that only shows when the visitor is not logged in. I was going to just add my text to the shopping_cart.php page, but then realized... I didn't want it to show for users who had already logged in. I searched the forums... but can not find an answer. Could someone lend a suggestion please! Thanks in advance! :D Steve K AKA - Knipper - Link to comment Share on other sites More sharing options...
kgt Posted June 16, 2005 Share Posted June 16, 2005 Try something like the following: shopping_cart.php if (!tep_session_is_registered('customer_id')) { echo "Hello guest"; } Contributions Discount Coupon Codes Donations Link to comment Share on other sites More sharing options...
knipper Posted June 16, 2005 Author Share Posted June 16, 2005 Thanks KGT, thats what I needed. Steve K AKA - Knipper - Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.