JustAnotherMe Posted October 27, 2010 Share Posted October 27, 2010 Hi..How do i get user specific information into a module like the actual cart or the user id. ( in joomla it would be $user->get('id') ) Link to comment Share on other sites More sharing options...
rocky Posted October 28, 2010 Share Posted October 28, 2010 Add the following to the top of your module's function: global $cart, $cookie; You can then use the $cart->id to get the cart ID and $cookie->id_customer to get the customer ID. 1 Link to comment Share on other sites More sharing options...
JustAnotherMe Posted October 28, 2010 Author Share Posted October 28, 2010 Ty for the fast help Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now