Guest Posted September 25, 2006 Posted September 25, 2006 I have installed a contribution which replaces the BUT NOW button to a checkbox and I am looking for a contribution which will allow me to add a box that customers can enter an amount of items thay want before adding to cart. Can anyone point me to an easy solution? Thanks in advance!
pyramids Posted September 26, 2006 Posted September 26, 2006 Try: http://www.oscommerce.com/community/contri...dd+quantity+box here is the text from that solution: easy way add Qty box in your product_info.php 1. copy this code near your in_cart button in product_info.php, actually you can add this code anywhere. --------------------------------------------- <input type="text" name="quantity" value="1" maxlength="2" size="2"> -------------------------------------------- 2. search your application_top.php find this code: --------------------------------------------- $HTTP_POST_VARS['id']))+1 -------------------------------------------- replace with this one ------------------------------------------ $HTTP_POST_VARS['id']))+$quantity ------------------------------------------ done!!
Guest Posted September 26, 2006 Posted September 26, 2006 Try: http://www.oscommerce.com/community/contri...dd+quantity+box here is the text from that solution: easy way add Qty box in your product_info.php 1. copy this code near your in_cart button in product_info.php, actually you can add this code anywhere. --------------------------------------------- <input type="text" name="quantity" value="1" maxlength="2" size="2"> -------------------------------------------- 2. search your application_top.php find this code: --------------------------------------------- $HTTP_POST_VARS['id']))+1 -------------------------------------------- replace with this one ------------------------------------------ $HTTP_POST_VARS['id']))+$quantity ------------------------------------------ done!! Thanks for the help!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.