Im trying to get a series of attributes to show if an attribute value is set to yes.
Here is my code but it is not working:
<?php if($_product->getAttributeText("vm_activate")== 1) ?>
<div class="product-sku"><span><?php echo $this->__('VMware SKU: ') ?></span><?php echo $_product->getVmwareSku() ?></div>
<div class="product-sku"><span><?php echo $this->__('VMware Type: ') ?></span><?php echo $_product->getVmware() ?></div>
<div class="product-sku"><span><?php echo $this->__('VMware Price: ') ?></span><?php echo $_product->getVmwarePrice() ?></div>
<?php endif; ?>