MiniVend Akopia Services

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

loop and mv_order_quantity



Hi,

could someone please tell me what I did wrong ( see code snippet)
Ordering the looped item from the database works fine but unfortunately
I am unable to change the order quantity. I can select a quantity and
order the item but in the basket page it always is 1 no matter what I do.
I have tried everything (even read the manual :-) )

Thanks
Sascha 

-----snip---
 <table border="0">
             [loop search="se=Typ FG/sf=category/st=sql"]
                <tr>
                <td>[loop-field Prodname]
	</td>
	<td>[loop-field price]</td>
                   <td><FORM ACTION="[process-target]" METHOD=POST>
                    <INPUT TYPE=hidden NAME=mv_todo VALUE=refresh>
                    <INPUT TYPE=hidden NAME=mv_order_item VALUE="[loop-code]">
                        <select NAME=mv_order_quantity size=5>
                        [if-field bestellmenge]
                        [loop arg="[loop-field bestellmenge]"]
                        <option value="[loop-code]">[loop-code]
                        [/loop]
                        [else]
                        <option value="1" selected>1
                        <option value="2">2
                        <option value="5">5
                        <option value="10">10
                        <option value="50">50
                        <option value="100">100
                        <option value="500">500
                        <option value="1000">1000
                        <option value="5000">5000
                        <option value="10000">10000
                        [/else]
                        [/if-field]
                        </select>
                        </td>
                        <td><a href="[area order [loop-code]]" CLASS="buybtn"><img src="__IMAG
E_DIR__/korbtxt.gif" border="0"></td></form>
                        <td></td></tr>
                        [/loop]
                </table>
---snip---


Search for: Match: Format: Sort by: