Is there a way to add an if condition to not show the inventory in a postbit if the poster doesn't have an inventory?
Code:
<!-- show inventory -->
<fieldset><legend><a href="ishop.php?do=ViewMember&id=$post[userid]" title="$post[username]'s Inventory">$post[username]'s Inventory</a></legend>
<div>
$post[invrow]
<br>
</div>
</fieldset>
<!-- /show inventory -->
I added the above code, but I would like to not show it if there isn't an inventory.
Edit: I guess I should add that I'm trying to get this done on a postbit legacy template and I am using 3.6.7, though I'm not too sure if it really matters.
I looked at YAAS product to see if I could figure out how to add their if condition in and got lost and didn't want to mess anything up.