I have added a text-field
attribute in product-collateral tab in details page with following code:
<?php $_helper = $this->helper('catalog/output'); ?>
<?php $_product = $this->getProduct(); ?>
<script type="text/javascript">
var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
</script>
<?php $Application = $_product->getApplication(); ?>
<?php if(count($Application, 'strlen') > 0): ?>
<div class="application">
<?php echo $_product->getApplication(); ?>
</div>
<?php endif; ?>
when I enter the value in the text field at backend it is perfectly getting displayed. But the error is that the tab is getting displayed even when I enter no value in that field.
Kindly help me to resolve this issue.