morp Posted October 29, 2010 Share Posted October 29, 2010 Hi all,I need to create a module that identify when people are on products page. I think I have to use header hook, and then put in the page's code some javascript function (some google adword code).Is there any Class to detect if customers are viewing a specific product pagea of a specific category?many thanks Link to comment Share on other sites More sharing options...
razaro Posted October 31, 2010 Share Posted October 31, 2010 You can use this to get product id $id_product = intval(Tools::getValue('id_product')); 1 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