It would be super cool if you could pull tokens from the referenced product. Here is a patch for the basic uc_product tokens, and the title of the referenced product. I'd be happy to look at expanding this to additional node related tokens if you think it's appropriate.

Comments

mikejoconnor’s picture

StatusFileSize
new4.96 KB

So the ucnc_product_nid variable isn't always available, in particular it's not there when nodes are updates, therefor they loose any tokens. This patch adds some logic to lookup the product nid.

RonD’s picture

Mike, thanks for the patch. It's working great for our Webinar Registrations.

aidanlis’s picture

Status: Needs review » Fixed

Thanks, fixed in -dev.

Status: Fixed » Closed (fixed)

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