Adding Your Own Messages

If you want to add a special message for your customers on this page, you can do this by editing the file shopthanksmerchant.asp. This routine has the ability to read anything in the order and to look at all products ordered.


For example, you could add your own HTML that writes out the customer’s name.

 

Sub ShopThanksMerchant (conn,OrderID)

 dim thanksrs

 set thanksrs = conn.execute("select ofirstname from orders where orderid = " & orderID)

     

 if not thanksrs.eof then

  response.write "<strong><em>"

response.write "Thank you for your order " & thanksrs("ofirstname") & "!"

  response.write "</em></strong><br /><br />"

 end if

     

 closerecordset thanksrs

end sub