<select id="productCategoryParent" name="productCategoryParent" class="width-60per" onchange="checkExists();" tabindex="2" >
	<option value="0" {if $productCatParent.0|default:0 == $productParentCategoryId|default:''}selected="selected"{/if} >{$language.lblRootLevel}</option>
	{foreach from=$resListParentProductCategory item=productCatParent}
		{if $productCatParent.0|default:0>0}
			<option 
					value="{$productCatParent.0|default:0}" 
					{if $productCatParent.0|default:0 == $productParentCategoryId|default:''}
						selected="selected"
					{/if} 
					{if $productCatParent.2 == 'Inactive'}
						class="opt_inactive"
					{/if} 
					{if $productCategoryID>0 && in_array($productCategoryID, $productCatParent['parents'])}
						disabled="disabled" 
					{/if}
				>
				{$productCatParent.1}
			</option>
			
		{/if}
	{/foreach}
</select>