Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to only have a quantity of 1 ?


Ramesh

Recommended Posts

Hi all,

 

quick question:

 

What code changes are required to only allow qty=1 ?

 

example, only products with a qty=1 allowed per shopping trip.

(differen products are allowed).

 

and trying to add a product which is already in cart results in message:

'That item is already in your cart !'

 

The qty section form the shopping_Cart will of course need to be removed.

users can set qty=0 using the remove action.

 

anyone ?

Special Effects / 3d + Flash

Link to comment
Share on other sites

Take out the qty box on the shopping cart.

 

Make buy now and in cart buttons always be like the add by testing is the product in the cart with the $cart->in_cart($what_products_id)

 

Make the add case add as 1 and not +1

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...