Closed (outdated)
Project:
UC Node Checkout
Version:
6.x-2.0-beta4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Mar 2009 at 13:58 UTC
Updated:
17 Sep 2025 at 21:26 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
smokrisfixed link on uc_node_checkout nodes to only appear on uc_node_checkout nodes (oops).
Comment #2
gregglesThis is a great addition. I cleaned up the code a little bit and have attached it to this node.
Also attached is a screenshot of the order screen to demonstrate the value.
Comment #3
gregglesI was patching against the wrong branch. Let's try again...
Comment #4
nicoloconte commentedGood woork greggles ;)
Comment #5
karens commentedGreat idea, I also notice that the order id is totally buried and inaccessible. I'm wondering how this might relate to #430016: UC Node Checkout should provide a view to query against the related checkout node, I'm thinking that would still be useful as a way to bring order information and registration information together in one view.
Planning to try this out later today.
Comment #6
nicoloconte commentedI've a problem: I can see the link "order" in all pages of my site.
Can I remove it? Is it possible?
Thanks
Nicolo'
Comment #7
benstallings commentedThank you, Greggles! One change I would make:
to
That way the order link is only shown to users who are authorized to see the order.
Comment #8
jumpfightgo commentedHere's a new patch that works with beta4.
I included the permissions check from BenStallings in comment #7, and also wrapped the link with a span with class "uc-node-checkout-order-link" so themers can style the link as needed.
Let's get this patch applied to the next release!
Comment #9
Eric Link commentedThanks, just applied this patch and it works great! BTW any reason it isn't in the node checkout module yet, seems like a must have, +1 from me for it. - Eric
Comment #10
bisonbleu commentedGreat patch. Just what I was looking for!
One tiny glitch for me, it reintroduces the following error message:
preg_match() expects parameter 2 to be string, array given in /home/myname/public_html/mydrupalinstall/includes/bootstrap.inc on line 777.
for which there is a uc_node_checkout patch here : http://drupal.org/node/548848#comment-2692466. Should they be combined?
Comment #11
Norm Kosty commentedThanks for the patch.
When I click thru, it takes me through as a user view into order. If there is admin status on the active user, is it possible to have an admin store order view instead? or perhaps an edit link?
:O)
Comment #13
ezra-g commentedI marked #666016: View UC Order from the Node that was Ordered as a duplicate.
Comment #14
geerlingguy commentedNice - subscribe.
Comment #15
tchurch commentedsubscribing
Comment #16
christiaan_ commentedThank you very much. The patch works for me !
Comment #17
ezra-g commentedLooks good and works well in my testing.
This is committed - Thanks! http://drupal.org/cvs?commit=441916
Comment #21
griz commentedUnfortunately the "Order" link shows up in RSS displays created by Views. I actually had no idea there was meant to be a link on the page anyway, having got around that problem with node.tpl.php.
I've commented lines 772 to 779, but is there any way I can do this without having to 'hack'? Such as overriding the function from a module of my own? I've done hook_form_alter and some other dabbling, but not sure how to do this properly.
Also, might I suggest that since it outputs HTML this last part (line 781 - "Link node to the corresponding order") be separated out into a themeable function?
Comment #22
benstallings commented