Re: Javascript Validation for Product Options
Carp,
My product.options.tpl looks like this. Is this the right code I need to replace (maybe just the first <td>?
{foreach from=$v.options item=o}
<tr>
<td>{if $o.avail ne 'Y'}<font color="red">{/if}{$o.option_name}{if $o.avail ne 'Y'}</font>{/if}</td>
{if $v.is_modifier eq 'Y' && $o.price_modifier ne 0}
<td>{$o.price_modifier|formatprice}</td>
<td>{if $o.modifier_type|default:"$" eq '$'}{$config.General.currency_symbol}{else}%{/if}</td>
{/if}
</tr>
{foreachelse}
<tr>
{if $geid ne ''}<td> </td>{/if}
<td colspan="{if $v.is_modifier eq 'Y'}3{else}1{/if}">{$lng.lbl_options_list_empty}</td>
</tr>
{/foreach}</table>
</td>
</tr>
{foreachelse}
<tr>
{if $geid ne ''}<td width="15" class="TableSubHead"> </td>{/if}
<td align="center" colspan="7">{$lng.lbl_product_options_list_empty}< /td>
</tr>
{/foreach}
__________________
X-CART 4.1.8 (Add-Ons: onSale, CDSEO, AOM, Thickbox)
PHP 4.4.4
SQL 4.1.21
Linux O/S
|