BV Commerce Forum
»
BV Commerce Support
»
General Support
»
create link in confirmation email to go directly to order
Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
How would I go about inserting a link in the customers confirmation email that takes them directly to that order in their myaccount--->orders section? I have tried what I 5thought were the obvious methods but they don't seem to work.
Thanks,
Derek |
|
|
|
|
Rank: Member
Joined: 8/17/2006(UTC) Posts: 681
|
I think this should do it <a href="[[Site.StandardUrl]]/MyAccount_Orders_Details.aspx?id=[[Order.Bvin]]">See the details of this order</a> If it does not work let me know. Regards, Corneliu |
|
|
|
|
Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
Excellent! Thanks Corneliu...that did the trick!! |
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
How does this get through the user name/password procedure?
Just the Bvin is needed?
If they didn't create an account..... can they still see it? |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
Hi Corneliu (and Mitch),
I just noticed that this actually didn't work. The link appears in the email fine and when you hover over it the URL with the order id appears as you would expect. When you click the link you are taken to the login screen and upon successful login creds are presented at what would appear to be the order, but it is order# 0000000 and contains no products....that is if you ARE NOT logged in already. If you are logged in already, it takes you to the order perfectly.
I know that the my account section goes into the secure SSL so I also tried [[Site.SecureUrl]] but got the same thing.
Thanks,
Derek |
|
|
|
|
Rank: Member
Joined: 11/5/2003(UTC) Posts: 2,136
Was thanked: 1 time(s) in 1 post(s)
|
On or about 33 in MyAccount_Orders_Details.aspx.vb you will find this line of code: Code: Response.Redirect("login.aspx?ReturnURL=" & Server.UrlEncode("MyAccount_Orders_Details.aspx))
Change it to this: Code: Response.Redirect("login.aspx?ReturnURL=" & Server.UrlEncode("MyAccount_Orders_Details.aspx?id=" & Request.Params("id")))
Note that the forum software may wrap the code onto 2 lines...it is really only 1 line. |
|
|
|
|
Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
|
|
|
|
|
Rank: Member
Joined: 3/3/2006(UTC) Posts: 1,737
|
Will this work if the shopper didn't create an account? |
Optimists invent airplanes, Pessimists buy parachutes. |
|
|
|
Rank: Member
Joined: 6/1/2004(UTC) Posts: 720
|
Yep, that did the trick! Thanks again Andy.... |
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.