Juanu Posted June 3, 2013 Share Posted June 3, 2013 Hi! I´m currently developing a module for the products page. I need to get the current page's product URL, but I need to get the same whether it's using friendly URLs or not. (Eg: http://www.harkdev.c...troller=product) I need to do this from PHP, not smarty. The thing is, I don´t know which public method or variable or tool exists, inside of Module to get the current page's product ID. I Appreciate your help! Cheers! Juan Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2013 Share Posted June 3, 2013 Tools::getvalue('id_product') 3 Link to comment Share on other sites More sharing options...
Juanu Posted June 3, 2013 Author Share Posted June 3, 2013 Thanks!! Link to comment Share on other sites More sharing options...
vekia Posted June 3, 2013 Share Posted June 3, 2013 you're welcome so now i can go ahead and mark this thread as [solved] regards! Link to comment Share on other sites More sharing options...
Jaap Goorhuis Posted December 7, 2015 Share Posted December 7, 2015 Thanks i needed this to 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