Help with Atributes and output.
Hello,
We made some custom attributes that house extra descriptions that we display on our product pages.
We are using jquery and .accordion :
Code:
<li>
<div class="handle">
<h3><?php echo $this->__('Measuring') ?></h3>
<span></span>
</div>
<div class="panel loading">
<?php echo $this->__($_product->getData('usak_measuring')); ?>
</div>
</li>
<li>
<div class="handle">
<h3><?php echo $this->__('Availability') ?></h3>
<span></span>
</div>
<div class="panel loading">
<?php echo $this->__($_product->getData('usak_avil')); ?>
</div>
</li>
What we would like to do is, if the the attribute "usak_avil" is not populate in for that product, it would not show <li> for that section. Example: For our kilts, we have measuring instructions, but for a kilt pin, we don't have measuring instructions, so we would like to have it hidden.