View Single Post
  #5  
Old 02-06-2010, 08:14 AM
  Petepots's Avatar 
Petepots Petepots is offline
 

eXpert
  
Join Date: Aug 2007
Location: Surrey, UK
Posts: 275
 

Default Re: Product Option "default" in v4.3.1

Thank you Balinor I have placed the bolded text where you say in v4.3.1 and I get (pic1)

what I should get is (pic2). The "Please select" is my 1st option. If I manually select this options all works very well

could you tell me where I should put this code??


{else}
<select id="po{$v.classid}" name="{$poname}"{if $disable} disabled="disabled"{/if}{if $nojs ne 'Y'} onchange="javascript: check_options();"{/if}>
<option>Select {$v.classtext|default:$v.class}...</option>
{foreach from=$v.options item=o}
<option value="{$o.optionid}"{if $o.selected eq 'Y'} selected="selected"{/if}>
{strip}
{$o.option_name|escape}
{if $v.is_modifier eq 'Y' && $o.price_modifier ne 0}
&nbsp;(
{if $o.modifier_type ne '%'}
{include file="currency.tpl" value=$o.price_modifier display_sign=1 plain_text_message=1}
{else}
{$o.price_modifier}%
Attached Thumbnails
Click image for larger version

Name:	pic1.PNG
Views:	210
Size:	7.1 KB
ID:	1850  Click image for larger version

Name:	pic2.PNG
Views:	208
Size:	6.9 KB
ID:	1851  
__________________
Version 4.7.2
Reply With Quote