Print out a Drupal Commerce field only if it has a value
In Drupal Commerce, you can use the following to print out a field in your node.tpl.php file:
But how do you print a field only if it has content?
For a normal Drupal field you would use the following:
if (isset ($node->field_NAME)):
But that doesn't work with a Drupal commerce field. I would appreciate if someone could offer any pointers!