martynj1980 Posted March 25, 2012 Share Posted March 25, 2012 Hi I would like to add a link to the send to a friend form on the product-list.tpl for each product. I have created a hook and and can get it to display the link on each item but how can I pass the product id to the module? I'm not sure if this is even possible because as I can see from the code in product-list.tpl smarty deals with the loop for each product. Is it possible to pass the product id to the module or are any other options available to me? Thanks 1 Link to comment Share on other sites More sharing options...
Borax Posted May 19, 2014 Share Posted May 19, 2014 Did you find a solution? Link to comment Share on other sites More sharing options...
dalikovic Posted September 22, 2016 Share Posted September 22, 2016 No solution in 1.6 ? Link to comment Share on other sites More sharing options...
mister_j Posted September 22, 2016 Share Posted September 22, 2016 I think you can use javascript to get prouct id, and attach it to message. But first you have to declare it next to your button 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