New Zenner
- Join Date:
- Jul 2009
- Posts:
- 5
- Plugin Contributions:
- 0
Inserting Customer ID into hyperlink as querystring in checkout_success
Hello,
I am using v1.5.1.
A few weeks ago I did read somewhere how to do this and I can't find it now. I spent the whole day looking so I apologize for asking again since I am sure this has been covered.
What I am trying to do is create a link on the checkout_success page using the define_checkout_success_page in the admin interface. I can successfully create the hyperlink but I can't get the value for $_SESSION['customer_id'] into my url as a variable to pass along to another page. This is what I have that is not working.
<a href="http://mydomain.com/Default.aspx/?ID=$_SESSION['customer_id']">Link text</a>
what you see is what I get. It successfully sends you to the new page but instead of ?ID=value it remains ?ID=$_SESSION['customer_id']
This is what shows in the address bar after following the link:
mydomain.com/Default.aspx/?ID=$_SESSION['customer_id']
Any and all help appreciated.
Good Night all,
Mark