Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Price Calculation Equals Quantity amount in osCommerce


TheCasBass

Recommended Posts

Posted

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.

Archived

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

×
×
  • Create New...