Default value as Ubercart attribute option
Posted by atomicbop on May 5, 2010 at 3:00am
I'm having a major problem with displaying Ubercart attributes. I need to get each attribute option's price to display in it's own cck field. I have tried using default value using the php input, and also using Computed Fields module. The values should display, but they are not.
This is the code for the value:
$node->attributes[1]->options[1]->price
If I print this in node.tpl.php, it shows. Why wouldn't it show in a cck field? I've also tried it in a view using the customfield module.
Read more