Download & Extend

Provide $nid of original product in node_checkout-created nodes

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

Assigned to:Anonymous» aidanlis

#3

Assigned to:aidanlis» Anonymous
Status:active» fixed

Fixed in git:84cb48d

#4

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.