Akopia Akopia Services

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

[mv] Order form setup



******    message to minivend-users from Marty Vance <mvance@lwm.com>     ******

I have a form which submits an order_group.  The master item in the
group is selected through catalog browsing, and the sub item is chosen
through javascript in the browser (amazingly, this is an art/frame
situation, as referenced in the docs).  My form starts out:

<form name="pricing" ACTION="[process-target]" METHOD=POST
onSubmit="setOrder();">
    <input type="hidden" name="mv_todo" value="default refresh">
    <INPUT TYPE=hidden NAME=mv_order_group VALUE="1">
    <INPUT TYPE=hidden NAME=mv_order_item VALUE="[scratch art]">
    <INPUT TYPE=hidden NAME=mv_order_item VALUE="">
    <input type="hidden" name="mv_orderpage" value="catalog">

Later in the form there is a field with the item code for the sub item
(the frame):

        <input type="text" name="frame_id" value="0000" size="3"
readonly>

"0000" is the default value of the field, and changes when the frame is
selected. The function setOrder() changes the value of the second
mv_order_item to the value of frame_id.  The form submits and takes me
back to the catalog page, but when I try to view the cart contents I
get:

Requested Product Unavailable

We are sorry, but the product (unspecified error) that you requested is
not now available. You can still browse our catalog, if
you wish.


Also, I'm pretty sure this will not set the price right, as the correct
price is determined by selecting a size in the form.

Any ideas out there?


Marty Vance
LiveWire
mvance@lwm.com
www.lwm.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


Search for: Match: Format: Sort by: