Active
Project:
Ubercart Attribute Tokens
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
16 Jan 2011 at 12:52 UTC
Updated:
16 Jan 2011 at 13:15 UTC
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
Comment #1
summit commentedI saw this code, may be handy to get to the attribute?
http://jamestombs.co.uk/2010-10-27/programmatically-create-ubercart-prod...
greetings, Martijn