MiniVend Akopia Services

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

Re: [mv] Setting multiple attributes



At 09:20 PM 10/5/1999 , you wrote:
>******    message to minivend-users from "Bill Thornton"
<bill@radiantideas.com>     ******
>
>I am working on a minivend site for a client where the customer needs to be
>able to enter in dimensions for products they're trying to order.  Depending
>upon the shape of the object, there can be as few as 1 and as many as 6
>dimensions that must be filled in.
>
>I have written the perl that generates an appropriate number of text input
>boxes, but now feel like I might have pulled my socks on over my boots
>because I can't seem to pass that information on to the Checkout/Receipt
>pages.

	Your code looks good.  I'm not too certain about how to use modifiers with
the products, but you might want to consider placing the dimensions into 1
field and seperating them by commas.  Minivend is pretty slick with
exploding comma seperated lists.

>
>Here's my code for generating the text input boxes:
>
>[perl]
>@dim_names = ("A","B","C","D","E","F","G","H");
>$dims = [item-field dims_needed];
>$name = 0;
>while ($name < $dims) {
>        $var .= "Dimension $dim_names[$name]:<input type=text
>name=[modifier-name dim$dim_names[$name]><br>";
>        ++$name;
>}
>return $var;
>[/perl]
>
>Am I attempting the impossible, or do I just need stronger coffee?
>
>--Bill
>
>-
>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
> 

Ryan Hertz                                              tel  800-645-BAIT
Webmaster                                               fax  520-645-2588
Advertising Director                            http://www.insideline.net
Gary Yamamoto Custom Baits, Inc.            http://www.yamamoto.baits.com


Search for: Match: Format: Sort by: