The Devel module is very helpful. With it enabled, you can use
<?php
dpm($product);
?>This is equivalent to
<?php
drupal_set_message('<pre>'. print_r($product, true) .'</pre>');
?>which will show you the entire structure of the $product variable.



Joined: 08/07/2007