Peter Jonsson
January 4, 2014, 01:12 PM
What code can i use to hide the seller tab on the mobile theme ?
<td class="divider"></td>
<td class="item" abbr="seller">
<table class="sTable">
<tr>
<td class="left"></td>
<td class="center" valign="top"><div>{$lang.seller_info}</div></td>
<td class="right"></td>
</tr>
</table>
</td>
I have tried things like
{if $listing_data_Account_type != dealer}
<td class="divider"></td>
<td class="item" abbr="seller">
<table class="sTable">
<tr>
<td class="left"></td>
<td class="center" valign="top"><div>{$lang.seller_info}</div></td>
<td class="right"></td>
</tr>
</table>
</td>
{/if}
But i cant get it to work.
<td class="divider"></td>
<td class="item" abbr="seller">
<table class="sTable">
<tr>
<td class="left"></td>
<td class="center" valign="top"><div>{$lang.seller_info}</div></td>
<td class="right"></td>
</tr>
</table>
</td>
I have tried things like
{if $listing_data_Account_type != dealer}
<td class="divider"></td>
<td class="item" abbr="seller">
<table class="sTable">
<tr>
<td class="left"></td>
<td class="center" valign="top"><div>{$lang.seller_info}</div></td>
<td class="right"></td>
</tr>
</table>
</td>
{/if}
But i cant get it to work.