How to access custom product fields from checkout order status?
Hello, I am trying to access from Rules the custom fields of my product at the stage of the checkout status of an order, but I am having a hard time doing so.
I have been able to access the custom product fields on the generic event of calculating the product price and using a Rule component, but in this case that approach does not seem to work because it looks like the checkout event is not providing the appropriate variables.
I am debugging the line items at this point from Rules and see that, among other things, the commerce_product element of the line item is "und".
Any help greatly appreciated, thanks.
Comments
Hi uweb - how were you eventually able to do this? I'm dealing with pretty much the same situation as you were, but after hours of trying to get it to work I haven't had any luck. I've tried using loops, but I must be using the wrong conditions. Any advice on how to structure the loop and conditions? Thanks!