First you have to modify popup_ask.php.
Add this line after line 125:
PHP Code:
$mail_smarty->assign('sku', $product['productcode']);
Add it right after the line that assigns the product variable to smarty.
Then you can use the new {$sku} variable in your template. If your site uses html email the correct template is /common_files/mail/html/ask_question.tpl.
I added this line right after line 7:
PHP Code:
<br /><b>{$lng.lbl_sku}:</b> {$sku}
You can of course put it wherever you want.
