I need to hide the quantity label {$lng.lbl_quantity} in my product.tpl IF the product in question is in a specific category.
Default code in product.tpl is:
Code:
<tr>
<td height="25" width="30%">
{$lng.lbl_quantity}
{if $product.min_amount gt 1}<br />
<font class="ProductDetailsTitle">{$lng.txt_need_min_amount|substitute:"items":$product.min_amount}
</font>
{/if}
</td>
But i'm confused on x-cart syntax and how to make:
Code:
{if $product.categoryid eq '532'}
HIDE QUANTITY LABEL
{else}
DISPLAY QUANTITY LABEL AS USUAL
{/if}
Could someone help flesh out the necessary code? Thanks