View Single Post
  #48  
Old 01-24-2014, 05:19 PM
 
aop aop is offline
 

Advanced Member
  
Join Date: Oct 2003
Location: los angeles
Posts: 96
 

Default Re: Add a pop-up information box to describe a product option

I'm trying to implement this very useful Mod in my 4.6; I'm not a PHP guy, so I found two problems so far:
1- The image ( question.gif ) shows on the next line, not next to the option I want to use ( should be minor thing but ..(CR). )
2- when I click the image ( question ) it gives me a 404 error
( page doesn't exist ), I checked name with the one I uploaded, many times, but it can't find it.

I copy part of the code on my customer_options.tpl, which is 3 rd party template.
Maybe someone know what I'm doing wrong, and point me right.
Thanks !
-------------------------------------------------------
" <select id="po{$v.classid}" name="{$poname}"{if $disable} disabled="disabled"{/if}{if $nojs ne 'Y'} onchange="javascript: check_options();"{/if} class="rounded-input">

{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' and $o.price_modifier ne 0}
&nbsp;(
{if $o.modifier_type ne '%'}
{currency value=$o.price_modifier display_sign=1 plain_text_message=1}
{else}
{$o.price_modifier}%
{/if}
)
{/if}
{/strip}
</option>

{/foreach}
</select> " -----------------------------------
__________________
www.furniturevision.com
Version 3.2.2 retired
Updated to 4.0.8 - retired
Updated to 4.1.9 - retired
Updated to 4.4
Reply With Quote