Hi
This is the variable you have access to:
$product->compset_status
It's value corresponds to:
= 2 -- master product
= 1 -- compset member
= 0 -- not a part of any compset
You can use it within a product loop ([product.each ... [product.end]) like this:
PHP Code:
<?php if ($product->compset_status == 1) { ?>
<a href="[product.link]" class="dfbutton dforange dfmedium">Compare Prices</a>
<?php } else { ?>
<a href="[product.link]" class="dfbutton dforange dfmedium">Details</a>
<?php } ?>
Eric