[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
[mv] stacked mv_order_item and mv_order_quantity
****** message to minivend-users from cfm@maine.com ******
Re stacked mv_order_item and mv_order_quantity:
This little snippet works for us in 3.14 but fails
in mv4.03. It's very possible this is something
we have broken and not minivend. Does anyone have
anything like this working in mv4? It simply puts
all products on a page for ordering (code is much
simplified for purposes of this email).
cfm
<INPUT TYPE=SUBMIT VALUE=ORDER>
CV.250
<INPUT TYPE=HIDDEN NAME="mv_order_item" VALUE="CV.250">
<INPUT NAME="mv_order_quantity" TYPE=TEXT>
CLEAR GLOSS VARNISH, 250 ml $11.00<BR>
CV.500
<INPUT TYPE=HIDDEN NAME="mv_order_item" VALUE="CV.500">
<INPUT NAME="mv_order_quantity" TYPE=TEXT>
CLEAR GLOSS VARNISH, 500 ml $17.00<BR>
CV.1000
<INPUT TYPE=HIDDEN NAME="mv_order_item" VALUE="CV.1000">
<INPUT NAME="mv_order_quantity" TYPE=TEXT>
CLEAR GLOSS VARNISH, 1000 ml $31.50<BR>
CV.5000
<INPUT TYPE=HIDDEN NAME="mv_order_item" VALUE="CV.5000">
<INPUT NAME="mv_order_quantity" TYPE=TEXT>
CLEAR GLOSS VARNISH, 5000 ml $151.75<BR>
What it does now is this:
Vend::Session->{'carts'} - HASH(0x83de440)
Vend::Session->{'carts'}->{'main'} - ARRAY(0x8b43614)
Vend::Session->{'carts'}->{'main'}->[3] - HASH(0x83dd930)
Vend::Session->{'carts'}->{'main'}->[3]->{'quantity'} - 1
Vend::Session->{'carts'}->{'main'}->[3]->{'mv_ib'} - products
Vend::Session->{'carts'}->{'main'}->[3]->{'code'} - CV.250
Vend::Session->{'carts'}->{'main'}->[2] - HASH(0x83dd930)
Vend::Session->{'carts'}->{'main'}->[2]->{'quantity'} - 1
Vend::Session->{'carts'}->{'main'}->[2]->{'mv_ib'} - products
Vend::Session->{'carts'}->{'main'}->[2]->{'code'} - CV.250
Vend::Session->{'carts'}->{'main'}->[1] - HASH(0x83dd930)
Vend::Session->{'carts'}->{'main'}->[1]->{'quantity'} - 1
Vend::Session->{'carts'}->{'main'}->[1]->{'mv_ib'} - products
Vend::Session->{'carts'}->{'main'}->[1]->{'code'} - CV.250
Vend::Session->{'carts'}->{'main'}->[0] - HASH(0x83dd930)
Vend::Session->{'carts'}->{'main'}->[0]->{'quantity'} - 1
Vend::Session->{'carts'}->{'main'}->[0]->{'mv_ib'} - products
Vend::Session->{'carts'}->{'main'}->[0]->{'code'} - CV.250
When we order qty 1,2,3,4
--
Christopher F. Miller, Publisher cfm@maine.com
MaineStreet Communications, Inc 208 Portland Road, Gray, ME 04039
1.207.657.5078 http://www.maine.com/
Database publishing, e-commerce, office/internet integration, Debian linux.
-
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