Quantity always 1

Jrh

No avatar

2005-11-15 01:43

Hi,

How do I set "Quantity" always to be "1". I only have one of each item?

gillweb

No avatar

2005-11-15 18:54

you could edit the "basket_order.tpl" file and add the READONLY attribute to the INPUT box?

Line38:
<input type='text' name='aQuantity[]' value='$aBasket[iQuantity]' maxlength='3' size='2' style='text-align: right;' class='input' />

Replace with:
<input type='text' name='aQuantity[]' value='$aBasket[iQuantity]' maxlength='3' size='2' style='text-align: right;' class='input' readonly/>

gillweb@gmail.com

Jrh

No avatar

2005-11-15 21:52

Thanks!

laidoutlikethat

No avatar

2007-02-26 20:56

how would this work in v2.0 of the software? would the file now be "orders_basket.tpl"

Back to top
about us | contact