MiniVend Akopia Services

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

Re: How to break up entry



Nick Pleis:

The simple demo has a good example of how to do this - it requires that the
size data be entered into the size field of each applicable record in the
products database, each value separated by commas:

30,31,32,33,34*,35,36
(* marks the default size)

then the size options can be read into a selection list as in this
flypage.html fragment:

<td>
[if-field size]
	    <FORM ACTION="[process-target]" METHOD=POST>
	      <TABLE BACKGROUND="__IMAGE_DIR__/__BGIMAGE__" width=100%>
		<TR>
		  <TD VALIGN=TOP>
		    <INPUT TYPE=SUBMIT VALUE="[L]Buy![/L]">
		    <INPUT TYPE=hidden NAME=mv_todo VALUE=refresh>
		    <INPUT TYPE=hidden NAME=mv_order_item VALUE="[item-code]">
		    <INPUT TYPE=hidden NAME=mv_separate_items VALUE="1"></TD>
		  <TD VALIGN="Middle">Qty:
		    <INPUT SIZE=3 NAME=mv_order_quantity VALUE="1"></TD>
		</TR>
		<TR>
		  <TD COLSPAN=2>Options: [item-accessories size]</TD>
		</TR>
		<TR>
		  <TD COLSPAN=2></TD>
		</TR>
	      </TABLE>
	    </FORM>
	 [/if-field]</TD>


- Ed L.

>
>    I have a bit of a problem. I really want to be able to specify sizes for
>my products in the form
>
>    "30-40"
>
>in the products database.Many of these products span large size ranges and
>it is much easier to go with this representation than putting in every size
>available. However, the problem is that I WOULD like to break the sizes into
>increments of 1 within a SELECT box (html box). (so I have a drop-down box
>with 30,31,32,33,34 etc.. as options).
>
>Is there a way to do this? Help is appreciated:)
>
>Nick
>
>-
>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


-
PRINTEX Marking Technologies
12113 Kirkham Rd.
Poway, CA  92064  U.S.A.
(858) 513-2418
(800) 982-1928
(858) 513-2419 fax
edlafrance@printexusa.com
http://www.printexusa.com




Search for: Match: Format: Sort by: