Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

customer_id help!!!!!!


Recommended Posts

I am creating an module that I need to get the currently logged in users customer_id for. I cannot seem to figure this out at all. Can someone please tell me how to show it on a page using the php echo command so that I can see what's going on>


Any help would be greatly appreciated.

Link to comment
Share on other sites

if ( tep_session_is_registered('customer_id') ){
 echo 'Customer ID = ' . (int)$customer_id;



THank you so much. You have no idea how much that messed with my head trying to figure it out.

Link to comment
Share on other sites


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

  • Create New...