TheCasBass Posted March 16, 2006 Posted March 16, 2006 I sell laminate that is 20sq. ft. per box. I need to figure out how to do a basic calculation where the following occurs: Customer enters amount of square feet in 'Box A'. Customer then hits Calculate. The amount is rounded up to the next box quantity. The final box quantity appears in quantity box that was added in osCommerce. For example: Customer enters 33 in Box A. Hits Calculate. 2 appears in quantity box. (since 1 box is not enough & 2 boxes is) Then they add 2 boxes to cart. Any help or suggestions.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.