Guest Posted June 10, 2009 Share Posted June 10, 2009 Greetings everyone. This is a hard one for me, i was trying to implement the following: Add Quantity Box: This code can be added in the product_info.php page to add a quantity box for customers when ordering. Copy this code near the "in_cart" button in the product_info.php page. < input type="text" name="quantity" value="1" maxlength="2" size="2"> In application_top.php find this code: $HTTP_POST_VARS['id']))+1 Replace with this one $HTTP_POST_VARS['id']))+$quantity And end up working perfect in 1 of my websites but in the 2nd show the cart empty, i was checking everything and both sites are same oscommerce version 2.2 RC2a, same instalation file, same programing values inside admin, different color and font configuration only and when i check the apache version the one that is working is 5.2.5 and the one that is not working is 5.2.6, so i wonder maybe is because the apache version? I try copying both files (product_info and application_top)from the site that is working and still the same problem, I try everything and cannot understand why. Anyone who can help me figure this out please let me know and thanks for taking the time... :huh: Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.