Hi,

Can with this module a attribute reference been made with a node reference?
If yes Can you may be supply the code to have the attribute color = black been selected using the node reference?

I have this for referring nodes to each other (in the php code):

if (is_numeric(arg(1))) {
  return array( 0 => array('nid' => arg(1)));
} else {
  return array( 0 => array('nid'));
}

How can I refer to attributes please, using tokens?

Thanks a lot in advance for thinking this through with me.
greetings,
Martijn

Comments

summit’s picture

I saw this code, may be handy to get to the attribute?
http://jamestombs.co.uk/2010-10-27/programmatically-create-ubercart-prod...

greetings, Martijn