Ryan
Further to this issue, this is still working wierd for me.
If I am logged in, I can click the "Add to cart" button on a product node and it works fine.
For an anonymous user, when they click "Add to cart", they are redirected to a login page. Great. After logging in though, they are then taken to the View. Not great.
Also, I have a link on my node view page to "Add another". The code for this link is:
<?php
$node->content['add_another'] = array(
'#type' => 'markup',
'#value' => '<a href="node/add/tournament_registration&product_nid='. $nid .'&qty=1"><img src="sites/default/files/another.jpg" alt="Register another player"/></a><br/>',
'#weight' => -20,
);
?>
Clicking this link takes a user to the View... Not great.
You can see it working at http://203.118.157.191/chess4life
Thanks
Glenn
Comments
Comment #1
glennnz commentedRyan
Bump. Sorry for being pushy, this bug is causing enormous headaches for us. We need to get this resolved so the site we are working on can get out the door before the deadline.
Thanks heaps in advance.
Glenn
Comment #2
glennnz commentedBump
Comment #3
glennnz commentedBump
Thanks
Glenn
Comment #4
glennnz commentedS#$*!!!!!!
I'm a moron, my code was wrong.
I had
Needed to be
Works perfectly.
Sorry....
Glenn