I am tinkering around with the TNEW precart functionality just to see what it can be and I'm stuck on what is probably a 101. Using the sample code, I am using some test data to check it out.
What I am seeing is that the page loads like a dream come true, but when one of the following links is clicked from the new precart page, a new tab is opened. Does a new tab have to open or is there a way to keep everything in the same tab by building in target or location syntax in the urls or perhaps some other code I have not yet stumbled across?
Dot
+'<table><tr>'
set @PageText=
+'<CENTER><h2>If you are ordering season tickets, blah, blah, blah.... <BR>'
+'<td><a href="">test-na-atol.tn.services/.../contribute.aspx" target="_parent"><img src="'">actorstheatre.org/.../td>'
+'<td><a href="">test-na-atol.tn.services/.../Reserve.aspx src="'">actorstheatre.org/.../a>'
+'</td>'
+'<td><a href="">test-na-atol.tn.services/.../packageDetail.aspx src="'">actorstheatre.org/.../a>'
+'</tr></table>'
+'<br><br>'
+'<br><br>' +@checkout_btn
It looks like the syntax for the links is broken, unless I'm missing something.
Then I guess I don't understand how the precart page constructs links, because this:
<td><a href="">test-na-atol.tn.services/.../contribute.aspx" target="_parent"><img src="'">actorstheatre.org/.../td>
Is not valid html link syntax.
The only thing I can say is to look to the "target" attribute (again, I'm not sure what it's supposed to look like if these are valid links), but that is what governs whether or not new tabs are used, or in the case of "_parent", whether the master frame is reloaded.
www.w3schools.com/.../att_a_target.asp