[ic] Restricting orders

Ed LaFrance edl@newmediaems.com
Fri, 09 Feb 2001 08:12:08 -0800

At 09:44 AM 02/09/2001 +0800, you wrote:
>How do I restrict a customer so that he/she can only order a maximum
>quantity of 1 for each item?

I don't think there is any way to do this other than editing the catalog pages:

1.  Simply use [order [item-code]]Order this item[/order] as your order 
link (it places 1 item in the cart by default), or use a hidden input:

<input type=hidden name=mv_order_quantity value=1>

...for form-based ordering.

2. Edit the basket and checkout pages to make the text input box for the 
item qty a hidden input (similar to above).  Place [item-quantity] by 
itself in the same <td> as the hidden input if you want to display the "1" 
in the qty column.

That should do it!

- Ed L.

New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          edl@newmediaems.com
Placerville, CA  95667         http://www.newmediaems.com
(530) 622-9421                 (530) 622-9426 Fax
(866) 519-4680 Toll-Free