I am using a button on each product page to enable people to enquire further about an item. The code is as below and works OK. However, I want to be able to pre-populate the subject line with details about the product itself. I use a customvar caleld STOCKCODE which holds the product reference. What should I include in the code to do this?
Thanks
<script type=text/javascript>
var _u = "sales";
var _d = "actualartefacts.com";
var _l = _u + "@" + _d;
var _m = "<img src=enquire_about.gif border='0'>";
document.write("<a href='mailto:"+_l+"'' style='color:black' class='actxxsmall'>"+_m+"</a>");
</script>
Thanks
<script type=text/javascript>
var _u = "sales";
var _d = "actualartefacts.com";
var _l = _u + "@" + _d;
var _m = "<img src=enquire_about.gif border='0'>";
document.write("<a href='mailto:"+_l+"'' style='color:black' class='actxxsmall'>"+_m+"</a>");
</script>
Comment