Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Size change does not automatically recalculate price



******    message to minivend-users from Stanley Major <stanley@ciphersys.com>     ******

My basket.html page contains the following code:

[if items]
[then]
[item-list]
<TR __TABLEFG__>
        <TD __TABLEFG__ VALIGN=TOP align=center>
        [item-code]<FONT SIZE="-2"><BR><INPUT TYPE=checkbox
NAME="[quantity-name]"
                           onClick="this.form.action='[process-target]',
                                                this.form.submit()"
                           VALUE=0>remove</FONT></TD>
        <TH __TABLEBG__ WIDTH="2">&nbsp;</TH>
        <TD __TABLEFG__ VALIGN=TOP MARGINWIDTH=12 MARGINHEIGHT=12>
[item-description]<br>[item_accessories size][item_accessories color]
        [if-field weight]<BR>
            .
            .
            .
Size shows as a drop down list box. The problem is that recalculate has to
be clicked, to get the price.

I know that [item_accessories size] creates a <SELECT ...../SELECT> clause.
I tried manually coding the SELECT clause, so that
onChange="this.form.submit()" could be inserted, e.g.,
   <SELECT NAME="size0" onChange="this.form.submit()">
     [loop arg="[value size]"] <OPTION> [loop code] [/loop] 
   </SELECT>

However, the names which get assigned by item_accessories (size0, size1...)
are not automatically generated,
and sizes do not show in the drop down list.

Has anyone handled this situation? Thanks.



Stanley Major  <stanley@ciphersys.com>
Programmer		(403) 256-8877 Ext. 234
Cipher Systems Ltd.		(403) 256-8878		
Suite 200, 279 Midpark Way SE		
Calgary, Alberta, Canada  T2X 1M2	
http://www.ciphersys.com
	
Cipher Systems Ltd. - Providing quality software solutions and services
since 1978.
Recognized in 1999 by Deloitte & Touche as one of the 50 fastest growing
technology companies in Canada.
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: