Posted by leenwebb on April 27, 2011 at 4:34pm
3 followers
Jump to:
| Project: | UC Node Checkout |
| Version: | 6.x-2.0-beta6 |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I'd like to have the $nid of the original product in any nodes created with node_checkout. I have a few different products all connected to the same content_type, and when I (or the buyer) goes back to edit the created nodes I'd like to have access to the 'parent' product nid so that I can pull in the title, make a link back to that product, etc.
Thanks!
Comments
#1
For any checked nodes, it's available in $node->uc_order_product_id
I'll add an option to save the product_id as a CCK field during add-to-cart in the same way that the order status and order id are saved.
#2
#3
Fixed in git:84cb48d
#4
Automatically closed -- issue fixed for 2 weeks with no activity.