I was able to accomplish this using the following code (in abbreviated form):
<?php $user = JFactory::getUser(); ?>
<?php if(!$user->guest): ?>
<!-- Prices -->
<div class="moduletable">
<h3 class="specs">Pricing</h3>
<?php
$none = true;
foreach ($this->item->extra_fields as $key=>$extraField) {
if($extraField->value && $extraField->name=='Price A' && in_array(25,$user->groups)) {
echo $extraField->value;
$none = false;
break;
}
elseif($extraField->value && $extraField->name=='Price B' && in_array(26,$user->groups)) {
echo $extraField->value;
$none = false;
break;
}
}
if ($none) echo '<br/><p>Coming Soon!</p>';
?>
</div>
<?php endif; ?>
Basically, I check to see if the user is logged in, then run through the extra fields to see if the field name is "Price A" and the user is in the user group "Price A" (ID=25). If it matches, I output the price and move on. If not, it does the same check for "Price B." If an extra field for price isn't assigned or the user doesn't have a price level, I give a encouraging message! ;)