View Single Post
  #33  
Old 12-17-2008, 11:06 AM
 
OceanRiver OceanRiver is offline
 

Newbie
  
Join Date: Jul 2007
Posts: 6
 

Default Re: Product Options Dropdown "Select XXXX..."

Nope, it's exactly the same line. I've even tried cutting and pasting code directly out of some of the posts. Same result. Here is my code:
Code:
{* $Id: customer_options.tpl,v 1.24.2.2 2008/06/16 13:35:09 ferz Exp $ *} {if $product_options ne '' or $product_wholesale ne ''} {if $nojs ne 'Y'} <tr style="display: none;"><td> <script type="text/javascript" language="JavaScript 1.2"> <!-- var alert_msg = '{$alert_msg}'; --> </script> {include file="modules/Product_Options/check_options.tpl"} </td></tr> {/if} {foreach from=$product_options item=v} {if $v.options ne '' || $v.is_modifier eq 'T'} <tr> <td valign="middle" height="25">{if $usertype eq "A"}{$v.class}{else}{$v.classtext|default:$v.class}{/if}</td> <td valign="middle"> {if $cname ne ""} {assign var="poname" value="$cname[`$v.classid`]"} {else} {assign var="poname" value="product_options[`$v.classid`]"} {/if} {if $v.is_modifier eq 'T'} <input {if $nojs ne 'Y'}id="po{$v.classid}"{/if} type="text" name="{$poname}" value="{$v.default|escape}" /> {else} <select {if $nojs ne 'Y'}id="po{$v.classid}"{/if} name="{$poname}"{if $disable} disabled="disabled"{/if}{if $nojs ne 'Y'} onchange="javascript: check_options();"{/if}> {* BEGIN "PLEASE SELECT" MOD *} <option>Select Your {$v.classtext|default:$v.class}...{if $o.selected eq 'Y'} selected="selected"{/if}</option> {foreach from=$v.options item=o} <option value="{$o.optionid}">{$o.option_name}{if $v.is_modifier eq 'Y' && $o.price_modifier ne 0} ({if $o.modifier_type ne '%'}{include file="currency.tpl" value=$o.price_modifier display_sign=1 plain_text_message=1}{else}{$o.price_modifier}%{/if}){/if}</option> {/foreach} </select> {/if} </td> </tr> {/if} {/foreach} {/if} {if $product_options_ex ne ""} <tr> <td colspan="2"><font {if $nojs ne 'Y'}id="exception_msg"{/if} color="red"></font></td> </tr> {if $err ne ''} <tr> <td colspan="2"><font class="CustomerMessage">{$lng.txt_product_options_combinations_warn}:</font></td> </tr> {foreach from=$product_options_ex item=v} <tr> <td>{foreach from=$v item=o}{if $usertype eq "A"}{$o.class}{else}{$o.classtext}{/if}: {$o.option_name}<br />{/foreach}<br /></td> </tr> {/foreach} {/if} {/if}

This happens for any product with three or more options. I've attached a screenshot.

Thanks,
Graham
Attached Thumbnails
Click image for larger version

Name:	options error.jpg
Views:	244
Size:	61.6 KB
ID:	1284  
__________________
www.oceanriver.com
Version 4.1.11
Reply With Quote