Tags/topics: 
3
Answers
Vote up!
0
Vote down!

uneditable quantity

Hi

I need to lock(uneditable) quantity field in order and just have one quantity per product.

How can I do that?

tnx

Asked by: fathollahi.mehdi
on December 5, 2012

3 Answers

Vote up!
1
Vote down!

have not tried it, but what about removing the quantity field?

Answer by: Sem
Posted: Dec 11, 2012
Vote up!
0
Vote down!

A possibility is to install Commerce Stock module.

If there is only one product in stock you can't order more than one.
The quantity field isn't locked but you can't proceed the order with more than one pcs.

Answer by: Jörg
Posted: Dec 5, 2012
Vote up!
0
Vote down!

How about rules?

Rules ist made for this.

You need a rule, fired, when one adds somthing to the cart.
In that rule, you chekch for that certain product and its quantity.
If customer tries to add the product with more than one piece, you give him a message, and reduce the amount to 1.

Answer by: ronald
Posted: Dec 5, 2012

Comments