You could also have a seperate page inbetween which lists the goods the user ordered and does the math needed.
It kind of depends on how your order form is setup. If you have a list of products the customer can choose between, i would name them all the same name="products[]" value="price_in_numbers", to try and keep it easy.
Then on the next page you just use the function:
// Calculates the total sum of the values in the array (All the products the customer clicked)
$total_amount = array_sum($_POST['products']);
echo $total_amount;
Personally i would use an product ID in the checkboxes and retrieve the price info and product name from a database. But that would probably be to big of a mouthfull for you right now.