{assign var="avilableOptions" value=$ProductProduct['options']}
{assign var="productCurrency" value=$ProductProduct.productDefaultCurrency}
{if $avilableOptions|count>1}
<div class="mb-3 variant-bdr">
<div class="bg-white">
	<h6>{$language.lblOptionsAvailable}</h6>
		<ul class="option-list list-unstyled clearfix">
			{foreach $avilableOptions as $option key="key"}
				{if $key ==0}
					<li class="clearfix productOptions dealOptions productOptionsChangeLink selectedOption p-2" id={$option.productOptionID} title="{$option.productOptionName}" rel="{$option.optBusinessID}">
                     <p>{$option.productOptionName}</p>
                        <div class="price-blk float-left">
						{if $option.offerPrice != $option.productOptionRegularPrice}
                        <del class="rgPrice">{$option.productOptionRegularPrice|price:'':$ProductProduct.productDefaultCurrency:$currentCurrencyID}</del>
						{/if}
                                                {if $option.isProductDeal eq "Yes" && $option.dealPrice>0}
                                                    <span class="ofrPrice text-primary h6 font-regular">{$option.dealPrice|price:'':$ProductProduct.productDefaultCurrency:$currentCurrencyID}</span>
                                                {else}
						<span class="ofrPrice text-primary h6 font-regular">{$option.offerPrice|price:'':$ProductProduct.productDefaultCurrency:$currentCurrencyID}</span>
                                                {/if}
                        </div>
                        <span class="btn btn-sm btn-secondary float-right ml-1">{$language.lblView|upper}</span>
					</li>
				{else}
					<li class="clearfix productOptions productOptionsChangeLink p-2" id={$option.productOptionID} title="{$option.productOptionName}"  rel="{$option.optBusinessID}">
                        <p>{$option.productOptionName}</p>
                        <div class="price-blk float-left">
						{if $option.offerPrice != $option.productOptionRegularPrice}
                        <del>{$option.productOptionRegularPrice|price:'':$ProductProduct.productDefaultCurrency:$currentCurrencyID} </del>
						{/if}
                                                {if $option.isProductDeal eq "Yes" && $option.dealPrice>0}
                                                    <span class="ofrPrice text-primary h6 font-regular">{$option.dealPrice|price:'':$ProductProduct.productDefaultCurrency:$currentCurrencyID}</span>
                                                {else}
						<span class="ofrPrice text-primary h6 font-regular">{$option.offerPrice|price:'':$ProductProduct.productDefaultCurrency:$currentCurrencyID}</span>
                                                {/if}
                                                    
                        </div>
                        <span class="btn btn-sm btn-secondary float-right ml-1">{$language.lblView|upper}</span>
					</li>
				{/if}
                                {form->hidden name="hiddenBusOptCount_{$option.productOptionID}" value="{$resultProductBusOptions[$option.productOptionID]['busOptions']|count|default:0}"}
			{/foreach}
		</ul>
        </div>
        </div>
{/if}
