Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jan 2012
    Thanked 0 Times in 0 Posts

    Question How pull data into variables of hyperlink in asp

    This question is about creating a hyperlink in an asp coded email template for an webstore that has two variables. The template pulls customer data into the email.

    Here is the email template:

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">body,table,td {font: 11px Verdana; color: #000000;}</style>
    <body text="#000000">
    <table width="650" border="1" cellspacing="0" cellpadding="20" bgcolor="#FFFFFF" bordercolor="#CCCCCC" align="center">
    <td><a href="../../Default.asp">$(CompanyLogo)</a><br>
    Hello $(FirstName),<br>
    Your order has shipped. (Order#: $(OrderNo) placed on $(OrderDate))<br>
    <table width="100%" border="0" cellspacing="1" cellpadding="5">
    <tr valign="top">
    <td colspan="2">

    <b>Thanks again for shopping at $(StoreName)!</b><br>
    Visit us anytime at <a href="$(HomeURL)">$(HomeURL)</a></td>

    I would like to add a hyperlink for the customer to get their product which has a file name combination of their customer number and order number. This is what I have so far and is not working:

    href="/v/vspfiles/photos/uploads/renderings/$(CustomerID)rendering$(OrderNo).pdf">CLICK HERE</a></td>

    The hyperlink is not populating variables. How can a hyperlink pull the data in this asp environment? All help or suggestions appreciated.

  2. #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,947 Times in 4,908 Posts
    The notation $(xxxx) is *NOT* anything standard in ASP.

    So the problem is *probably* that your ASP code is not recognizing one of the $(...) encodings.

    You will have to show the ASP code that processes the template.
    Be yourself. No one else is as qualified.


Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts