[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
RE: [mv] Setting multiple attributes
I've found a workaround to the solution by using perl to pull the stuff out
of the cart.
It's too bad, though, that minivend's attributes want to only be select
boxes. I haven't really seen anything concrete in the archives or docs that
support modifiers that allow someone to use text input boxes instead of
select boxes, checkboxes, or radio buttons.
--Bill
-----Original Message-----
From: owner-minivend-users@minivend.com
[mailto:owner-minivend-users@minivend.com]On Behalf Of Ryan Hertz
Sent: Thursday, October 07, 1999 9:39 PM
To: minivend-users@minivend.com
Subject: Re: [mv] Setting multiple attributes
****** message to minivend-users from Ryan Hertz <rhertz@gyb.baits.com>
******
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
-
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