-- HikaShop version -- : 2.4
-- Joomla version -- : 3.4.8
Hi,
on my product page I've create a specific field for category product and I have add the code on my show_file.php
<ul>
<li class="active"><a href="#" class=""><?php echo JText::_('TPL_ITEM_PRODUCT_DESCRIZIONE'); ?></a></li>
<li class=""><a href="#" class=""><?php echo JText::_('TPL_ITEM_PRODUCT_VENDITA'); ?></a></li>
<li class=""><a href="#" class=""><?php echo JText::_('TPL_ITEM_PRODUCT_SCHEDA'); ?></a></li>
<li class=""><a href="#" class=""><?php echo JText::_('TPL_ITEM_PRODUCT_INFORMAZIONI'); ?></a></li>
</ul>
<div class="tab-panel vendita">
<div id="hikashop_product_bottom_part" class="hikashop_product_bottom_part hikashop_product_description_main list-item last-list">
<?php echo $this->element->vendita ?>
</div>
</div>
<div class="tab-panel scheda">
<div id="hikashop_product_bottom_part" class="hikashop_product_bottom_part hikashop_product_description_main list-item last-list">
<?php echo $this->element->schedatecnica ?>
</div>
</div>
I'd like that the content on <li> tag are empty also the <li> doesn't see. example:
the second li isn't empty for the category one, so for the product of this category this tag is visible; but for category two this is empty so the content and the <li> tag are doing hidden.
How can I do this?
I hope that I explained me
Thanks
Matteo