cancel
Showing results for 
Search instead for 
Did you mean: 

Add current product name to email subject line in mailto link in static block

Add current product name to email subject line in mailto link in static block

I have a static block that's on each product page. What I'd like to do is have a product info request line that's a mailto link. Within that link, is there a way to grab the current product's name and add it to the subject line (ie. "Request info about Product Name Here")? 

 

My first guess would be using PHP to get the product name, but you can't use PHP in a static block. That lead me to calling a template in a static block with the intention of having the template use PHP. 

 

My knowledge of PHP isn't strong enought to figure this out, and I might not even be on the right track in the first place. Any help is appreciated!