This is just a really simple patch that relates the uc_order_products table to the node table, obviously based on the product NID. I found this particularly useful when working with uc_node_checkout to create views that correlate ordered products with the nodes that were created when they were ordered. A patch that adds views to uc_node_checkout is at "http://drupal.org/node/497928".

CommentFileSizeAuthor
order_products__node__relationship.patch691 bytesintuited

Comments

madsph’s picture

Status: Needs review » Fixed

Thank you for the patch!

Sorry for being so long to apply it - I have been offline for three weeks - but am back now.

I will be checking out your patch for uc_node_checkout as well. I have some reconstruction going on though, to separate dependencies to other modules from the core uc_views module to allow for a more flexible use of the module. I think this will fall under that category so I will have to postpone that for a short while still.

socialnicheguru’s picture

I will also help test this

Status: Fixed » Closed (fixed)
Issue tags: -views, -relationship, -order products

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