<div class="grid_table01" ><table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <thead>
                          <tr>
                            <th align="left" valign="middle" width="30%">{$language.lblProductTitle} </th>
                            <th align="left" valign="middle" width="70%">{$language.lblOptions} </th>
                          </tr>
                        </thead>
                        <tbody>
{if $count >0}
{if ($prv >=0 || $count >10)}
	<tr>
        <td align="right" valign="middle"  width="100%" colspan="2">
			{if $prv >=0}
				<a href="Javascript:void(0);" class="paginate_click prev" id="{$prv}_pre" rel='{$count|default:''}'>{$language.lblPrev}&laquo;</a>&nbsp;
			{/if}		
            {if $count >10}
                <a href="Javascript:void(0);" class="paginate_click nxt" id="{$next}_next" rel='{$count|default:''}'>{$language.lblNext}&raquo;</a>
            {/if}
		</td>
	</tr>
{/if}
	{foreach from=$resultArray item="products"}
		<tr>
			<td align="left"  width="30%"  valign="top">{$products[0]['productTitle']}</td>
			<td align="left" valign="top" width="70%" class="option-table">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
			{foreach from=$products item="options"}		
					
				<tr style="border-bottom:1px solid #d3d4d8;"><td class="left" >{$options['productOptionName']}</td>
				<td align="left" width="400" valign="top" style="padding:0;">
                               {foreach from=$options.businessOptionValues item="busOptValues"}	 
                                {if ($busOptValues.businessCombDiff eq "I" || $busOptValues.businessCombDiff eq "D") && $combinationHash|default:'' neq ""}
                                    {if $busOptValues.businessCombDiff eq "I"}
                                        {assign var="businessProdPrice" value=$busOptValues.productOptionProductPrice+$busOptValues.businessCombPrice}
                                    {else if $busOptValues.businessCombDiff eq "D"}
                                        {assign var="businessProdPrice" value=$busOptValues.productOptionProductPrice-$busOptValues.businessCombPrice}
                                        {if $businessProdPrice<0}
                                            {assign var="businessProdPrice" value=$busOptValues.productOptionProductPrice}
                                         {/if}
                                    {else}
                                        {assign var="businessProdPrice" value=$busOptValues.productOptionProductPrice}
                                    {/if}
                                {else}
                                    {assign var="businessProdPrice" value=$busOptValues.productOptionProductPrice}
                                {/if}
                                <table>
                                    <tr>
                                        <td>{$busOptValues['businessName']}</td>
                                        <td width="5%">{$busOptValues['productOptionProductPrice']|price:'':$options['productDefaultCurrency']:$options['productDefaultCurrency']}</td>
                                        {form->hidden name="busOptProdPrice_{$options['productOptionID']}_{$busOptValues.businessID}" class="hiddenBusOptProdPrice" value="{$businessProdPrice|price_no_symbol}"}
                                        <td align="center" width="20" valign="top" > X </td>
                                        <td align="left" width="50"  valign="top"><input type="text" class="textbox quantity" id="quantity_{$options['productOptionID']}_{$busOptValues.businessID}" name="quantity_{$options['productOptionID']}_{$busOptValues.businessID}" value="0"/></td>
                                        <td align="left" width="73"  valign="top">
                                            {if $options['optionAvilable']>0}
                                                    <input type="button" rel="{$options['productOptionID']}_{$options['productID']}" id="view_options_{$options['productOptionID']}" name="view_options" value="Options" class="button04 view_options" busid={$busOptValues.businessID} />
                                            {else}
                                                    <input type="button" rel="{$options['productOptionID']}" busid={$busOptValues.businessID} id="add_to_cart_{$options['productOptionID']}" name="add_to_cart" value="Add" class="button04 add_to_cart" />
                                            {/if}
                                       </td>
                                    </tr>
                                </table>
                               {/foreach}                               
				</td></tr>
                   <tr><td colspan="5" class="rmv-spc p-0"><div class="option_details_{$options['productOptionID']}"></div></td></tr>
					
			{/foreach}
			</table>
			</td>
			</tr>
	 {/foreach}
{else}
	 <tr>
		<td class="center" colspan="2"><div class="message_info">{$language.lblNoResults}</div></td>
	  </tr>	
{/if}

</tbody>
	</table>
     </div>