[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Plus Minus buttons
Hello all. I'm trying to add a plus and a minus button on the results page
next to the quantity text box. I need to do this because the products each
come in packs of more than one. Anyway, this is the closest I've been able
to come, but it just doesn't seem to work.
<td align="center"><input type=hidden name="mv_oi[item-increment]"
value=""><input type=text name=mv_order_quantity size=3 value="[item-data
products min_qty]"></td>
<td align="center"><INPUT TYPE="button" NAME="minus" VALUE=" - [item-data
products min_qty]" onClick="this.form.mv_order_quantity.value
='eval(this.form.mv_order_quantity.value) - [item-data products
min_qty]'"></td>
<td align="center"><INPUT TYPE="button" NAME="plus" VALUE=" + [item-data
products min_qty]" onClick="this.form.mv_order_quantity.value
='eval(this.form.mv_order_quantity.value) + [item-data products
min_qty]'"></td>
I'm using Interchange 4.8.3 on RH 7.1 and customizing the Foundation store.
Thanks kindly for any help!!!